mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-4116: Volume operations fail: InvocationTargetException when
invoking RPC callback for command: createVolumeCallback
This commit is contained in:
parent
016fe3ecb8
commit
923c4fd60f
|
|
@ -502,7 +502,7 @@ public class KVMStorageProcessor implements StorageProcessor {
|
|||
}
|
||||
s_logger.debug("Completed backing up RBD snapshot " + snapshotName + " to " + snapFile.getAbsolutePath() + ". Bytes written: " + offset);
|
||||
bos.close();
|
||||
|
||||
|
||||
s_logger.debug("Attempting to remove snapshot RBD " + snapshotName + " from image " + snapshotDisk.getName());
|
||||
image.snapRemove(snapshotName);
|
||||
|
||||
|
|
@ -813,7 +813,7 @@ public class KVMStorageProcessor implements StorageProcessor {
|
|||
|
||||
VolumeObjectTO newVol = new VolumeObjectTO();
|
||||
newVol.setPath(vol.getName());
|
||||
|
||||
newVol.setSize(volume.getSize());
|
||||
return new CreateObjectAnswer(newVol);
|
||||
} catch (Exception e) {
|
||||
s_logger.debug("Failed to create volume: " + e.toString());
|
||||
|
|
|
|||
Loading…
Reference in New Issue