Add startup message for IPMI reachability

It's good to know that this succeeded in addition to knowing if it
failed.
This commit is contained in:
Joshua Boniface 2023-09-16 22:41:58 -04:00
parent 1a906b589e
commit 86115b2928
1 changed files with 6 additions and 1 deletions

View File

@ -324,9 +324,14 @@ def entrypoint():
config["ipmi_hostname"], config["ipmi_username"], config["ipmi_password"]
):
logger.out(
"Our IPMI is not reachable; fencing of this node will likely fail",
"Our IPMI interface is not reachable; fencing of this node will fail until corrected",
state="w",
)
else:
logger.out(
"Our IPMI interface is reachable; fencing of this node is possible",
state="o",
)
# Validate libvirt
if not pvcnoded.util.libvirt.validate_libvirtd(logger, config):