Skip to content

Commit

Permalink
client: Reboot deadlocked node
Browse files Browse the repository at this point in the history
If node is stuck w/o network we still have to have a chance to complete hardreset.

Signed-off-by: Dmitry Monakhov <[email protected]>
  • Loading branch information
Dmitry Monakhov authored and lmr committed Oct 5, 2012
1 parent a4eb235 commit 208c47d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/hosts/serial.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def hardreset(self, timeout=DEFAULT_REBOOT_TIMEOUT, wait=True,
# even if the machine comes back up before it's called
try:
old_boot_id = self.get_boot_id()
except error.AutoservSSHTimeout:
except (error.AutoservSSHTimeout, error.AutoservError):
old_boot_id = 'unknown boot_id prior to SerialHost.hardreset'

def reboot():
Expand Down

0 comments on commit 208c47d

Please sign in to comment.