Commit Graph

399 Commits

Author SHA1 Message Date
Min Chen af2951ad56 CLOUDSTACK-4534:[object_store_refactor] Deleting uploaded volume is not
deleting the volume from backend.
2013-09-17 15:15:05 -07:00
Edison Su 52a45ce56e CLOUDSTACK-4650: change volume state during snapshot only 2013-09-12 16:02:40 -07:00
Min Chen 362bf5b8b4 CLOUDSTACK-4534:[object_store_refactor] Deleting uploaded volume is not
deleting the volume from backend.
2013-09-11 10:11:05 -07:00
Min Chen e607998afa CLOUDSTACK-4628:[Automation] Failed to create template from snapshot
with same name; after deleting the first one.
2013-09-09 16:08:31 -07:00
Min Chen 80aa0d3608 CLOUDSTACK-4625:Snapshots and templates should be deleted from staging
storage after create template from snapshot on S3.
2013-09-06 17:27:30 -07:00
Nitin Mehta 65e85962db CLOUDSTACK-4327:
Check for the all the transition states for Maintenance. Also corrected the isMaintenance function for StoragePoolVo
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-09-05 12:41:05 +05:30
Min Chen 3dc8b8863a CLOUDSTACK-4600:Registered Cross-zone template does not populate
template_zone_ref for later added zones.
2013-09-03 16:31:40 -07:00
Kelven Yang 995e193be2 CLOUDSTACK-4458: Volume attach/detach command needs to sent to hypervisor resource even when target VM is in Stopped state 2013-08-28 18:38:12 -07:00
Min Chen ad1633dda9 CLOUDSTACK-4430:[Automation][vmware] Failed to deploy vm, if one host is
down in a cluster.
2013-08-28 11:18:01 -07:00
Edison Su 6b4aed2aca CLOUDSTACK-3535: fix regression introduced in 5d9fa5d42e 2013-08-27 18:08:33 -07:00
Min Chen 21cb33a02c CLOUDSTACK-4516:[Upgrade][VMWare]
MySQLIntegrityConstraintViolationException while performing any task
using local storage after upgrade from 3.0.7 to 4.2.
2013-08-27 14:11:55 -07:00
Wido den Hollander 3315159de6 CLOUDSTACK-1191: Re-enable deployment of SystemVMs on RBD
This was reverted by 0a5228922b unintentionnaly
but broke this feature for RBD.

