mirror of https://github.com/apache/cloudstack.git
bug 11463: userVms and routers being stopped by the simulator
status 11463: resolved fixed reviewed-by: Kishan.Kavala@citrix.com When the management server restarts and does a full vmSync we need to send back the state of the simulator VMs in the StartCommand for management server to restore the states. Or HA will mark them as stopped.
This commit is contained in:
parent
2615848b80
commit
fb0410e5d3
|
|
@ -104,7 +104,7 @@ public class AgentRoutingResource extends AgentStorageResource {
|
|||
synchronized (_vms) {
|
||||
_vms.clear();
|
||||
}
|
||||
Map<String, State> changes = sync();
|
||||
Map<String, State> changes = _simMgr.getVmStates(this.hostGuid);
|
||||
List<Object> info = getHostInfo();
|
||||
|
||||
StartupRoutingCommand cmd = new StartupRoutingCommand((Integer) info.get(0), (Long) info.get(1), (Long) info.get(2), (Long) info.get(4), (String) info.get(3), HypervisorType.Simulator,
|
||||
|
|
|
|||
Loading…
Reference in New Issue