TestServerBasicOps failing on gate: SSHException: Error reading SSH protocol banner

Bug #1827121 reported by Rafael Folco
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Arx Cruz

Bug Description

http://logs.openstack.org/07/651507/14/gate/tripleo-ci-centos-7-standalone/c7a2fed/logs/undercloud/home/zuul/tempest/tempest.html.gz

http://logs.openstack.org/39/653939/9/gate/tripleo-ci-centos-7-standalone/a76dca3/logs/undercloud/home/zuul/tempest/tempest.html.gz

tempest.scenario.test_server_basic_ops.TestServerBasicOps

2019-04-30 16:20:14,027 88 INFO [tempest.lib.common.ssh] Creating ssh connection to '192.168.24.109:22' as 'cirros' with public key authentication
2019-04-30 16:20:45,097 88 ERROR [paramiko.transport] Exception: Error reading SSH protocol banner
2019-04-30 16:20:45,104 88 ERROR [paramiko.transport] Traceback (most recent call last):
2019-04-30 16:20:45,104 88 ERROR [paramiko.transport] File "/usr/lib/python2.7/site-packages/paramiko/transport.py", line 1966, in run
2019-04-30 16:20:45,104 88 ERROR [paramiko.transport] self._check_banner()
2019-04-30 16:20:45,105 88 ERROR [paramiko.transport] File "/usr/lib/python2.7/site-packages/paramiko/transport.py", line 2143, in _check_banner
2019-04-30 16:20:45,105 88 ERROR [paramiko.transport] "Error reading SSH protocol banner" + str(e)
2019-04-30 16:20:45,105 88 ERROR [paramiko.transport] SS

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/tempest/common/utils/__init__.py", line 89, in wrapper
    return f(*func_args, **func_kwargs)
  File "/usr/lib/python2.7/site-packages/tempest/scenario/test_server_basic_ops.py", line 135, in test_server_basic_ops
    self.verify_ssh(keypair)
  File "/usr/lib/python2.7/site-packages/tempest/scenario/test_server_basic_ops.py", line 65, in verify_ssh
    server=self.instance)
  File "/usr/lib/python2.7/site-packages/tempest/scenario/manager.py", line 443, in get_remote_client
    linux_client.validate_authentication()
  File "/usr/lib/python2.7/site-packages/tempest/lib/common/utils/linux/remote_client.py", line 60, in wrapper
    six.reraise(*original_exception)
  File "/usr/lib/python2.7/site-packages/tempest/lib/common/utils/linux/remote_client.py", line 33, in wrapper
    return function(self, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/tempest/lib/common/utils/linux/remote_client.py", line 116, in validate_authentication
    self.ssh_client.test_connection_auth()
  File "/usr/lib/python2.7/site-packages/tempest/lib/common/ssh.py", line 207, in test_connection_auth
    connection = self._get_ssh_connection()
  File "/usr/lib/python2.7/site-packages/tempest/lib/common/ssh.py", line 121, in _get_ssh_connection
    password=self.password)
tempest.lib.exceptions.SSHTimeout: Connection to the 192.168.24.109 via SSH timed out.
User: cirros, Password: None

=== cirros console ===

Starting network...
udhcpc (v1.20.1) started
Sending discover...
Sending select for 10.100.0.4...
Lease of 10.100.0.4 obtained, lease time 43200
sh: write error: No space left on device
sh: write error: No space left on device
route: SIOCADDRT: File exists
WARN: failed: route add -net "0.0.0.0/0" gw "10.100.0.1"
Top of dropbear init script
Starting dropbear sshd: WARN: generating key of type ecdsa failed!
OK

Tags: ci tempest
Revision history for this message
Rafael Folco (rafaelfolco) wrote :

can we please check if this is still valid bug?

wes hayutin (weshayutin)
tags: added: tempest
Revision history for this message
chandan kumar (chkumar246) wrote :

So it was related to old cirros image, now we have updated cirros image to 0.4.0 in tempestconf and here is the tests results from CI.
http://logs.openstack.org/16/662716/2/check/tripleo-ci-centos-7-standalone/4ed6ad1/logs/stestr_results.html -> test_server_basic_ops[compute,id-7fff3fb3-91d8-4fd0-bd7d-0204f1f180ba,network,smoke] -> passed

Closing this bug, still finds the issue, please open it.

Changed in tripleo:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.