Only fail tenant host nodes with failure reports
@@ -215,6 +215,7 @@ public class NodeFailer extends Maintainer {
nodesByFailureReason.put(node, "Node has hardware failure: " + node.status().hardwareFailureDescription().get());
} else {
Node hostNode = node.parentHostname().flatMap(parent -> nodeRepository().getNode(parent)).orElse(node);
+ if (hostNode.type() == NodeType.host) {
List<String> failureReports = reasonsToRetireActiveParentHost(hostNode);
if (failureReports.size() > 0) {
if (hostNode.equals(node)) {
@@ -226,6 +227,7 @@ public class NodeFailer extends Maintainer {
}
}
}
+ }
return nodesByFailureReason;
}
