← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1892861] Re: [neutron-tempest-plugin] If paramiko SSH client connection fails because of authentication, cannot reconnect

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

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

Title:
  [neutron-tempest-plugin] If paramiko SSH client connection fails
  because of authentication, cannot reconnect

Status in neutron:
  Fix Released

Bug description:
  In the VM boot process, cloud-init copies the SSH keys.

  If the tempest test tries to connect to the VM before the SSH keys are
  copied, the SSH client will raise a
  paramiko.ssh_exception.AuthenticationException. From this point, even
  when the SSH keys are copied into the VM, the SSH client cannot
  reconnect anymore into the VM using the pkey.

  If a bigger sleep time is added manually (to avoid this race
  condition: try to connect when the IP is available in the port but the
  SSH keys are still not present in the VM), the SSH client connects
  without any problem.

  [1]http://paste.openstack.org/show/797127/

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



References