[ https://issues.apache.org/jira/browse/CLOUDSTACK-6065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13896842#comment-13896842 ]
edison su commented on CLOUDSTACK-6065: --------------------------------------- It's a bug in vm sync: 2014-02-09 17:38:43,962 DEBUG [c.c.v.VirtualMachineManagerImpl] (AgentManager-Handler-14:null) VM i-2-13-VM: cs state = Running and realState = Stopped 2014-02-09 17:38:43,962 DEBUG [c.c.v.VirtualMachineManagerImpl] (AgentManager-Handler-14:null) VM i-2-13-VM: cs state = Running and realState = Stopped 2014-02-09 17:38:43,962 DEBUG [c.c.h.HighAvailabilityManagerImpl] (AgentManager-Handler-14:null) VM does not require investigation so I'm marking it as Stopped: VM[User|ha1] 2014-02-09 17:38:43,962 WARN [o.a.c.f.j.AsyncJobExecutionContext] (AgentManager-Handler-14:null) Job is executed without a context, setup psudo job for the executing thread 2014-02-09 17:38:43,962 WARN [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-14:null) Caught: java.lang.NullPointerException at org.apache.cloudstack.framework.jobs.AsyncJobExecutionContext.getCurrentExecutionContext(AsyncJobExecutionContext.java:172) at com.cloud.vm.VirtualMachineManagerImpl.advanceStop(VirtualMachineManagerImpl.java:1299) at com.cloud.ha.HighAvailabilityManagerImpl.scheduleRestart(HighAvailabilityManagerImpl.java:346) at com.cloud.vm.VirtualMachineManagerImpl.compareState(VirtualMachineManagerImpl.java:2816) at com.cloud.vm.VirtualMachineManagerImpl.deltaHostSync(VirtualMachineManagerImpl.java:2422) at com.cloud.vm.VirtualMachineManagerImpl.processCommands(VirtualMachineManagerImpl.java:2952) at com.cloud.agent.manager.AgentManagerImpl.handleCommands(AgentManagerImpl.java:292) at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.processRequest(AgentManagerImpl.java:1184) at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.doTask(AgentManagerImpl.java:1270) at com.cloud.agent.manager.ClusteredAgentManagerImpl$ClusteredAgentHandler.doTask(ClusteredAgentManagerImpl.java:677) at com.cloud.utils.nio.Task.run(Task.java:83) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > No HA for shutdown VM > --------------------- > > Key: CLOUDSTACK-6065 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6065 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server, UI > Affects Versions: 4.3.0 > Environment: CentOS 6.5 Mgmt & HVs, KVM > Reporter: Nux > Labels: ha, kvm > > I create a service offering with HA, launch a VM with it. > I stop the VM from its console or SSH by issuing `poweroff` and the VM is not > started back on. > This is what I see in the management log: > http://fpaste.org/75667/67633139/raw/ > The UI keeps showing this VM as Running. > However, if I force a reboot of its hypervisor ACS does do the right thing > and starts the VM on another HV. -- This message was sent by Atlassian JIRA (v6.1.5#6160)