SSH on instance does'nt return the shell
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_
debug1: identity file /root/.ssh/id_rsa type -1
debug1: identity file /root/.
debug1: identity file /root/.ssh/id_dsa type -1
debug1: identity file /root/.
debug1: identity file /root/.ssh/id_ecdsa type -1
debug1: identity file /root/.
debug1: identity file /root/.
debug1: identity file /root/.
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-
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...
description: | updated |
description: | updated |
description: | updated |
Changed in ubuntu: | |
status: | New → Incomplete |
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.