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
* 4.17:
KVM: revert libvirtd config and retry if fail to add a host (#7090)
UI: display cpu cores and speed instead of cputotal by default (#7106)
storage: validate disk size range of custom disk offering when resize volume (#7073)
@@ -1075,6 +1080,10 @@ public VolumeVO resizeVolume(ResizeVolumeCmd cmd) throws ResourceAllocationExcep
1075
1080
thrownewInvalidParameterValueException(String.format("Resize of volume %s is not allowed, since disk size is strictly fixed as per the disk offering", volume.getUuid()));
1076
1081
}
1077
1082
1083
+
if (diskOffering.isCustomized()) {
1084
+
validateCustomDiskOfferingSizeRange(newSize);
1085
+
}
1086
+
1078
1087
if (isNotPossibleToResize(volume, diskOffering)) {
1079
1088
thrownewInvalidParameterValueException(
1080
1089
"Failed to resize Root volume. The service offering of this Volume has been configured with a root disk size; "
@@ -1158,6 +1167,8 @@ public VolumeVO resizeVolume(ResizeVolumeCmd cmd) throws ResourceAllocationExcep
1158
1167
thrownewInvalidParameterValueException("The new disk offering requires that a size be specified.");
<spanv-else>{{ resource.cpunumber }} CPU x {{ parseFloat(resource.cpuspeed / 1000.0).toFixed(2) }} Ghz</span>
146
+
<spanv-if="'cpunumber' in resource && 'cpuspeed' in resource">{{ resource.cpunumber }} CPU x {{ parseFloat(resource.cpuspeed / 1000.0).toFixed(2) }} Ghz</span>
0 commit comments