Koushik Das
4cc8af0532
CLOUDSTACK-4682: VMs are getting deployed with shared service offering and local compute offering
...
VM deployment is fine, issue is in attach volume where all possible scenarios are not handled.
The following needs to be logic of attached volume:
1. if data volume scope is zone then allow attach (this is already there)
2. if data volume scope is cluster
a. if root volume scope is host, allow if both are in same cluster (already there)
b. if root volume scope is zone, allow if vm and data volume in same cluster (fixed as part of this commit)
3. if data volume scope is host allow if vm and data volume in same host (fixed as part of this commit)
2013-10-16 17:16:13 +05:30
Min Chen
d4928d3797
CLOUDSTACK-4859:Add global config to disable storage migration during HA
2013-10-11 15:39:30 -07:00
Edison Su
cb170d6afd
CLOUDSTACK-4627: fix NPE in vm migration
2013-09-09 15:58:22 -07:00
Min Chen
9f870eee0e
CLOUDSTACK-4430: Add retry logic back in case of template reload needed
...
for vmware.
2013-09-04 15:02:28 -07:00
Edison Su
21a44e3ed1
disk resize NPE, if the new disk offering doesn't have tags, then NPE
2013-08-30 18:15:20 -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
Likitha Shetty
7cc8ccead5
CLOUDSTACK-4471. If an instance fails to start then mark the volumes allocated as part of VM creation as removed and set the volume state as destroyed.
2013-08-27 15:52:10 +05:30
Kelven Yang
046a8a889a
CLOUDSTACK-3237: add disk chain sync logic to handle out-of-band chain changes that could happen in storage live migration and VM snapshot operations
2013-08-26 18:11:22 -07:00
Vijayendra Bhamidipati
c850f0a0e3
CLOUDSTACK-4139: [VMWARE][ZWPS] Failed to resize the volumes which are created from snapshot
...
Description:
Support offline volume resize on ESX by creating a worker VM
to attach the unattached volume to and then resize it.
2013-08-13 12:46:35 -07:00
Edison Su
d1c0860921
CLOUDSTACK-4222: use new volume object in case of migrate volume
2013-08-13 14:39:01 -07:00
Likitha Shetty
15b40e5cf2
CLOUDSTACK-4273.
2013-08-13 11:14:32 +05:30
Likitha Shetty
dbb49ab1e0
CLOUDSTACK-4273. Volume test cases fails from BVT, test cases failed during attachment.
2013-08-13 10:26:18 +05:30
Mike Tutkowski
b04a2b561b
CLOUDSTACK-4264
2013-08-12 21:57:55 -06:00
Likitha Shetty
32b33bea0f
CLOUDSTACK-4244. Unable to attach a volume to a VM deployed in Stopped (startvm=false) state.
...
While attaching a volume to a VM, create volume on the hypervisor only if the VM has been started on the it.
2013-08-12 15:45:02 +05:30
Rajesh Battala
4c193a1b69
CLOUDSTACK-3946 [KVM] [Zone Wide Primary Storages] migrateVolume is deleting the volume if the source and destination pool are same
2013-08-12 13:29:10 +05:30
Devdeep Singh
653e2e54a2
CLOUDSTACK-2670. Migrate volume doesn't allow migration of volumes of a stopped vm.
...
The findStoragePoolsForMigration and migrateVolume api were explicitly blocking moving
a volume if the instance to which it was attached was stopped. Updated the check for
the same.
2013-08-09 12:18:38 +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
Alena Prokharchyk
cf62be6571
CLOUDSTACK-4141: resizeVolume - read the result of AsyncCallFuture execution. If false, return null to the API caller
2013-08-08 14:01:11 -07:00
Likitha Shetty
fd7b9c44bc
CLOUDSTACK-4038. State of the DATA volumes remains in Allocated state if they are deleted before using them.
...
If a volume is in Allocated state i.e. not present in primary or secondary mark the volume as removed.
2013-08-06 16:00:48 +05:30
Min Chen
13d44fd7a6
CLOUDSTACK-3861 and CLOUDSTACK-3862: Deprecate old S3/Swift classes.
2013-08-02 16:05:53 -07:00
Bharat Kumar
60585b5181
[PATCH] upgrade to ASF 4.2 cloud Database Schema Inconsistencies
2013-08-02 17:22:31 +05:30
Fang Wang
1294a13f43
CLOUDSTACK-3759 [Automation] Failed to attach volume to VM, while vm are in stopped state Fix the null pointer.
...
Signed-off-by: Edison Su <sudison@gmail.com>
2013-08-01 17:45:37 -07:00
Min Chen
4527227360
CLOUDSTACK-3857: create VOLUME_CREATE event at CreateVolumeCmd instead
...
of at AttachVolumeCmd.
2013-07-30 14:24:12 -07:00
Min Chen
140dfaaa5b
CLOUDSTACK-3862: Remove S3/Swift-backed Secondary Storage Code.
2013-07-29 14:04:52 -07:00
Nitin Mehta
1bfe9eb0a4
CLOUDSTACK-3892
...
Implement the download url expiration functionality for templates. Also persist the template download urls after their creation
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-07-29 19:47:45 +05:30
Rajesh Battala
c5a95184cb
CLOUDSTACK-3846 usage event is not generated for volume resize
2013-07-29 17:57:24 +05:30
Edison Su
ed46a64add
CLOUDSTACK-3852: fix upload volume
2013-07-26 18:05:10 -07:00
Min Chen
a2e2ef6a76
CLOUDSTACK-3857:[Object_Store_Refactor][Usage] Two VOLUME_CREATE usage
...
events are generated for one data disk after creating and attaching to
VM.
2013-07-26 17:34:06 -07:00
Koushik Das
f062fd4fc1
CLOUDSTACK-3493: [storage ref] Attach volume to VM is failing in case of Primary-Localstorage .
...
Some existing scenarios for root and data volume combination was not working. These are
a. Local root + Shared data
b. Shared root + Local data
Enabled these scenarios as part of this fix
Conflicts:
server/src/com/cloud/storage/VolumeManagerImpl.java
2013-07-25 17:23:21 +05:30
Min Chen
e13959afc3
CLOUDSTACK-3716: State of expunged volumes are not consistent in volumes
...
table and volume_store_ref.
2013-07-23 14:56:15 -07:00
Alena Prokharchyk
8d1a670026
CLOUDSTACK-3478: fixed volume destroy. #1 - don't call destroy() when the volume is in Expunged/Expunging/Destroy state. #2 - added state transition for Expunged state
2013-07-23 14:40:30 -07:00
Alena Prokharchyk
682652865e
CLOUDSTACK-3733: fixed migrateVm - no need to cast vm to user vm to retrieve the iso information. Extract iso information from VirtualMachineProfile object passed to the method.
2013-07-23 10:56:39 -07:00
Nitin Mehta
c09d76077e
CLOUDSTACK-3510
...
Persist the download url in the db for volume download.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-07-22 17:57:57 +05:30
Sanjay Tripathi
a98c0f5b89
CLOUDSTACK-3496: [Regression]Primary Storage resource usage is not getting updated if detached volume is deleted
2013-07-19 16:19:41 +05:30
Mike Tutkowski
8f1799b71f
Changes related to Review Board comments
2013-07-18 19:46:42 -06:00
Edison Su
7e6c1a0bf7
CLOUDSTACK-3400: add swift support
2013-07-13 01:52:03 -07:00
Vijayendra Bhamidipati
8439209ba6
CLOUDSTACK-3509: Put in missing code to kick off non root volume resize operations in vmware deployments
...
Description:
Include vmware in list of hypervisors supporting volume resize.
2013-07-12 15:21:52 -07:00
Mike Tutkowski
13ec10caa6
Changes related to Review Board comments
...
Changes related to Review Board comments
2013-07-12 14:26:11 -06:00
Sanjay Tripathi
2ac8f2b452
CLOUDSTACK-1047: tracking in logs using job id.
2013-07-11 10:57:13 +05:30
Mike Tutkowski
be6bc2b681
Changes related to Review Board comments
2013-07-09 23:19:44 -06:00
Koushik Das
916a009d5d
CLOUDSTACK-3393: Local disk recreated for stopped VM when started
...
Recreating local disk will result in cleanup of the old disk and this will lead to data loss. So preventing this and bailing out with error. Once migration of local disk is supported then another option is to migrate the existing disk to the new local storage pool.
2013-07-08 17:09:16 +05:30
Sanjay Tripathi
af4eb22a65
CLOUDSTACK-3189: Primary storage usage is not getting decremented after deleting the DATA volumes.
...
When a volume is created the resource usage for it gets incremented. If it is deleted without being
attached to a volume, the decrement doesn't take place. Fixed the delete volume code to decrement
resource usage for a volume in allocated state too.
2013-07-02 00:39:27 +05:30
Sanjay Tripathi
58e69704ea
CLOUDSTACK-2288: NPE while creating volume from snapshot when the primary storage is in maintenance state.
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit ffd5f1a777 )
2013-07-01 20:18:14 +05:30
Mike Tutkowski
99227f7b3e
SolidFire plug-in and related changes
...
SolidFire plug-in
SolidFire plug-in related
2013-06-28 16:59:21 -06:00
Edison Su
f41c800d88
merge to master
2013-06-14 19:06:33 -07:00
Min Chen
18aeef3ef1
Merge branch 'master' (up to commit
...
c30d9be3ce ) into object_store.
2013-06-12 11:20:32 -07:00
Nitin Mehta
2aafc39f3d
CLOUDSTACK-2957
...
deployVm API size attribute should be capped by the storage.max.volume.size as it is in createVolume.
2013-06-12 17:01:41 +05:30
Min Chen
e92cd6d632
Move data store specific extract volume logic from VolumeManager to data
...
store driver.
2013-06-04 13:54:14 -07:00
Wei Zhou
f714d26039
Revert "CLOUDSTACK-1301: Add VM Disk I/O Throttling"
...
This reverts commit 6dad8adf8f .
2013-06-03 07:48:03 +02:00
Wei Zhou
6dad8adf8f
CLOUDSTACK-1301: Add VM Disk I/O Throttling
2013-06-01 08:03:02 +02:00