cloudstack/plugins
Suresh Kumar Anaparti f67b738eb3
Migrate volume improvements, to bypass secondary storage when copy volume between pools is allowed directly (#11625)
* Migrate volume improvements, to bypass secondary storage when copy volume between pools is allowed directly

* Bypass secondary storage for copy volume between zone-wide pools and
- local storage on host in the same zone
- cluser-wide pools in the same zone

* Bypass secondary storage for volumes on ceph/rdb pool when the scope permits

* Fix dest disk format while migrating volume from ceph/rbd to nfs, and some code improvements

* unit tests

* Update suitable disk offering(s) for volume(s) after migrate VM with volumes when change in pool type (shared or local)

Currently, Migrate VM with volume(s) bypasses the service and disk offerings of the volumes, as the target pools for migration are specified,
which ignores the offerings. Offering change is required when pool type (shared or local) is changed, mainly
- when volume on shared pool is migrated to local pool
- when volume on local pool is migrated to shared pool

* Update with proper message while migrate volume when target pool and offering type mismatches (both are not shared/local)

* Consider host scope first during endpoint selection while copying between primary storages

* Update disk offering count (for listDiskOfferings api) while removing offerings with tags mismatch with storage tags
2025-10-09 16:00:46 +05:30
..
acl Updating pom.xml version numbers for release 4.22.0.0-SNAPSHOT 2025-08-28 12:00:42 +05:30
affinity-group-processors Updating pom.xml version numbers for release 4.22.0.0-SNAPSHOT 2025-08-28 12:00:42 +05:30
alert-handlers Updating pom.xml version numbers for release 4.22.0.0-SNAPSHOT 2025-08-28 12:00:42 +05:30
api Updating pom.xml version numbers for release 4.22.0.0-SNAPSHOT 2025-08-28 12:00:42 +05:30
backup NAS backup provider: Support restore from backup to volumes on Ceph storage pool(s), and take backup for stopped instances with volumes on Ceph storage pool(s) (#11684) 2025-10-06 09:13:28 +02:00
ca/root-ca Updating pom.xml version numbers for release 4.22.0.0-SNAPSHOT 2025-08-28 12:00:42 +05:30
database Updating pom.xml version numbers for release 4.22.0.0-SNAPSHOT 2025-08-28 12:00:42 +05:30
dedicated-resources Updating pom.xml version numbers for release 4.22.0.0-SNAPSHOT 2025-08-28 12:00:42 +05:30
deployment-planners Updating pom.xml version numbers for release 4.22.0.0-SNAPSHOT 2025-08-28 12:00:42 +05:30
drs/cluster Updating pom.xml version numbers for release 4.22.0.0-SNAPSHOT 2025-08-28 12:00:42 +05:30
event-bus utils: add UuidUtils.nameUUIDFromBytes (#11136) 2025-09-01 08:10:31 +02:00
ha-planners/skip-heurestics Updating pom.xml version numbers for release 4.22.0.0-SNAPSHOT 2025-08-28 12:00:42 +05:30
host-allocators/random Updating pom.xml version numbers for release 4.22.0.0-SNAPSHOT 2025-08-28 12:00:42 +05:30
hypervisors Migrate volume improvements, to bypass secondary storage when copy volume between pools is allowed directly (#11625) 2025-10-09 16:00:46 +05:30
integrations server: consistent domainpath in api responses (#11589) 2025-10-09 13:06:28 +05:30
maintenance Updating pom.xml version numbers for release 4.22.0.0-SNAPSHOT 2025-08-28 12:00:42 +05:30
metrics Merge branch '4.20' 2025-09-17 14:26:06 +05:30
network-elements Add support for providing userdata to system VMs (#11654) 2025-10-08 10:44:26 +05:30
outofbandmanagement-drivers Updating pom.xml version numbers for release 4.22.0.0-SNAPSHOT 2025-08-28 12:00:42 +05:30
storage Migrate volume improvements, to bypass secondary storage when copy volume between pools is allowed directly (#11625) 2025-10-09 16:00:46 +05:30
storage-allocators/random Updating pom.xml version numbers for release 4.22.0.0-SNAPSHOT 2025-08-28 12:00:42 +05:30
user-authenticators Add UUID field for LDAP configuration (#11462) 2025-10-01 14:43:22 +02:00
user-two-factor-authenticators Merge remote-tracking branch 'apache/4.20' 2025-09-09 19:50:22 +02:00
pom.xml Updating pom.xml version numbers for release 4.22.0.0-SNAPSHOT 2025-08-28 12:00:42 +05:30