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
Copy file name to clipboardExpand all lines: plugins/storage/volume/scaleio/src/main/java/org/apache/cloudstack/storage/datastore/client/ScaleIOGatewayClientImpl.java
+28-19Lines changed: 28 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -376,7 +376,7 @@ public boolean renameVolume(final String volumeId, final String newName) {
376
376
checkResponseOK(response);
377
377
returntrue;
378
378
} catch (finalIOExceptione) {
379
-
LOG.error("Failed to rename PowerFlex volume due to:", e);
379
+
LOG.error("Failed to rename PowerFlex volume due to:", e);
380
380
checkResponseTimeOut(e);
381
381
} finally {
382
382
if (response != null) {
@@ -786,7 +786,6 @@ public boolean migrateVolume(final String srcVolumeId, final String destPoolId,
786
786
Preconditions.checkArgument(!Strings.isNullOrEmpty(destPoolId), "dest pool id cannot be null");
787
787
Preconditions.checkArgument(timeoutInSecs > 0, "timeout must be greater than 0");
788
788
789
-
HttpResponseresponse = null;
790
789
try {
791
790
Volumevolume = getVolume(srcVolumeId);
792
791
if (volume == null || Strings.isNullOrEmpty(volume.getVtreeId())) {
@@ -798,10 +797,21 @@ public boolean migrateVolume(final String srcVolumeId, final String destPoolId,
798
797
LOG.debug("Migrating the volume: " + srcVolumeId + " on the src pool: " + srcPoolId + " to the dest pool: " + destPoolId +
Copy file name to clipboardExpand all lines: plugins/storage/volume/scaleio/src/main/java/org/apache/cloudstack/storage/datastore/driver/ScaleIOPrimaryDataStoreDriver.java
0 commit comments