From 6acacc153cc95e8bcf88fa72de53d4817a2a1630 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Thu, 7 Jul 2022 17:15:38 +0000 Subject: [PATCH] Move delay further --- bootstrap-daemon/pvcbootstrapd/lib/redfish.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bootstrap-daemon/pvcbootstrapd/lib/redfish.py b/bootstrap-daemon/pvcbootstrapd/lib/redfish.py index 1ab026d..89e218f 100755 --- a/bootstrap-daemon/pvcbootstrapd/lib/redfish.py +++ b/bootstrap-daemon/pvcbootstrapd/lib/redfish.py @@ -745,6 +745,10 @@ def redfish_init(config, cspec, data): notifications.send_webhook(config, "success", f"Cluster {cspec_cluster}: Logged in to Redfish for host {cspec_fqdn} at {bmc_host}") logger.info("Characterizing node...") + + logger.info("Waiting 60 seconds for system normalization") + sleep(60) + # Get Refish bases logger.debug("Getting redfish bases") redfish_base_root = "/redfish/v1" @@ -767,9 +771,6 @@ def redfish_init(config, cspec, data): set_power_state(session, system_root, redfish_vendor, "off") set_indicator_state(session, system_root, redfish_vendor, "on") - logger.info("Waiting 60 seconds for system normalization") - sleep(60) - # Get the system details logger.debug("Get the system details") system_detail = session.get(system_root)