Commit Graph

205 Commits

Author SHA1 Message Date
anthony cd27202a26 bug 8216: create volume from snapshot can take a disk_offering_id, if disk_offering_id is not specified, use the one from original volume
status 8216: resolved fixed
2011-02-28 16:28:41 -08:00
prachi 889827b63a Bug 7845 - Productize DeploymentPlanner
Bug 7723 - merge or re-write host tagging into master / 2.2
Bug 7627 - Need more logging for Allocators
Bug 8317 - Add better resource allocation failure messages

Changes for Deployment Planner to use host and storagePool allocators to find deployment destination.
Also has the changes for host tag feature.
Improved the logging for allocators.
2011-02-28 13:47:51 -08:00
anthony 8658fbd1d4 fixed build 2011-02-28 10:32:52 -08:00
anthony 1970161844 bug 8714: support paraleel recursive snapshot
snapshot doesn't depend on volume any more, volume can be removed even there are snapshots on this volume

status 8714: resolved fixed
2011-02-25 22:17:13 -08:00
abhishek a84d34cc72 bug 8216: we do not need to create an event in createVolFromSnapshot(), as we do it in alloc vol 2011-02-25 12:00:27 -08:00
abhishek bae62f844d 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 12:00:27 -08:00
kishan 8eb665246e bug 7935: Included hypervisor type to vm usage records
status 7935: resolved fixed
2011-02-24 20:08:12 +05:30
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
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
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 569bbfe585 bug 8513: creating volume from snapshot depends on the original volume
status 8513: resolved fixed
2011-02-16 15:47:05 -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
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
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
Kelven Yang b874bbda91 Give primary VMFS datastore meaningful name 2011-02-02 13:37:14 -08: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
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
Alex Huang a49a4184d5 forgot the select field 2011-01-31 11:16:13 -08:00
Alex Huang f96f5a7db0 fixed stupid git merged problems 2011-01-31 11:09:59 -08:00
Alex Huang 60518dc226 storage rewrite 2011-01-28 15:37:00 -08:00
Alex Huang f9a9698d96 more unused fields removed 2011-01-28 15:37:00 -08:00
abhishek d8ea2f04ea setting cpvm restart to true with every storage pool being added 2011-01-28 14:24:44 -08:00
abhishek 5d18c4c527 bug 8242: introducing the concept of work queue for storage; introducing storage states as opposed to using host states; using row locks as opposed to db table locks
status 8242: resolved fixed
2011-01-28 13:43:36 -08:00
Kelven Yang 4696b16d10 Normalize name convention for vmware hypervisor 2011-01-28 11:16:30 -08:00
Edison Su f8778ea4c6 add sharedmountpoint storage pool to support all kinds of clustered file system 2011-01-28 04:37:31 -05:00
Kelven Yang 83dd811221 Deal with the situation while volume was left over in Creating state 2011-01-25 17:20:08 -08:00
Alex Huang fc33ef2be2 Removed several unused fields after the refactoring 2011-01-24 16:18:40 -08:00
abhishek 334c41a7e8 using the accessor method instead of the obj directly 2011-01-24 13:43:11 -08:00
abhishek ab87e10ad1 bug 7970: some more improvements to the storage maintenance with 2 pools
status 7970: resolved fixed
2011-01-24 11:27:52 -08:00
Kelven Yang cfb51ece25 Bug 8019: send snapshot commands to host that owns the VM 2011-01-21 11:08:23 -08:00
Alex Huang 3a9d6884ce Removed useless code 2011-01-20 09:54:05 -08:00
kishan 94ec7bf27a bug 7842: events refactoring. Still wrok in progress 2011-01-20 21:49:50 +05:30
nit d1aa043aba bug 7525: Cleaning up primary storage stats from op_host_Capacity(reflected on dashboard) when primary storage is deleted.
status 7525 : resolved fixed
2011-01-20 20:38:43 +05:30
kishan c685c77d74 Populate diskofferingid in usage events only if the offering is of type disk 2011-01-20 13:38:29 +05:30
abhishek 09960f76eb bug 8112: this broke again after the alex refactor. Fixing it again
status 8112: resolved fixed
2011-01-19 18:03:19 -08:00
abhishek 210e828a46 bug 8045: fixing the corner case around uncaught/unexpected exceptions; minor refactor of the code
status 8045: resolved fixed
2011-01-19 15:04:19 -08:00
abhishek f97a5e78cb bug 7970: fixing sp maintenance for 2 pools
status 7970: resolved fixed
2011-01-19 14:32:56 -08:00
alena 2f608c31a4 bug 8096: secondary storage vm doesn't have to be UP when we do attachIso/startVm from iso
status 8096: resolved fixed
2011-01-19 10:42:41 -08:00
alena 632d3c67f1 bug 6689: release source nat ip address as a part of domR/dhcp destroy
status 6689: resolved fixed

Changes to destroyNetwork process. Here are the steps:
* shutdown network - shutdowns all network elements (domRs/Dhcps)
* delete network - destroy all network elements, cleanup network's resources (vlans, ip ranges), mark network with Destroyed state and set Removed field
2011-01-18 19:31:04 -08:00
Alex Huang 42950f2e8b migration complete 2011-01-14 15:12:13 -08:00
Alex Huang d43717eef8 merge changes 2011-01-14 15:12:13 -08:00