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. (cherry picked from commit 65526eee33fbd98a9943b9dfce7a1a0c7577caeb)
This commit is contained in:
parent
91320e481c
commit
58ea286166
|
|
@ -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