Dogface2k commented on code in PR #13811:
URL: https://github.com/apache/cloudstack/pull/13811#discussion_r3749022740
##########
server/src/main/java/com/cloud/ha/HighAvailabilityManagerImpl.java:
##########
@@ -600,6 +605,11 @@ protected Long restart(final HaWorkVO work) {
logger.info("Unable to find vm: " + vmId);
return null;
}
+ if (VirtualMachine.State.Error.equals(vm.getState())) {
+ logger.info("Skipping HA restart for VM {} because it is in Error
state", vm);
+ return null;
+ }
Review Comment:
looking at.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]