Skip to content
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/
@@ -230,6 +230,7 @@ def switch_config(host, old_cloud, new_cloud):
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
if is_supermicro(host):

0 comments on commit fce21f2

Please sign in to comment.
You can’t perform that action at this time.