Wily validation failing due to paramiko SSHException: Incompatible ssh peer (no acceptable kex algorithm)

Bug #1544727 reported by Ryan Beisner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-openstack-ci
Fix Released
High
Ryan Beisner

Bug Description

Wily validation failing due to paramiki SSHException: Incompatible ssh peer (no acceptable kex algorithm)

This started in the past few days, though I've not pinned it down to a particular cause. Appears to be >= Wily only. Same code works everywhere else, and used to work against Wily deployments.

0:33:29.789 INFO:root:Socket connect OK for 172.17.119.187 port 22.
00:33:29.808 ERROR:paramiko.transport:Exception: Incompatible ssh peer (no acceptable kex algorithm)
00:33:29.809 ERROR:paramiko.transport:Traceback (most recent call last):
00:33:29.810 ERROR:paramiko.transport: File "/usr/lib/python2.7/dist-packages/paramiko/transport.py", line 1585, in run
00:33:29.810 ERROR:paramiko.transport: self._handler_table[ptype](self, m)
00:33:29.810 ERROR:paramiko.transport: File "/usr/lib/python2.7/dist-packages/paramiko/transport.py", line 1664, in _negotiate_keys
00:33:29.810 ERROR:paramiko.transport: self._parse_kex_init(m)
00:33:29.810 ERROR:paramiko.transport: File "/usr/lib/python2.7/dist-packages/paramiko/transport.py", line 1779, in _parse_kex_init
00:33:29.810 ERROR:paramiko.transport: raise SSHException('Incompatible ssh peer (no acceptable kex algorithm)')
00:33:29.812 ERROR:paramiko.transport:SSHException: Incompatible ssh peer (no acceptable kex algorithm)
00:33:29.812 ERROR:paramiko.transport:
00:33:29.812 ERROR:root:SSH session connect FAILED for host 172.17.119.187 (Incompatible ssh peer (no acceptable kex algorithm))
00:33:29.824 WARNING:root:SSH command check FAIL for 172.17.119.187
00:33:30.828 INFO:root:Ping OK for: 172.17.119.187

Tags: uosci
Ryan Beisner (1chb1n)
summary: - Wily validation failing due to paramiki SSHException: Incompatible ssh
+ Wily validation failing due to paramiko SSHException: Incompatible ssh
peer (no acceptable kex algorithm)
Changed in ubuntu-openstack-ci:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Ryan Beisner (1chb1n)
Revision history for this message
Ryan Beisner (1chb1n) wrote :

https://github.com/paramiko/paramiko/issues/423

trusty (14.04LTS) (python): Make ssh v2 connections with Python (Python 2)
1.10.1-1git1build1: all
vivid (python): Make ssh v2 connections with Python (Python 2)
1.15.1-1: all
wily (python): Make ssh v2 connections with Python (Python 2)
1.15.2-1: all
xenial (python): Make ssh v2 connections with Python (Python 2)
1.15.3-1: all

Revision history for this message
Ryan Beisner (1chb1n) wrote :

ftw:

sudo apt-get install python-ecdsa -y && wget http://ge.archive.ubuntu.com/ubuntu/pool/main/p/paramiko/python-paramiko_1.15.1-1_all.deb && sudo dpkg -i python-paramiko_1.15.1-1_all.deb

Revision history for this message
Ryan Beisner (1chb1n) wrote :

paramiko on trusty has known issues with servers running newer sshd versions. We got lucky, and the Wily package installed on trusty with only a little extra work.

Changed in ubuntu-openstack-ci:
status: Confirmed → Fix Committed
status: Fix Committed → 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.