Bug #62650
closed
Hey Zack the testnodes ansible role adds that new ssh key
adam kraitman wrote:
Hey Zack the testnodes ansible role adds that new ssh key
Right. The issue is that the jobs are failing before they can even run ansible.
While testing a teuthology branch that intends to improve error handling and logging during SSH connection attempts, I ran a journalctl -f
on a testnode while a job was about to fail to the `EOFError` issue.
http://qa-proxy.ceph.com/teuthology/zack-2023-08-31_18:49:42-smoke-main-distro-default-smithi/7385977/teuthology.log
<snip>
2023-08-31T18:58:34.920 DEBUG:teuthology.orchestra.connection:{'hostname': 'smithi033.front.sepia.ceph.com', 'username': 'ubuntu', 'timeout': 60}
2023-08-31T18:58:34.938 ERROR:teuthology.orchestra.connection:Error authenticating with smithi033.front.sepia.ceph.com: EOFError
2023-08-31T18:58:38.959 ERROR:teuthology.orchestra.connection:Error authenticating with smithi033.front.sepia.ceph.com: EOFError
2023-08-31T18:58:45.983 ERROR:teuthology.orchestra.connection:Error authenticating with smithi033.front.sepia.ceph.com: EOFError
2023-08-31T18:58:56.011 ERROR:teuthology.orchestra.connection:Error authenticating with smithi033.front.sepia.ceph.com: EOFError
2023-08-31T18:59:09.039 ERROR:teuthology.orchestra.connection:Error authenticating with smithi033.front.sepia.ceph.com: EOFError
2023-08-31T18:59:25.072 ERROR:teuthology.orchestra.connection:Error authenticating with smithi033.front.sepia.ceph.com: EOFError
2023-08-31T18:59:44.109 ERROR:teuthology.orchestra.connection:Error authenticating with smithi033.front.sepia.ceph.com: EOFError
2023-08-31T19:00:06.149 ERROR:teuthology.orchestra.connection:Error authenticating with smithi033.front.sepia.ceph.com: EOFError
2023-08-31T19:00:31.192 ERROR:teuthology.orchestra.connection:Error authenticating with smithi033.front.sepia.ceph.com: EOFError
2023-08-31T19:00:59.236 ERROR:teuthology.orchestra.connection:Error authenticating with smithi033.front.sepia.ceph.com: EOFError
2023-08-31T19:00:59.237 ERROR:teuthology.run_tasks:Saw exception from tasks.
<snip>
And from the journal:
Aug 31 19:00:06 smithi033 sshd[6847]: rexec line 27: Deprecated option UsePrivilegeSeparation
Aug 31 19:00:06 smithi033 sshd[6847]: main: sshd: ssh-rsa algorithm is disabled
Aug 31 19:00:06 smithi033 sshd[6847]: fatal: mm_answer_sign: sign: error in libcrypto
Aug 31 19:00:25 smithi033 systemd[1]: systemd-hostnamed.service: Deactivated successfully.
Aug 31 19:00:31 smithi033 sshd[6852]: rexec line 27: Deprecated option UsePrivilegeSeparation
Aug 31 19:00:31 smithi033 sshd[6852]: main: sshd: ssh-rsa algorithm is disabled
Aug 31 19:00:31 smithi033 sshd[6852]: fatal: mm_answer_sign: sign: error in libcrypto
Aug 31 19:00:59 smithi033 sshd[6854]: rexec line 27: Deprecated option UsePrivilegeSeparation
Aug 31 19:00:59 smithi033 sshd[6854]: main: sshd: ssh-rsa algorithm is disabled
Aug 31 19:00:59 smithi033 sshd[6854]: fatal: mm_answer_sign: sign: error in libcrypto
What I'd done yesterday was generate a new ed25519 key for teuthworker; it may need to be pulled into the FOG image for centos 9 to become effective, though.
I've recreated the fog image with the new teuthworker key included. A nop test on centos9 ran as teuthworker@teuthology (archive dir left on teuthology for examination if necessary).
- Status changed from In Progress to Resolved
Also available in: Atom
PDF