Correct messages for install start/finish

This commit is contained in:
Joshua Boniface 2022-07-07 17:45:27 +00:00
parent 0b026faaca
commit a30c94bcb4
1 changed files with 2 additions and 2 deletions

View File

@ -93,13 +93,13 @@ def host_checkin(config, data):
if data["action"] in ["install-start"]: if data["action"] in ["install-start"]:
# Node install has started # Node install has started
logger.info(f"Registering install start for host {cspec_fqdn}") logger.info(f"Registering install start for host {cspec_fqdn}")
notifications.send_webhook(config, "begin", f"Cluster {cspec_cluster}: starting starting for host {cspec_fqdn}") notifications.send_webhook(config, "begin", f"Cluster {cspec_cluster}: Base install starting for host {cspec_fqdn}")
host.installer_init(config, cspec, data) host.installer_init(config, cspec, data)
elif data["action"] in ["install-complete"]: elif data["action"] in ["install-complete"]:
# Node install has finished # Node install has finished
logger.info(f"Registering install complete for host {cspec_fqdn}") logger.info(f"Registering install complete for host {cspec_fqdn}")
notifications.send_webhook(config, "success", f"Cluster {cspec_cluster}: install completed for host {cspec_fqdn}") notifications.send_webhook(config, "success", f"Cluster {cspec_cluster}: Base install completed for host {cspec_fqdn}")
host.installer_complete(config, cspec, data) host.installer_complete(config, cspec, data)
elif data["action"] in ["system-boot_initial"]: elif data["action"] in ["system-boot_initial"]: