mirror of https://github.com/apache/cloudstack.git
Adding support for creating a volume from a snapshot when the snapshot is on managed storage
This commit is contained in:
parent
664186f483
commit
2094286c8a
|
|
@ -152,11 +152,13 @@ public class StorageSystemDataMotionStrategy implements DataMotionStrategy {
|
|||
}
|
||||
|
||||
if (canHandleSrc) {
|
||||
// return handleCreateVolumeFromSnapshotOnlySourceOnStorageSystem();
|
||||
throw new UnsupportedOperationException("This operation is not supported (DataStoreCapabilities.STORAGE_SYSTEM_SNAPSHOT " +
|
||||
"not supported by destination storage plug-in).");
|
||||
}
|
||||
|
||||
if (canHandleDest) {
|
||||
// return handleCreateVolumeFromSnapshotOnlyDestinationOnStorageSystem();
|
||||
throw new UnsupportedOperationException("This operation is not supported (DataStoreCapabilities.STORAGE_SYSTEM_SNAPSHOT " +
|
||||
"not supported by source storage plug-in).");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue