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
@@ -92,6 +93,9 @@ public class CreateSnapshotPolicyCmd extends BaseCmd {
92
93
"The snapshot will always be made available in the zone in which the volume is present.",
93
94
since = "4.21.0")
94
95
protectedList<Long> storagePoolIds;
96
+
97
+
@Parameter (name = ApiConstants.USE_STORAGE_REPLICATION, type=CommandType.BOOLEAN, required = false, since = "4.21.0", description = "This parameter enables the option the snapshot to be copied to supported primary storage")
Copy file name to clipboardExpand all lines: plugins/storage/volume/storpool/src/main/java/org/apache/cloudstack/storage/datastore/driver/StorPoolPrimaryDataStoreDriver.java
StorPoolUtil.spLog("Created volume=%s with uuid=%s from snapshot=%s with uuid=%s", StorPoolUtil.getNameFromResponse(resp, false), volumeName, snapshotName, sinfo.getUuid());
thrownewInvalidParameterValueException("Please specify a valid destination zone.");
2233
+
thrownewInvalidParameterValueException("Please specify a valid destination pool.");
2232
2234
}
2233
2235
if (!StoragePoolStatus.Up.equals(destPool.getStatus()) && !isRootAdmin) {
2234
2236
thrownewPermissionDeniedException("Cannot perform this operation, the storage pool is not in Up state or the user is not the Root Admin " + destPool.getName());
0 commit comments