From 884867989aca3280393ef0acf1fdd138191b5210 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Tue, 25 Oct 2022 20:01:51 +0000 Subject: [PATCH] Reduce second wait and add hook after --- bootstrap-daemon/pvcbootstrapd/lib/redfish.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bootstrap-daemon/pvcbootstrapd/lib/redfish.py b/bootstrap-daemon/pvcbootstrapd/lib/redfish.py index d76d535..6add090 100755 --- a/bootstrap-daemon/pvcbootstrapd/lib/redfish.py +++ b/bootstrap-daemon/pvcbootstrapd/lib/redfish.py @@ -748,10 +748,11 @@ def redfish_init(config, cspec, data): return notifications.send_webhook(config, "success", f"Cluster {cspec_cluster}: Logged in to Redfish for host {cspec_fqdn} at {bmc_host}") - logger.info("Waiting 60 seconds for system normalization") - sleep(60) + logger.info("Waiting 5 seconds for system normalization") + sleep(5) logger.info("Characterizing node...") + notifications.send_webhook(config, "begin", f"Cluster {cspec_cluster}: Beginning Redfish characterization of host {cspec_fqdn} at {bmc_host}") try: # Get Refish bases