mirror of https://github.com/apache/cloudstack.git
Dettached datadisk migration failed between NFS storages.
Fixed the issue of worker VM name being null
This commit is contained in:
parent
818981d8a7
commit
6ebfdc6854
|
|
@ -4752,8 +4752,7 @@ public class VmwareResource implements StoragePoolResource, ServerResource, Vmwa
|
|||
dsMo = new DatastoreMO(hyperHost.getContext(), morSourceDS);
|
||||
morDestintionDS = HypervisorHostHelper.findDatastoreWithBackwardsCompatibility(hyperHost, cmd.getTargetPool().getUuid());
|
||||
destinationDsMo = new DatastoreMO(hyperHost.getContext(), morDestintionDS);
|
||||
if (dsMo.getDatastoreType().equalsIgnoreCase("VVOL"))
|
||||
vmName = getWorkerName(getServiceContext(), cmd, 0, dsMo);
|
||||
vmName = getWorkerName(getServiceContext(), cmd, 0, dsMo);
|
||||
|
||||
if (destinationDsMo.getDatastoreType().equalsIgnoreCase("VVOL"))
|
||||
vmName = getWorkerName(getServiceContext(), cmd, 0, destinationDsMo);
|
||||
|
|
|
|||
Loading…
Reference in New Issue