Skip to content
Permalink
Browse files
fix: added reboot on badfish fail
a host was getting stuck for not being able to clear the job queue
via badfish. added reboot on exception for job queue clear up.

Change-Id: I44543c55846e62d1c492361162d84646435d35ec
  • Loading branch information
grafuls committed Nov 18, 2019
1 parent 198b5ef commit fce21f2aff9968198649da6cf7bb60777ec5e509
Showing with 1 addition and 0 deletions.
  1. +1 −0 quads/tools/move_and_rebuild_hosts.py
@@ -230,6 +230,7 @@ async def move_and_rebuild(host, old_cloud, new_cloud, semaphore, rebuild=False,
await badfish.reboot_server(graceful=False)
except BadfishException:
logger.error(f"Error setting PXE boot via Badfish on {host}.")
await badfish.reboot_server(graceful=False)
return False
else:
if is_supermicro(host):

0 comments on commit fce21f2

Please sign in to comment.