Project

General

Profile

Actions

Bug #13491

closed

Rebooting a host from the script immediately causes Net::SSH:Disconect error and not finishing the task properly

Added by Ivan Necas about 9 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Smart Proxy - SSH
Fixed in Releases:
Found in Releases:

Description

1. run `reboot` as a custom command
2. the task is pending, even though the machine is already restating

Ideally, I would like to somehow finish the script gracefully, even when I want to reboot the machine.
The best solution so far is `shutdown -r +1`, but there is still 1 minute delay. Anyway,
for unexpected disconnections, we need to handle the reporting properly.

Actions

Also available in: Atom PDF