Project

General

Profile

Actions

Support #40705

closed

Unable to lock teuthology machine due to SSH error.

Added by Sridhar Seshasayee almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
% Done:

0%

Tags:
Reviewed:
Affected Versions:

Description

My user ID is sseshasa and I recently set up vpn access to sepia lab.
I am getting the following error when I run teuthology-lock from teuthology.front.sepia.ceph.com

NOTE:
- I have copied the id_rsa.pub from my laptop to ~/.ssh directory on teuthology.front.sepia.ceph.com
- The above is the same key I submitted for getting vpn access.

Here's the error from the teuthology-lock command,

sseshasa@teuthology:~/teuthology$ ~/teuthology/virtualenv/bin/teuthology-lock --lock-many 1 --machine-type mira | tee ~/targets.yaml
2019-07-09 18:38:08,815.815 INFO:teuthology.provision.fog.mira061:Scheduling deploy of ubuntu 18.04
2019-07-09 18:38:09,084.084 INFO:teuthology.orchestra.console:Power off mira061
2019-07-09 18:38:17,457.457 INFO:teuthology.orchestra.console:Power off for mira061 completed
2019-07-09 18:38:17,558.558 INFO:teuthology.orchestra.console:Power on mira061
2019-07-09 18:38:25,925.925 INFO:teuthology.orchestra.console:Power on for mira061 completed
2019-07-09 18:38:26,026.026 INFO:teuthology.provision.fog.mira061:Waiting for deploy to finish
/home/sseshasa/teuthology/virtualenv/local/lib/python2.7/site-packages/paramiko/ecdsakey.py:164: CryptographyDeprecationWarning: Support for unsafe construction of public numbers from encoded data will be removed in a future version. Please use EllipticCurvePublicKey.from_encoded_point
self.ecdsa_curve.curve_class(), pointinfo
2019-07-09 18:43:04,912.912 ERROR:paramiko.transport:Socket exception: Connection reset by peer (104)
2019-07-09 18:43:19,994.994 ERROR:paramiko.transport:Socket exception: Connection reset by peer (104)
/home/sseshasa/teuthology/virtualenv/local/lib/python2.7/site-packages/paramiko/kex_ecdh_nist.py:39: CryptographyDeprecationWarning: encode_point has been deprecated on EllipticCurvePublicNumbers and will be removed in a future version. Please use EllipticCurvePublicKey.public_bytes to obtain both compressed and uncompressed point encoding.
m.add_string(self.Q_C.public_numbers().encode_point())
/home/sseshasa/teuthology/virtualenv/local/lib/python2.7/site-packages/paramiko/kex_ecdh_nist.py:96: CryptographyDeprecationWarning: Support for unsafe construction of public numbers from encoded data will be removed in a future version. Please use EllipticCurvePublicKey.from_encoded_point
self.curve, Q_S_bytes
/home/sseshasa/teuthology/virtualenv/local/lib/python2.7/site-packages/paramiko/kex_ecdh_nist.py:111: CryptographyDeprecationWarning: encode_point has been deprecated on EllipticCurvePublicNumbers and will be removed in a future version. Please use EllipticCurvePublicKey.public_bytes to obtain both compressed and uncompressed point encoding.
hm.add_string(self.Q_C.public_numbers().encode_point())
/home/sseshasa/teuthology/virtualenv/local/lib/python2.7/site-packages/cryptography/hazmat/backends/openssl/ciphers.py:114: UserWarning: implicit cast from 'char *' to a different pointer type: will be forbidden in the future (check that the types are as you expect; use an explicit ffi.cast() if they are correct)
operation
2019-07-09 18:44:26,356.356 ERROR:paramiko.transport:Exception: Error reading SSH protocol banner
2019-07-09 18:44:26,356.356 ERROR:paramiko.transport:Traceback (most recent call last):
2019-07-09 18:44:26,356.356 ERROR:paramiko.transport: File "/home/sseshasa/teuthology/virtualenv/local/lib/python2.7/site-packages/paramiko/transport.py", line 1966, in run
2019-07-09 18:44:26,357.357 ERROR:paramiko.transport: self._check_banner()
2019-07-09 18:44:26,357.357 ERROR:paramiko.transport: File "/home/sseshasa/teuthology/virtualenv/local/lib/python2.7/site-packages/paramiko/transport.py", line 2143, in _check_banner
2019-07-09 18:44:26,357.357 ERROR:paramiko.transport: "Error reading SSH protocol banner" + str(e)
2019-07-09 18:44:26,357.357 ERROR:paramiko.transport:SSHException: Error reading SSH protocol banner

The above SSH protocol banner error keeps showing up in a loop. I tried running the above command multiple times but get the same error.
I suspect something is wrongly configured. Therefore, I am not certain if this is a bug and am raising a support ticket.

Please let me know if my configuration is proper and how to fix this.

Thanks!

-Sridhar

Actions

Also available in: Atom PDF