mirror of https://github.com/apache/cloudstack.git
bug 12849: during fence command, remove vm state from sync so that it is not reported as stopped2.2.y
reviewed by: anthony
This commit is contained in:
parent
a18d5c25d1
commit
58d310a0e7
|
|
@ -106,6 +106,11 @@ public class XenServer56FP1Resource extends XenServer56Resource {
|
|||
}
|
||||
}
|
||||
}
|
||||
//remove the VM from s_vms
|
||||
synchronized (_cluster.intern()) {
|
||||
s_logger.info("Fence command for VM " + vm.getNameLabel(conn));
|
||||
s_vms.remove(_cluster, _name, vm.getNameLabel(conn));
|
||||
}
|
||||
}
|
||||
return new FenceAnswer(cmd);
|
||||
} catch (XmlRpcException e) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue