mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-5696: fix a regression caused by out-of-band sync changes
This commit is contained in:
parent
753b563947
commit
14e399410b
|
|
@ -124,6 +124,7 @@ public interface VirtualMachine extends RunningOn, ControlledEntity, Identity, I
|
|||
s_fsm.addTransition(State.Stopping, VirtualMachine.Event.FollowAgentPowerOffReport, State.Stopped);
|
||||
s_fsm.addTransition(State.Running, VirtualMachine.Event.FollowAgentPowerOffReport, State.Stopped);
|
||||
s_fsm.addTransition(State.Migrating, VirtualMachine.Event.FollowAgentPowerOffReport, State.Stopped);
|
||||
s_fsm.addTransition(State.Stopped, VirtualMachine.Event.FollowAgentPowerOffReport, State.Stopped);
|
||||
}
|
||||
|
||||
public static boolean isVmStarted(State oldState, Event e, State newState) {
|
||||
|
|
|
|||
|
|
@ -475,7 +475,9 @@ public class AsyncJobManagerImpl extends ManagerBase implements AsyncJobManager,
|
|||
if (jobDispatcher != null) {
|
||||
jobDispatcher.runJob(job);
|
||||
} else {
|
||||
s_logger.error("Unable to find a wakeup dispatcher from the joined job: " + job);
|
||||
// TODO, job wakeup is not in use yet
|
||||
if (s_logger.isTraceEnabled())
|
||||
s_logger.trace("Unable to find a wakeup dispatcher from the joined job: " + job);
|
||||
}
|
||||
} else {
|
||||
AsyncJobDispatcher jobDispatcher = getDispatcher(job.getDispatcher());
|
||||
|
|
|
|||
Loading…
Reference in New Issue