mirror of https://github.com/apache/cloudstack.git
bug 14582: fix one big in upgrade from 2.1.4 to 3.0.2
status 14582: resolved
This commit is contained in:
parent
e23b2ac1fd
commit
bbd0259ad2
|
|
@ -676,7 +676,7 @@ public class StorageManagerImpl implements StorageManager, Manager, ClusterManag
|
|||
}
|
||||
String basicErrMsg = "Failed to create volume from " + snapshot.getName() + " on pool " + pool;
|
||||
try {
|
||||
if (snapshot.getSwiftId() != null) {
|
||||
if (snapshot.getSwiftId() != null && snapshot.getSwiftId() != 0) {
|
||||
_snapshotMgr.downloadSnapshotsFromSwift(snapshot);
|
||||
}
|
||||
CreateVolumeFromSnapshotCommand createVolumeFromSnapshotCommand = new CreateVolumeFromSnapshotCommand(primaryStoragePoolNameLabel, secondaryStoragePoolUrl, dcId, accountId, volumeId,
|
||||
|
|
|
|||
Loading…
Reference in New Issue