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
@@ -1060,6 +1065,10 @@ public VolumeVO resizeVolume(ResizeVolumeCmd cmd) throws ResourceAllocationExcep
1060
1065
thrownewInvalidParameterValueException(String.format("Resize of volume %s is not allowed, since disk size is strictly fixed as per the disk offering", volume.getUuid()));
1061
1066
}
1062
1067
1068
+
if (diskOffering.isCustomized()) {
1069
+
validateCustomDiskOfferingSizeRange(newSize);
1070
+
}
1071
+
1063
1072
if (isNotPossibleToResize(volume, diskOffering)) {
1064
1073
thrownewInvalidParameterValueException(
1065
1074
"Failed to resize Root volume. The service offering of this Volume has been configured with a root disk size; "
@@ -1138,6 +1147,8 @@ public VolumeVO resizeVolume(ResizeVolumeCmd cmd) throws ResourceAllocationExcep
1138
1147
thrownewInvalidParameterValueException("The new disk offering requires that a size be specified.");
0 commit comments