Skip to content

Commit 861ae9a

Browse files
committed
allow volume migration on managed storage
1 parent c3b77cb commit 861ae9a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

engine/storage/datamotion/src/main/java/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2376,10 +2376,6 @@ protected void verifyLiveMigrationForKVM(Map<VolumeInfo, DataStore> volumeDataSt
23762376
throw new CloudRuntimeException("Destination storage pool with ID " + dataStore.getId() + " was not located.");
23772377
}
23782378

2379-
if (srcStoragePoolVO.isManaged() && srcStoragePoolVO.getId() != destStoragePoolVO.getId()) {
2380-
throw new CloudRuntimeException("Migrating a volume online with KVM from managed storage is not currently supported.");
2381-
}
2382-
23832379
if (storageTypeConsistency == null) {
23842380
storageTypeConsistency = destStoragePoolVO.isManaged();
23852381
} else if (storageTypeConsistency != destStoragePoolVO.isManaged()) {

0 commit comments

Comments
 (0)