Project

General

Profile

Actions

Bug #80665

closed
SS DG

"Error reading SSH protocol banner" when teuth-worker trying to connect to a trial test node

Bug #80665: "Error reading SSH protocol banner" when teuth-worker trying to connect to a trial test node

Added by Sridhar Seshasayee 2 months ago. Updated 2 months ago.

Status:
Rejected
Priority:
Normal
Category:
-
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Tags (freeform):

Description

/a/skanta-2026-09-18_01:01:10-rados-wip-bharath20-testing-20260917.152243-tentacle-distro-default-trial/565319

Traceback:

...
2026-09-18T01:24:54.585 INFO:teuthology.run_tasks:Running task ansible.cephlab...
2026-09-18T01:24:54.601 INFO:teuthology.repo_utils:enforce_repo_state dest_clone=/home/teuthworker/src/git.ceph.com_ceph-cm-ansible dest_path=/home/teuthworker/src/git.ceph.com_ceph-cm-ansible_main repo_url=https://git.ceph.com/ceph-cm-ansible.git branch=main commit=None
2026-09-18T01:24:54.601 DEBUG:teuthology.repo_utils:Using bare clone methodology at /home/teuthworker/src/git.ceph.com_ceph-cm-ansible
2026-09-18T01:24:54.601 INFO:teuthology.repo_utils:Fetching into bare repo /home/teuthworker/src/git.ceph.com_ceph-cm-ansible from https://git.ceph.com/ceph-cm-ansible.git (branch: main, commit: None)
2026-09-18T01:24:54.601 DEBUG:teuthology.repo_utils:Commit not present or not specified; fetching from remote
2026-09-18T01:24:54.601 DEBUG:teuthology.repo_utils:Executing command: git fetch --update-shallow https://git.ceph.com/ceph-cm-ansible.git main
2026-09-18T01:24:54.696 DEBUG:teuthology.repo_utils:Fetch successful
2026-09-18T01:24:54.696 DEBUG:teuthology.repo_utils:Pruning stale worktrees in bare repo /home/teuthworker/src/git.ceph.com_ceph-cm-ansible
2026-09-18T01:24:54.696 DEBUG:teuthology.repo_utils:Executing command: git worktree prune
2026-09-18T01:24:54.700 INFO:teuthology.repo_utils:Setting up worktree at /home/teuthworker/src/git.ceph.com_ceph-cm-ansible_main from bare repo /home/teuthworker/src/git.ceph.com_ceph-cm-ansible using ref FETCH_HEAD
2026-09-18T01:24:54.700 DEBUG:teuthology.repo_utils:Executing command: git rev-parse FETCH_HEAD
2026-09-18T01:24:54.702 DEBUG:teuthology.repo_utils:Workspace directory /home/teuthworker/src/git.ceph.com_ceph-cm-ansible_main already exists, resetting it to 1aab20c2bf88b5200dfd113d3758f1d7426264d1
2026-09-18T01:24:54.703 DEBUG:teuthology.repo_utils:Executing command: git reset --hard 1aab20c2bf88b5200dfd113d3758f1d7426264d1
2026-09-18T01:24:54.711 INFO:teuthology.task.ansible:Playbook: [{'import_playbook': 'ansible_managed.yml'}, {'import_playbook': 'teuthology.yml'}, {'hosts': 'testnodes', 'tasks': [{'set_fact': {'ran_from_cephlab_playbook': True}}]}, {'import_playbook': 'testnodes.yml'}, {'import_playbook': 'container-host.yml'}, {'import_playbook': 'cobbler.yml'}, {'import_playbook': 'paddles.yml'}, {'import_playbook': 'pulpito.yml'}, {'hosts': 'testnodes', 'become': True, 'tasks': [{'name': 'Touch /ceph-qa-ready', 'file': {'path': '/ceph-qa-ready', 'state': 'touch'}, 'when': 'ran_from_cephlab_playbook|bool'}]}]
2026-09-18T01:24:54.712 DEBUG:teuthology.task.ansible:Running ansible-playbook -v --extra-vars '{"ansible_ssh_user": "ubuntu"}' -i /etc/ansible/hosts --limit trial176.front.sepia.ceph.com /home/teuthworker/src/git.ceph.com_ceph-cm-ansible_main/cephlab.yml   
2026-09-18T01:26:39.728 DEBUG:teuthology.task.ansible:Reconnecting to [Remote(name='[email protected]')]
2026-09-18T01:26:39.730 INFO:teuthology.orchestra.remote:Trying to reconnect to host '[email protected]'
2026-09-18T01:26:39.732 DEBUG:teuthology.orchestra.connection:{'hostname': 'trial176.front.sepia.ceph.com', 'username': 'ubuntu', 'timeout': 60}
2026-09-18T01:26:39.734 ERROR:paramiko.transport:Exception (client): Error reading SSH protocol banner
2026-09-18T01:26:39.736 ERROR:paramiko.transport:Traceback (most recent call last):
2026-09-18T01:26:39.736 ERROR:paramiko.transport:  File "/home/teuthworker/src/git.ceph.com_teuthology_d01ebb60038c168f6d50fa761c12186c3c882971/.venv/lib/python3.12/site-packages/paramiko/transport.py", line 2213, in _check_banner
2026-09-18T01:26:39.736 ERROR:paramiko.transport:    buf = self.packetizer.readline(timeout)
2026-09-18T01:26:39.736 ERROR:paramiko.transport:          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-09-18T01:26:39.736 ERROR:paramiko.transport:  File "/home/teuthworker/src/git.ceph.com_teuthology_d01ebb60038c168f6d50fa761c12186c3c882971/.venv/lib/python3.12/site-packages/paramiko/packet.py", line 395, in readline
2026-09-18T01:26:39.736 ERROR:paramiko.transport:    buf += self._read_timeout(timeout)
2026-09-18T01:26:39.736 ERROR:paramiko.transport:           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-09-18T01:26:39.736 ERROR:paramiko.transport:  File "/home/teuthworker/src/git.ceph.com_teuthology_d01ebb60038c168f6d50fa761c12186c3c882971/.venv/lib/python3.12/site-packages/paramiko/packet.py", line 665, in _read_timeout
2026-09-18T01:26:39.736 ERROR:paramiko.transport:    raise EOFError()
2026-09-18T01:26:39.736 ERROR:paramiko.transport:EOFError
2026-09-18T01:26:39.736 ERROR:paramiko.transport:
2026-09-18T01:26:39.736 ERROR:paramiko.transport:During handling of the above exception, another exception occurred:
2026-09-18T01:26:39.736 ERROR:paramiko.transport:
2026-09-18T01:26:39.736 ERROR:paramiko.transport:Traceback (most recent call last):
2026-09-18T01:26:39.736 ERROR:paramiko.transport:  File "/home/teuthworker/src/git.ceph.com_teuthology_d01ebb60038c168f6d50fa761c12186c3c882971/.venv/lib/python3.12/site-packages/paramiko/transport.py", line 2029, in run
2026-09-18T01:26:39.736 ERROR:paramiko.transport:    self._check_banner()
2026-09-18T01:26:39.736 ERROR:paramiko.transport:  File "/home/teuthworker/src/git.ceph.com_teuthology_d01ebb60038c168f6d50fa761c12186c3c882971/.venv/lib/python3.12/site-packages/paramiko/transport.py", line 2217, in _check_banner
2026-09-18T01:26:39.736 ERROR:paramiko.transport:    raise SSHException(
2026-09-18T01:26:39.736 ERROR:paramiko.transport:paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
2026-09-18T01:26:39.736 ERROR:paramiko.transport:
2026-09-18T01:26:39.736 ERROR:teuthology.orchestra.connection:Error authenticating with trial176.front.sepia.ceph.com: SSHException('Error reading SSH protocol banner') (No SSH private key found!)
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_teuthology_d01ebb60038c168f6d50fa761c12186c3c882971/.venv/lib/python3.12/site-packages/paramiko/transport.py", line 2213, in _check_banner
    buf = self.packetizer.readline(timeout)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/teuthworker/src/git.ceph.com_teuthology_d01ebb60038c168f6d50fa761c12186c3c882971/.venv/lib/python3.12/site-packages/paramiko/packet.py", line 395, in readline
    buf += self._read_timeout(timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/teuthworker/src/git.ceph.com_teuthology_d01ebb60038c168f6d50fa761c12186c3c882971/.venv/lib/python3.12/site-packages/paramiko/packet.py", line 665, in _read_timeout
    raise EOFError()
EOFError

JP Updated by Jaya Prakash 2 months ago Actions #1

/a/skanta-2026-09-18_10:03:55-rados-wip-bharath23-testing-20260918.000104-umbrella-distro-default-trial/567057

DG Updated by David Galloway 2 months ago Actions #2

  • Status changed from New to In Progress
  • Assignee set to David Galloway

DG Updated by David Galloway 2 months ago Actions #3

  • Status changed from In Progress to Rejected

565319: The banner error is expected paramiko retry noise whenever teuthology reconnects while a node is still booting. The real error is in rados/singleton/all/rebuild-mondb. This is a test or code issue, not infra. https://tracker.ceph.com/issues/79946

567057: Same thing. Expected banner "error." The job died in rados/cephadm/osds/.../rmdir-reactivate. Again, not infra. https://tracker.ceph.com/issues/78780

Actions

Also available in: PDF Atom