[Openstack] [Sahara] Sahara can't SSH into instances - can't read SSH protocol banner

Jeremy Freudberg jfreud at bu.edu
Wed Jul 20 15:20:41 UTC 2016


Hi all, I'm having an issue with Sahara accessing its instances. This
is over private IP, not public/floating. I have use_floating_ips =
false and use_namespaces = true in sahara.conf. My setup also uses
Neutron, so use_neutron = true as well.

Here is an excerpt from the logs:

DEBUG sahara.utils.ssh_remote
[req-ad9e16b1-176b-4283-92ea-e2032928e3a0 ] [instance:
f2145fd1-fa9e-4d45-9d61-653bb6d6dd6d, cluster:
6493dfa9-4875-4844-abd4-d425b3312ee4] Returning neutron info: {'host':
u'192.168.201.23', 'tenant': u'jfreud at bu.edu', 'network':
u'433d83c0-1f7f-4fb7-b4a1-995b47344ac4'} get_neutron_info
/usr/lib/python2.7/site-packages/sahara/utils/ssh_remote.py:581

DEBUG sahara.service.engine [req-ad9e16b1-176b-4283-92ea-e2032928e3a0
] [instance: f2145fd1-fa9e-4d45-9d61-653bb6d6dd6d, cluster:
6493dfa9-4875-4844-abd4-d425b3312ee4] Can't login to node, IP:
192.168.201.23, reason SSHException: Error reading SSH protocol banner

We would think this to be a networking issue, right? (Or maybe an SSH
issue...) However, when I perform the SSH command manually, I can
connect to my instances:

ip netns exec qdhcp-433d83c0-1f7f-4fb7-b4a1-995b47344ac4 ssh -i
/path/to/private/key ubuntu at 192.168.201.23

The above command executes successfully and SSH connects.

Any help is greatly appreciated.

Thanks,
Jeremy Freudberg




More information about the Openstack mailing list