Commit Graph

383 Commits

Author SHA1 Message Date
Edison Su ea46ee135e refactor security group in advanced network mode: use direct tagged network instead of public network 2011-02-25 16:05:50 -05:00
abhishek 1a8798242b bug 8216: merging the master fix into 2.2.2 2011-02-25 12:01:18 -08:00
abhishek 11a74658a0 bug 8742,8216: reverting to use org vol's disk off id whilst creating vol from snapshot. Also changing event generation so that an event is generated @ data vol creation (as opposed to attaching to vm). we will correspondingly generate an event at data vol's deletion 2011-02-25 11:33:58 -08:00
Alex Huang c22b37e402 latest work on db migration 2011-02-22 18:23:05 -08:00
anthony 94a9c86f46 try to send create command to the host where cpu&memory is allocated first 2011-02-22 16:44:58 -08:00
Kelven Yang 2f3a1ccd60 When secondary storage is not running inside SSVM, let FOSS SecondaryStorageDiscoverer be able to dynamically load premium version of the secondary storage resource 2011-02-22 15:39:22 -08:00
abhishek 1afc62e98f bug 8216: creating a vol from a snapshot will take in a priv disk offering id, which is used only for the tags; size is still taken from the original vol which the snapshot is based off of 2011-02-22 12:06:00 -08:00
nit 2efdc9d62b bug 8471: Check whether secondary storage URL is null when copying volumes across storage pools. 2011-02-22 17:49:56 +05:30
Kelven Yang fa96deec28 Make secondary storage VM support premium version and opensource version 2011-02-18 17:10:20 -08:00
anthony 33b763d703 bug 8582: allow create snapshot policy with unattached volume
status 8582: resolved fixed
2011-02-18 14:52:15 -08:00
alena 15f59e6f58 bug 8637: throw ResourceAllocationException when resource limit is exceeded.
status 8637: resolved fixed
2011-02-18 12:26:58 -08:00
Kelven Yang 8695e7250c Update template and storage manager to allow hypervisor based command delegation 2011-02-18 11:37:50 -08:00
anthony 21303ea1aa bug 8567: use current time to schedule snapshot
status 8567: resolved fixed
2011-02-16 16:03:09 -08:00
anthony 569bbfe585 bug 8513: creating volume from snapshot depends on the original volume
status 8513: resolved fixed
2011-02-16 15:47:05 -08:00
Alex Huang 7dd54f079b started vms with these latest 2011-02-11 17:03:04 -08:00
anthony 0db879d053 reduce lock granularity 2011-02-10 20:11:45 -08:00
alena 7e6570570d bug 8515: Allow only positive non zero numbers for "max" parameter in createSnapshotPolicy
status 8515: resolved fixed
2011-02-09 19:35:03 -08:00
alena 7b13c89956 bug 8493: Don't allow to create a snapshot policy with max value exceeding domain/account snapshot limit
status 8493: resolved fixed

