CentOS 7.3.1611 ssh client hangs on remote reboot
by kartheek1610 from LinuxQuestions.org on (#55K50)
Hi,
I am trying to run "ssh root@x.x.x.x reboot" from one of my primary blade to reboot secondary blade. I am executing this command from a perl script using system function.
I see ssh client getting hanged until secondary blade comes up.
From Journal logs i see sshd client sessions not getting SIGTERM to exit on reboot in secondary blade. Interfaces are getting closed first and sshd service is getting stopped by systemd.
Centos details i am using:
uname -r => 3.10.0-862.14.4.el7.x86_64
cat /etc/redhat-release => CentOS Linux release 7.3.1611 (Core)
I could see similar issue which got fixed in Redhat and Debian. But not able to get details for centos.
https://bugzilla.redhat.com/show_bug.cgi?id=626477
https://bugs.debian.org/cgi-bin/bugrepo ... bug=751636
https://bugzilla.redhat.com/show_bug.cgi?id=1047614
Can some one through some light on this and help me in identifying the root cause. Any help you could provide would be much appreciated.
Thanks,
Karthik


I am trying to run "ssh root@x.x.x.x reboot" from one of my primary blade to reboot secondary blade. I am executing this command from a perl script using system function.
I see ssh client getting hanged until secondary blade comes up.
From Journal logs i see sshd client sessions not getting SIGTERM to exit on reboot in secondary blade. Interfaces are getting closed first and sshd service is getting stopped by systemd.
Centos details i am using:
uname -r => 3.10.0-862.14.4.el7.x86_64
cat /etc/redhat-release => CentOS Linux release 7.3.1611 (Core)
I could see similar issue which got fixed in Redhat and Debian. But not able to get details for centos.
https://bugzilla.redhat.com/show_bug.cgi?id=626477
https://bugs.debian.org/cgi-bin/bugrepo ... bug=751636
https://bugzilla.redhat.com/show_bug.cgi?id=1047614
Can some one through some light on this and help me in identifying the root cause. Any help you could provide would be much appreciated.
Thanks,
Karthik