Commit Graph

425 Commits

Author SHA1 Message Date
Abhinandan Prateek 92254a5a2f Revert "Updating pom.xml version numbers for release 4.2.1"
This reverts commit 7fb9dcb131e1d2d5a7c87e0aab2929b772bcd008.
2013-12-03 17:16:18 +05:30
Abhinandan Prateek e8c3c650a7 Updating pom.xml version numbers for release 4.2.1
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-12-03 17:16:17 +05:30
Wei Zhou 20d8564ed0 allow delete snapshot with ERROR state
(cherry picked from commit 81c07f1791)

Conflicts:

	engine/storage/snapshot/src/org/apache/cloudstack/storage/snapshot/XenserverSnapshotStrategy.java
2013-11-29 11:18:07 +01:00
Abhinandan Prateek 4cb311530c Revert "Updating pom.xml version numbers for release 4.2.1"
This reverts commit 0b9eadaf14.
2013-11-12 21:17:27 +05:30
Abhinandan Prateek 0b9eadaf14 Updating pom.xml version numbers for release 4.2.1
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-11-12 21:15:01 +05:30
Edison Su 53eb469901 CLOUDSTACK-4907: handle create snapshot, when primary storage is not in up state 2013-11-11 13:08:25 -08:00
Harikrishna Patnala 27ea9274bd Template/ISO download fails cause the object to disappear from UI
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-11-08 17:51:35 +05:30
Edison Su 746896b129 CLOUDSTACK-4939 - Failed to create snapshot (KVM, Multiple hosts, Sharedstorage) 2013-10-30 14:04:41 -07:00
Nitin Mehta e6384be8e8 CLOUDSTACK-3737:
Delete the uploaded volume once its copied successfully to the primary storage.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-10-21 14:53:52 -07:00
Koushik Das 624b324cc1 CLOUDSTACK-4681: data disk with local disk offering are geting created on shared storage
The cluster and zone wide storage pool allocators returned shared pools even for volumes meant to be on local storage pool.
If the VM uses local disk then cluster and zone storage allocators should not handle it and return null or empty list.

Also fixed the deployment planner to avoid a cluster if
a. avoid set returned by storage pool allocators is empty OR
b. all local or shared pools in a cluster are in avoid state
2013-10-18 16:34:47 +05:30
Edison Su 0032ff23f8 CLOUDSTACK-3418: if primary storage not in up state, wont' take snapshot 2013-10-16 14:54:59 -07:00
animesh 21043bfe84 Updating pom.xml version numbers for release 4.2.1-SNAPSHOT
Signed-off-by: animesh <animesh@apache.org>
2013-10-03 17:13:17 -07:00
animesh 86c93637f5 Merging 4.2-forward into 4.2 2013-10-02 23:05:34 -07:00
Edison Su 583279f337 CLOUDSTACK-4754: it's a race condition: delete template, and deploy vm from the template happened at the same time, 2013-09-27 16:09:46 -07:00
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 e39a7d8e0d CLOUDSTACK-4600:Registered Cross-zone template does not populate
template_zone_ref for later added zones.(cherry picked from commit 3dc8b8863a)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 17:21:39 -07:00
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 34ee6f90bb CLOUDSTACK-4458: Volume attach/detach command needs to sent to hypervisor resource even when target VM is in Stopped state
(cherry picked from commit 995e193be2)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 15:59:25 -07:00
Min Chen da10231dd0 CLOUDSTACK-4430:[Automation][vmware] Failed to deploy vm, if one host is
down in a cluster.
(cherry picked from commit ad1633dda9)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 14:33:08 -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 1b90a4554f CLOUDSTACK-3535: fix regression introduced in 5d9fa5d42e
(cherry picked from commit 6b4aed2aca)

Signed-off-by: animesh <animesh@apache.org>
2013-08-27 19:55:23 -07:00
Edison Su 6b4aed2aca CLOUDSTACK-3535: fix regression introduced in 5d9fa5d42e 2013-08-27 18:08:33 -07:00
Min Chen 9333e02837 CLOUDSTACK-4516:[Upgrade][VMWare]
MySQLIntegrityConstraintViolationException while performing any task
using local storage after upgrade from 3.0.7 to 4.2.(cherry picked from commit 21cb33a02c)

Signed-off-by: animesh <animesh@apache.org>
2013-08-27 14:35:38 -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 7678ab4d0d 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
(cherry picked from commit 3315159de6)

Signed-off-by: animesh <animesh@apache.org>
2013-08-27 12:55:29 -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
Edison Su a23322bf20 Merge branch '4.2-forward' into 4.2 2013-08-26 16:18:12 -07: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
Animesh Chaturvedi 06f28722b6 Updating pom.xml version numbers for release 4.2.0
Signed-off-by: Animesh Chaturvedi <animesh@Animesh-LinuxDev.citrite.net>
2013-08-22 17:15:42 -07:00
Min Chen 6ba0c7e67b CLOUDSTACK-4455:object_store - Template sync results in private
templates being synced to all the secondary stores.
(cherry picked from commit 18aacd48a2)

Signed-off-by: animesh <animesh@apache.org>
2013-08-22 15:53:35 -07:00
Edison Su a49d39fe4d 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
(cherry picked from commit a0de0d0177)

Signed-off-by: animesh <animesh@apache.org>
2013-08-22 15:51:38 -07:00
Edison Su 5e013e9931 add test
(cherry picked from commit d157e2970e)

Signed-off-by: animesh <animesh@apache.org>
2013-08-22 15:51:23 -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
Min Chen 63d492d05f CLOUDSTACK-4454:object_store - Not able to delete secondary storage when
existing snapshots are deleted.
(cherry picked from commit 52f08a4f36)

Signed-off-by: animesh <animesh@apache.org>
2013-08-22 15:14:02 -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