Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reboot: Add timeout in error to help troubleshooting #47216

Merged
merged 2 commits into from
Oct 18, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/ansible/plugins/action/reboot.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def do_until_success_or_timeout(self, action, reboot_timeout, action_desc):
fail_count += 1
time.sleep(fail_sleep)

raise TimedOutException('Timed out waiting for %s' % (action_desc))
raise TimedOutException('Timed out waiting for %s (timeout=%s)' % (action_desc, reboot_timeout))

def perform_reboot(self):
display.debug("%s: rebooting server" % self._task.action)
Expand Down