mirror of https://github.com/apache/cloudstack.git
bug 7975: we were missing the podid for a user vm, and this is used during vol attach. Adding the same, this fixes the NPE
status 7975: resolved fixed
This commit is contained in:
parent
55f28c3a2b
commit
e0aef28910
|
|
@ -594,6 +594,7 @@ public class VirtualMachineManagerImpl implements VirtualMachineManager {
|
|||
cmds.addCommand(new StartCommand(vmTO));
|
||||
|
||||
vmGuru.finalizeDeployment(cmds, vmProfile, dest, ctx);
|
||||
vm.setPodId(dest.getPod().getId());
|
||||
try {
|
||||
Answer[] answers = _agentMgr.send(dest.getHost().getId(), cmds);
|
||||
if (getStartAnswer(answers).getResult() && vmGuru.finalizeStart(cmds, vmProfile, dest, ctx)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue