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 8 years ago. Updated almost 6 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 #1

Updated by The Foreman Bot about 8 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/smart_proxy_remote_execution_ssh/pull/20 added
Actions #2

Updated by Ivan Necas about 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by The Foreman Bot about 8 years ago

  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/155 added
Actions #4

Updated by Marek Hulán about 8 years ago

  • Category set to Smart Proxy - SSH
  • translation missing: en.field_release set to 128
Actions

Also available in: Atom PDF