SSH on instance does'nt return the shell

Bug #1425974 reported by isador999
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Expired
Undecided
Unassigned
Ubuntu
Expired
Undecided
Unassigned

Bug Description

I've installed Openstack Juno (fresh install, two weeks ago).

The ping from any network to instances works, but I have an issue with SSH (from any host).
I tried with and without SSH keys, and that's the same problem.
I tried with Cirros and Ubuntu14.04 instances.

The ssh command seems working, but the host never returns the shell prompt... :

root@networkc:~# ssh -vvv user@192.168.60.X
OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 192.168.60.X [192.168.60.X] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/id_rsa type -1
debug1: identity file /root/.ssh/id_rsa-cert type -1
debug1: identity file /root/.ssh/id_dsa type -1
debug1: identity file /root/.ssh/id_dsa-cert type -1
debug1: identity file /root/.ssh/id_ecdsa type -1
debug1: identity file /root/.ssh/id_ecdsa-cert type -1
debug1: identity file /root/.ssh/id_ed25519 type -1
debug1: identity file /root/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
debug1: match: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2 pat OpenSSH_6.6.1* compat 0x04000000
debug2: fd 3 setting O_NONBLOCK
debug1: SSH2_MSG_KEXINIT sent

On the instance, 'netstat -laputen' notifies that a new connection is established, and then :
Proto Recv-Q Sens-Q Adresse locale Adresse distante Etat User
tcp 0 1648 192.168.60.X:22 10.X.X.X 0 777/sshd [accepted]

At the end, my host displays "Connection timed out".

I suppose it's a Neutron problem (connection speed or other...).
I tried to use the Network Namespace of the concerned instance, but I had the same problem.

EDIT : With KVM (and default network), the same Qcow2 image has not this problem. I think, it's not a SSH program issue.

I can SSH correctly only to the instances connected on the physical network. Even from an instance with both network, this instance is only SSH-reachable from his external IP...

isador999 (jeanbapt37)
description: updated
isador999 (jeanbapt37)
description: updated
isador999 (jeanbapt37)
description: updated
Revision history for this message
James Denton (james-denton) wrote :

This may be an MTU issue. If you are able to console to the instance, try dropping the MTU of the interface to 1450. If it works, option 26 can be passed via DHCP. You may find some helpful info at https://bugs.launchpad.net/openstack-manuals/+bug/1322799.

Revision history for this message
Eugene Nikanorov (enikanorov) wrote :

VMs shoult not be directly reachable from controller, only from dhcp or router namespaces that relate to a particular network.
That might be a routing issue.

Changed in neutron:
status: New → Incomplete
Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :

This bug is > 172 days without activity. We are unsetting assignee and milestone and setting status to Incomplete in order to allow its expiry in 60 days.

If the bug is still valid, then update the bug status.

Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :

This bug is > 180 days without activity. We are unsetting assignee and milestone and setting status to Incomplete in order to allow its expiry in 60 days.

If the bug is still valid, then update the bug status.

Paul White (paulw2u)
Changed in ubuntu:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for neutron because there has been no activity for 60 days.]

Changed in neutron:
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Ubuntu because there has been no activity for 60 days.]

Changed in ubuntu:
status: Incomplete → Expired
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.