Also increase/reduce resource count when recurring snapshot is taken/removed
2011-02-09 19:35:03 -08:00
Kelven Yang 091b5850b3 Explicitly specify CPU speed for all system VMs, speed of 0 no longer works for VMware 2011-02-09 15:08:06 -08:00
anthony b3256c6971 if it is empty snapshot, set setBackupSnapshotId to null, before remove it 2011-02-09 14:23:46 -08:00
anthony b7b0501150 list recurring snapshot if volumeId and interval are specified 2011-02-09 13:57:46 -08:00
anthony 4fb3beed76 return more meaningful error message for create snapshot/snapshot policy for volume which is not attached to a VM 2011-02-09 11:48:16 -08:00
nit 82506ff8d0 bug 8493: Check for resource limit for manual snapshots. 2011-02-09 19:01:39 +05:30
anthony 16366fb4e0 bug 8481: root cause is the old way to get vdi parent sometime doesn't work
status 8481: resolved fixed
2011-02-08 21:10:52 -08:00
kishan 75e596bb80 bug 7952, 8363: Fixed usage events for Vm destroy and recover
status 7952, 8363: resolved fixed
2011-02-08 16:57:46 +05:30
alena a502b497f2 bug 8446: fixed creating volume from diskOffering with custom size
status 8446: resolved fixed
2011-02-07 12:42:46 -08:00
nit 0f12529353 bug 8088: Making template sync more robust. If the url is null we cant initiate a download and so mark it as a download error instead.
status 8088: resolved fixed
2011-02-07 14:20:28 +05:30
nit df9003b0b6 bug 8088: Making template sync more robust. If the url is null we cant initiate a download and so mark it as a download error instead.
status 8088: resolved fixed
2011-02-07 14:20:28 +05:30
kishan 4eebc1c434 bug 8415: Added scheduled event for recurring snapshots
status 8415: resolved fixed
2011-02-05 14:40:26 +05:30
anthony e14b8311cc bug 7563: create snapshot in async create method
status 7563: resolved fixed
2011-02-04 19:20:47 -08:00
alena e9dd1ee822 bug 8383: HA: perform ssh check before marking system vms as running. For domR, also reapply all ips/PF/LB/VPN/Dhcp/Userdata.
status 8383: resolved fixed
2011-02-04 14:33:14 -08:00
Alex Huang e153ab461c removed unused method 2011-02-04 11:56:21 -08:00
Alex Huang 0105c03a27 initial HA work 2011-02-04 11:51:14 -08:00
kishan 56f3343911 Added action events for VM, volume, Ip and snapshot actions 2011-02-04 19:59:41 +05:30
Edison Su 3cc5ce8642 add new configuration parameter: cmd.wait, for heavy timing-consuming commands, such as backupsnapshotcommand 2011-02-03 18:57:38 -05:00
anthony 4227d1525b bug 8219: better error message
status 8219: resolved fixed
2011-02-03 15:57:36 -08:00
kishan fcfd4e9e33 bug 8192: use volume size in bytes for usage
status 8192: resolved fixed
2011-02-03 16:38:48 +05:30
anthony b226861783 bug 8194: add new storage pool type PreSetup,
1. user setup SR for xenserver pool
2. in UI, add a new storage pool as PreSetup
   server: "ip of storage "
   path:"name of the SR"
2011-02-02 19:33:08 -08:00
Edison Su 4ea260cafd bug 8204: mgt server needs to pass down iso info before migration, if the vm has ISO attached
status 8204: resolved fixed
2011-02-02 19:13:12 -05:00
alena 848cff6318 Use static inner class instead of enum for Param parameter (used in VirtualMachineProfile) 2011-02-02 15:55:04 -08:00
Kelven Yang b874bbda91 Give primary VMFS datastore meaningful name 2011-02-02 13:37:14 -08:00
Edison Su 1aff4d8a9a make sure building template is downloaded 2011-02-02 13:35:41 -05:00
Edison Su cfd8cdbf20 bug 8195: add on-demand download for buildin templates, only download these buildin centos template after when you adding a host for the hypervisor
status 8195: resolved fixed
2011-02-02 12:03:40 -05:00
kishan d901d42670 bug 7965: Added delete event for recurring snapshot delete
status 7965: resolved fixed
2011-02-02 17:43:28 +05:30
Edison Su 675a610995 cleanup default hypervisortype 2011-02-01 16:03:10 -05:00
abhishek db04ec7f90 bug 7899: reverting a previously wrong fix; adding the right fix
status 7899: resolved fixed
2011-02-01 15:25:40 -08:00
Edison Su d6a7bb1fbe bug 8301: fix typo
status 8301: resolved fixed
2011-02-01 12:12:04 -05:00
Edison Su 5b073cd370 bug 8087: default hypervisor type is gone: when creating cpvm/ssvm, randomly choose one hypervisor type, which got from host table. When creating domR, as we already know the hypervisor type at that time, so domR and user vm are always created as the same hypervisor type.
status 8087: resolved fixed
2011-02-01 11:32:40 -05:00
abhishek 447153f570 bug 8247: when we have vms in error state, we destoy their volumes. then, when we delete account with such vms, we should NOT try and destroy vols already destroyed.
status 8247: resolved fixed
2011-02-01 11:13:40 -08:00
kishan e74d8888c7 bug 8151: Avoid volume delete event for volumes which were never attached
status 8151: resolved fixed
2011-02-01 13:06:47 +05:30