Move delay further
This commit is contained in:
parent
668b5c9939
commit
6acacc153c
|
@ -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}")
|
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("Characterizing node...")
|
||||||
|
|
||||||
|
logger.info("Waiting 60 seconds for system normalization")
|
||||||
|
sleep(60)
|
||||||
|
|
||||||
# Get Refish bases
|
# Get Refish bases
|
||||||
logger.debug("Getting redfish bases")
|
logger.debug("Getting redfish bases")
|
||||||
redfish_base_root = "/redfish/v1"
|
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_power_state(session, system_root, redfish_vendor, "off")
|
||||||
set_indicator_state(session, system_root, redfish_vendor, "on")
|
set_indicator_state(session, system_root, redfish_vendor, "on")
|
||||||
|
|
||||||
logger.info("Waiting 60 seconds for system normalization")
|
|
||||||
sleep(60)
|
|
||||||
|
|
||||||
# Get the system details
|
# Get the system details
|
||||||
logger.debug("Get the system details")
|
logger.debug("Get the system details")
|
||||||
system_detail = session.get(system_root)
|
system_detail = session.get(system_root)
|
||||||
|
|
Loading…
Reference in New Issue