← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1425974] Re: SSH on instance does'nt return the shell

 

** Also affects: ubuntu
   Importance: Undecided
       Status: New

** Description changed:

  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 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      
+ 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 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.

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1425974

Title:
  SSH on instance does'nt return the shell

Status in OpenStack Neutron (virtual network service):
  New
Status in Ubuntu:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1425974/+subscriptions


References