Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • reboot in remote execution job on RHEL6 clients cause job to fail

    Posted on

    I have an issue on RHEL6 hosts with all jobs that do a reboot in a post script.
    Seems like the job task is waiting for all spawned processes to exit completely before it exits the SSH session.

    If I do a reboot it means the job with fail and output:

     231:Broadcast message from someone@somewhere
     232:(/dev/pts/0) at 5:04 ...
     233:
     234:The system is going down for reboot NOW!
     235:Failed to refresh the connector
     236:Net::SSH::Disconnect connection closed by remote host
     237:Exit status: EXCEPTION
    

    Same issue if a do a "/sbin/shutdown -r 1" or a "nohup /sbin/shutdown -r 1 &".
    This problem does not occurr on RHEL7 hosts.

    Any idea how to do a reboot without causing the job to fail?

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat