mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-6099 live migration is failing for vm deployed using dynaic compute offerings with NPE
This commit is contained in:
parent
70142c4acb
commit
2b7b837b28
@ -1843,7 +1843,7 @@ public class VirtualMachineManagerImpl extends ManagerBase implements VirtualMac
|
||||
vmSrc.addNic(nic);
|
||||
}
|
||||
|
||||
VirtualMachineProfile profile = new VirtualMachineProfileImpl(vm);
|
||||
VirtualMachineProfile profile = new VirtualMachineProfileImpl(vm, null, _offeringDao.findById(vm.getId(), vm.getServiceOfferingId()), null, null);
|
||||
_networkMgr.prepareNicForMigration(profile, dest);
|
||||
volumeMgr.prepareForMigration(profile, dest);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user