sureshanaparti commented on a change in pull request #4978:
URL: https://github.com/apache/cloudstack/pull/4978#discussion_r634363635
##########
File path:
plugins/hypervisors/kvm/src/main/java/org/apache/cloudstack/kvm/ha/KVMHostActivityChecker.java
##########
@@ -81,7 +98,63 @@ public boolean isActive(Host r, DateTime suspectTime) throws
HACheckerException
@Override
public boolean isHealthy(Host r) {
- return isAgentActive(r);
+ boolean isHealthy = true;
+ boolean isHostServedByNfsPool = isHostServedByNfsPool(r);
+ boolean isKvmHaWebserviceEnabled = isKvmHaWebserviceEnabled(r);
+
+ isHealthy = isHealthViaNfs(r);
+
+ if (!isKvmHaWebserviceEnabled) {
+ return isHealthy;
+ }
+
+ //TODO
Review comment:
an empty TODO here, may be not required.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]