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:
parent
1a906b589e
commit
86115b2928
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue