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
thrownewCloudRuntimeException(String.format("Volume change offering operation failed for volume: %s migration failed to storage pool %s", volume, suitableStoragePools.get(0)));
2228
+
thrownewCloudRuntimeException("Change offering for the volume failed.");
2228
2229
}
2229
2230
} catch (Exceptione) {
2230
-
thrownewCloudRuntimeException(String.format("Volume change offering operation failed for volume: %s migration failed to storage pool %s due to %s", volume, suitableStoragePools.get(0), e.getMessage()));
2231
+
logger.error("Volume change offering operation failed for volume ID: {} migration failed to storage pool {} due to {}", volumeUuid, suitableStoragePoolsWithEnoughSpace.get(0).getId(), e.getMessage());
2232
+
thrownewCloudRuntimeException("Change offering for the volume failed.", e);
2231
2233
}
2232
2234
}
2233
2235
@@ -2240,7 +2242,7 @@ public Volume changeDiskOfferingForVolumeInternal(Long volumeId, Long newDiskOff
2240
2242
if (volumeMigrateRequired) {
2241
2243
logger.warn(String.format("Volume change offering operation succeeded for volume ID: %s but volume resize operation failed, so please try resize volume operation separately", volume.getUuid()));
2242
2244
} else {
2243
-
thrownewCloudRuntimeException(String.format("Volume change offering operation failed for volume ID: %s due to resize volume operation failed", volume.getUuid()));
2245
+
thrownewCloudRuntimeException(String.format("Volume disk offering change operation failed for volume ID [%s] because the volume resize operation failed.", volume.getUuid()));
0 commit comments