Enable SystemVM deployment on RBD again
2013-08-27 17:05:38 +02:00
Min Chen f0000814bd CLOUDSTACK-4468:template created from snapshot is destroyed once we
restart management server.
2013-08-26 11:54:05 -07:00
Edison Su a0344132b5 CLOUDSTACK-4507: fix NPE when taking snapshot 2013-08-26 11:04:28 -07:00
Kelven Yang 834fdc8859 CLOUDSTACK-3237: acknowledge the behind-back VMDK disk consolidation happend in vCenter after storage live migration 2013-08-23 17:38:34 -07:00
Edison Su d901663578 CLOUDSTACK-4477: in order to select hypervisor host which can access storage pool, need to check storage_pool_host_ref 2013-08-23 16:56:01 -07:00
Edison Su 17ffe48ad2 add table lock on snapshot, during taking snapshot 2013-08-22 20:39:09 -07:00
Min Chen 18aacd48a2 CLOUDSTACK-4455:object_store - Template sync results in private
templates being synced to all the secondary stores.
2013-08-22 15:38:50 -07:00
Edison Su a0de0d0177 CLOUDSTACK-4456:
CLOUDSTACK-4457:
CLOUDSTACK-4459:
harden kvm getvolume. It's possible that one volume created on other kvm host, won't show up on another host, try more times to refresh storage pool if volume won't shown up
2013-08-22 15:10:50 -07:00
Edison Su d157e2970e add test 2013-08-22 15:10:50 -07:00
Min Chen 52f08a4f36 CLOUDSTACK-4454:object_store - Not able to delete secondary storage when
existing snapshots are deleted.
2013-08-22 14:57:17 -07:00
Edison Su dfa81da53a delete snapshot_store_ref if the snapshot is in error state 2013-08-20 15:33:24 -07:00
Min Chen 03011b8d7b CLOUDSTACK-3950:Set cross-zone flag in registerTemplate/registerIso in
case of region-wide secondary is enabled.
2013-08-20 13:33:01 -07:00
Min Chen ae7ec647d5 CLOUDSTACK-4395:[Object_store_refactor] Default template is not
available for use to deploy vm in case of multi zone environment.
2013-08-19 17:32:44 -07:00
Edison Su e7ac5d376f CLOUDSTACK-4324: delete snapshot_store_ref, if create snapshot failed on primary storage 2013-08-19 15:23:19 -07:00
Min Chen 6f7fdac3ee CLOUDSTACK-4400:[object_store_refactor] Three entries for one template
in template_store_ref when MS was restarting during template download.
2013-08-19 15:00:50 -07:00
Min Chen 956b170126 CLOUDSTACK-4399:[Templates] template entries are deleted from
template_store_ref when downloadTemplate times out.
2013-08-19 11:21:43 -07:00
Edison Su e3a6657c93 CLOUDSTACK-4363: fix possible NPE, if copy volume failed. 2013-08-17 17:33:17 -07:00
Edison Su b359152679 CLOUDSTACK-4325: add more test cases for zone wide storage pool allocator 2013-08-17 12:37:49 -07:00
Min Chen a3e0863344 CLOUDSTACK-4287: Template sync should remove template_store_ref entry
for corrupted template.
2013-08-15 14:23:52 -07:00
Edison Su a467c45bf6 CLOUDSTACK-4338: catch up exception in case of deleting volume in parallel: it's possible that two threads can delete one volume at the same time, if the volume state is in Expunging 2013-08-14 18:14:20 -07:00
Min Chen 9a9ef3112c CLOUDSTACK-4318:[Object_Store_Refactor] Failed to delete snapshot copied
to Staging storage during snapshot creation.
2013-08-14 18:01:09 -07:00
Edison Su f71da1c4f5 CLOUDSTACK-4325: if userdispersing algorithm is used, then zone wide storages never been picked up 2013-08-14 15:51:48 -07:00
Edison Su 1451b8b642 CLOUDSTACK-4324: need to clean up snapshot_store_ref, if creating snapshot failed. 2013-08-14 14:18:22 -07:00
Min Chen 30484fb7f8 CLOUDSTACK-3706:[Object_Store_Refactor] Failed to create template from
stopped guest vm's root disk.
2013-08-14 11:54:36 -07:00
Nitin Mehta e40043fc3d CLOUDSTACK-4287
Builtin template Ready Status is No even after the Status is downlaod complete. The reason was that template sync updates only the template download state but not the state. Fixing that. Ideally we should change the state through state machine only.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-08-14 18:41:45 +05:30
Kishan Kavala 903b92f6cc CLOUDSTACK-4295 : TemplateTO should contain physical size along with virtual size. Usage ignores templates with size 0 2013-08-14 17:28:22 +05:30
Wido den Hollander 8a49f5a1a9 CLOUDSTACK-4114: Use RAW disk images for RBD instead of QCOW2 2013-08-13 16:26:02 +02:00
Edison Su 4cd76b5a99 CLOUDSTACK-4211: fix s3 on kvm 2013-08-09 19:43:45 -07:00
Min Chen e61a38087d CLOUDSTACK-4204: return a ZoneScope in picking cache storage. 2013-08-09 18:12:15 -07:00
Min Chen 17f4a63eee CLOUDSTACK-4204:[Object_store_refactor] Snapshot created from volume in
zone2 is copying to secondary staging storages in zone1
2013-08-09 18:12:15 -07:00
Min Chen bedabf07a0 CLOUDSTACK-4129: select SSVM based on ImageCache data store instead of
region wide image store.
2013-08-09 16:29:16 -07:00
Nitin Mehta 281abef0de CLOUDSTACK-4133
Introduce a global lock on template and pool id so that concurrent threads wont be inserting the same row in DB and hit MySQLIntegrityConstraintViolationException
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-08-09 13:53:31 +05:30
Min Chen 848abfd384 CLOUDSTACK-4190: Add endpoint selector implementation for ImageCache
data store and also delete object from staging area for volume copy from
primary to secondary or vice versa.
2013-08-08 16:08:50 -07:00
Min Chen 605376dc4d CLOUDSTACK-4190:[Object_store_refactor] volume should be deleted from
staging storage after successfule volume migration .
2013-08-08 16:08:50 -07:00
Edison Su 784a9d45d0 CLOUDSTACK-4106: fix volume related operations on vmware&s3 2013-08-08 12:34:54 -07:00
Koushik Das 470e76b3d6 CLOUDSTACK-4136: [upgraded ENV]Deleting Snapshot which was created before upgrade is throwing NPE.
Snapshot object is being accessed even when it is null. In case snapshot is not present in backup store the code should return after cleaning db entry.
Also noticed discrepancy in the upgraded db setup but couldn't fully verify it, so added logging in the upgrade logic for template/snapshots etc.
2013-08-08 15:05:29 +05:30
Edison Su 26a5b76ee6 CLOUDSTACK-4109: fix upload volume to s3 for vmware 2013-08-07 18:25:59 -07:00
Kelven Yang 6951e77ed9 CLOUDSTACK-3869: make new folder structure to work with Snapshop commands 2013-08-07 17:44:40 -07:00
Min Chen 6ebfa923ff CLOUDSTACK-4109:[Object_store_refactor] Extract volume failed with NPE. 2013-08-07 17:05:46 -07:00