You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Avoid repeating storage pool lookups while deciding and preparing KVM live storage migration requests.
Also make the skipped-volume test assert that skipped direct-download volumes do not affect the full-clone decision.
Copy file name to clipboardExpand all lines: engine/storage/datamotion/src/main/java/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java
+21-5Lines changed: 21 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -2015,11 +2015,15 @@ protected void setVolumeMigrationOptions(VolumeInfo srcVolumeInfo, VolumeInfo de
2015
2015
* not use incremental shared-backing semantics for a disk whose backing chain is not guaranteed on the destination.
logger.info("Using full clone live storage migration for VM [{}] because one or more migrated volumes are backed by direct-download templates.", vmTO);
2070
2086
}
@@ -2076,8 +2092,8 @@ public void copyAsync(Map<VolumeInfo, DataStore> volumeDataStoreMap, VirtualMach
Copy file name to clipboardExpand all lines: engine/storage/datamotion/src/test/java/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategyTest.java
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -414,16 +414,18 @@ public void shouldForceFullCloneMigrationIgnoresSkippedDirectDownloadVolumes() {
0 commit comments