Send StopCommand(Cleanup) if out-of-band power-off VM is detected.
move HA rescheduling operation to HA worker context.
HA manager to check target state of the VM to make decisions on whether or not to carry on a cheduled step. Fix NPE in capacity manager when releasing capacity of a stopped VM.
Restore to old HA logic, but suppress VM state change on resource state report to avoid interferring HA.
Seperate job executor pools to avoid thread starvation situation.
perform VM HA based on agent state report.
Do not use row lock in sync-queue scheduling to work around mysql locking issues.
BUG-ID: CS-19196: Relax HA work termination rule on exceptions. It could cause premature HA termination due to unhandled exceptions. Reviewed-By:Anthony
Give graceful state transition period to live with race-condition on VM startup time
Handle a race-condition in VirtualNetworkManagerImpl.java in the process of starting it parallelly.
A typo that leads to opposite decision on determine whether or not to notify out-of-band VM state changes.