Unable to SSH into VMs

asked 2015-11-09 12:50:56 -0500

kaustubh gravatar image

I am not able to SSH into the VMs launched after injecting SSH keys. I can access the console through Horizon and see the following when trying to SSH from either controller node:

tail -f /var/log/auth.log

Nov  9 16:18:51 trial sshd[1822]: error: buffer_get_string_ret: bad string length 1826160999 [preauth]
Nov  9 16:18:51 trial sshd[1822]: fatal: buffer_get_string: buffer error [preauth]

From the controller node, http://paste.openstack.org/show/478380/ (verbose output).

Environment:
- OpenStack Kilo
- 2 controller nodes in HA (managed by HAProxy)
- 2 compute nodes
- 1 network node

VM details:
- Guest OS: Ubuntu 14.04
- vm1: IPs - 192.168.1.10(internal), 10.3.129.153(floating)
- vm2: IPs - 192.168.1.11(internal), 10.3.129.154(floating)

Some observations:
- I tried changing the key-pair, but to no avail.
- I am able to ping the floating IPs from both the controller nodes.
- After accessing either VM from console, I can SSH between them using both internal and floating IPs.
- For example, the following work:
From vm1 (after enabling password login),
ssh ubuntu@192.168.11
ssh ubuntu@10.3.129.154
(adding a new keypair between the VMs for ubuntu user)
ssh -i /home/ubuntu/.ssh/id_rsa ubuntu@192.168.1.11
ssh -i /home/ubuntu/.ssh/id_rsa ubuntu@10.3.129.154
and vice-versa.
- From the network node, I can ping the IPs from qrouter namespace.

Can anyone provide directions to debug the issue? Thanks.

edit retag flag offensive close merge delete