Reduce second wait and add hook after

This commit is contained in:
Joshua Boniface 2022-10-25 20:01:51 +00:00
parent 08ba856288
commit 884867989a
1 changed files with 3 additions and 2 deletions

View File

@ -748,10 +748,11 @@ def redfish_init(config, cspec, data):
return return
notifications.send_webhook(config, "success", f"Cluster {cspec_cluster}: Logged in to Redfish for host {cspec_fqdn} at {bmc_host}") 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") logger.info("Waiting 5 seconds for system normalization")
sleep(60) sleep(5)
logger.info("Characterizing node...") logger.info("Characterizing node...")
notifications.send_webhook(config, "begin", f"Cluster {cspec_cluster}: Beginning Redfish characterization of host {cspec_fqdn} at {bmc_host}")
try: try:
# Get Refish bases # Get Refish bases