From 86115b2928b817bf958cecae542cc24836927205 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sat, 16 Sep 2023 22:41:58 -0400 Subject: [PATCH] Add startup message for IPMI reachability It's good to know that this succeeded in addition to knowing if it failed. --- node-daemon/pvcnoded/Daemon.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/node-daemon/pvcnoded/Daemon.py b/node-daemon/pvcnoded/Daemon.py index 8fb0c43c..7678a649 100644 --- a/node-daemon/pvcnoded/Daemon.py +++ b/node-daemon/pvcnoded/Daemon.py @@ -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):