mirror of https://github.com/apache/cloudstack.git
Snapshot on dettached volume considering wrong path, corrected it
This commit is contained in:
parent
bc8ad68434
commit
f74262b12a
|
|
@ -1895,7 +1895,7 @@ public class VmwareStorageProcessor implements StorageProcessor {
|
|||
}
|
||||
workerVm = vmMo;
|
||||
// attach volume to worker VM
|
||||
String datastoreVolumePath = dsMo.getDatastorePath(volumePath + ".vmdk");
|
||||
String datastoreVolumePath = VmwareStorageLayoutHelper.getLegacyDatastorePathFromVmdkFileName(dsMo, volumePath + ".vmdk");
|
||||
vmMo.attachDisk(new String[] { datastoreVolumePath }, morDs);
|
||||
} else {
|
||||
s_logger.info("Using owner VM " + vmName + " for snapshot operation");
|
||||
|
|
|
|||
Loading…
Reference in New Issue