Can't deploy master node using paramiko 2.0.1

Bug #1595865 reported by Ilya Bumarskov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Aleksei Stepanov

Bug Description

Observed on Fuel 7.0

(70-venv)ibumarskov@tpi106:~/MOS7.0/fuel-qa$ pip freeze | grep paramiko
paramiko==2.0.1

Trace:

======================================================================
ERROR: Create environment and set up master node
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/ibumarskov/70-venv/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in t
estng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/home/ibumarskov/70-venv/local/lib/python2.7/site-packages/proboscis/compatability/exceptions
_2_6.py", line 27, in capture_type_error
    func()
  File "/home/ibumarskov/70-venv/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in f
unc
    func(test_case.state.get_state())
  File "/home/ibumarskov/MOS7.0/fuel-qa/fuelweb_test/helpers/decorators.py", line 80, in wrapper
    result = func(*args, **kwargs)
  File "/home/ibumarskov/MOS7.0/fuel-qa/fuelweb_test/tests/base_test_case.py", line 91, in setup_mast
er
    self.env.setup_environment()
  File "/home/ibumarskov/MOS7.0/fuel-qa/fuelweb_test/models/environment.py", line 397, in setup_envir
onment
    self.set_admin_ssh_password()
  File "/home/ibumarskov/MOS7.0/fuel-qa/fuelweb_test/models/environment.py", line 325, in set_admin_s
sh_password
    login='root', password='r00tme')
  File "/home/ibumarskov/70-venv/local/lib/python2.7/site-packages/devops/models/environment.py", lin
e 395, in get_admin_remote
    password=password)
  File "/home/ibumarskov/70-venv/local/lib/python2.7/site-packages/devops/models/node.py", line 171,
in remote
    password=password, private_keys=private_keys)
  File "/home/ibumarskov/70-venv/local/lib/python2.7/site-packages/devops/helpers/helpers.py", line 2
57, in __init__
    self.reconnect()
  File "/home/ibumarskov/70-venv/local/lib/python2.7/site-packages/devops/helpers/helpers.py", line 3
00, in reconnect
    self.connect()
  File "/home/ibumarskov/70-venv/local/lib/python2.7/site-packages/devops/helpers/retry.py", line 27,
 in wrapper
    return func(*args, **kwargs)
  File "/home/ibumarskov/70-venv/local/lib/python2.7/site-packages/devops/helpers/helpers.py", line 2
95, in connect
    password=self.password)
  File "/home/ibumarskov/70-venv/local/lib/python2.7/site-packages/paramiko/client.py", line 338, in
connect
    t.start_client()
  File "/home/ibumarskov/70-venv/local/lib/python2.7/site-packages/paramiko/transport.py", line 493,
in start_client
    raise e
AttributeError: 'EntryPoint' object has no attribute 'resolve'

Workaround:
Downgrade paramiko to 2.0.0

Necessary to set boundary values for paramiko in requirements.

Tags: area-qa
tags: added: area-qa
summary: - Unable to deploy master node with paramiko 2.0.1
+ Can't deploy master node with paramiko 2.0.1
summary: - Can't deploy master node with paramiko 2.0.1
+ Can't deploy master node using paramiko 2.0.1
Revision history for this message
Dennis Dmitriev (ddmitriev) wrote :

Fuel-devops from branch release/2.9 works fine with paramiko 2.0.1. Verified with 'bvt_2' test group with ISO fuel-10.0-399-2016-06-24_17-00-00.iso

Changed in fuel:
milestone: none → 10.0
status: New → Invalid
Revision history for this message
Vladimir Khlyunev (vkhlyunev) wrote :

http://osci-jenkins.srt.mirantis.net:8080/job/6.1.mos.deploy-rpm/ affected by this issue - looks like floating error

Changed in fuel:
status: Invalid → Confirmed
Changed in fuel:
importance: Undecided → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-devops (master)

Fix proposed to branch: master
Review: https://review.openstack.org/344743

Changed in fuel:
assignee: nobody → Alexey Stepanov (astepanov-m)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-devops (release/2.9)

Fix proposed to branch: release/2.9
Review: https://review.openstack.org/344746

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-devops (master)

Reviewed: https://review.openstack.org/344743
Committed: https://git.openstack.org/cgit/openstack/fuel-devops/commit/?id=7995656fa6f3048e838c09ea55101da03e381fba
Submitter: Jenkins
Branch: master

commit 7995656fa6f3048e838c09ea55101da03e381fba
Author: Alexey Stepanov <email address hidden>
Date: Wed Jul 20 13:57:49 2016 +0300

    Paramiko 2.0.1 is buggy and could produce fails

    Ban paramiko 2.0.1
    Closes-bug: #1595865

    Change-Id: I27b26fa32fdfb3280a0af91ab5f3c031f69368ea

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-devops (release/2.9)

Reviewed: https://review.openstack.org/344746
Committed: https://git.openstack.org/cgit/openstack/fuel-devops/commit/?id=d7b11a477169eb4ac0fe794004a2ebaf89abf45e
Submitter: Jenkins
Branch: release/2.9

commit d7b11a477169eb4ac0fe794004a2ebaf89abf45e
Author: Alexey Stepanov <email address hidden>
Date: Wed Jul 20 13:57:49 2016 +0300

    Paramiko 2.0.1 is buggy and could produce fails

    Ban paramiko 2.0.1
    Closes-bug: #1595865

    Change-Id: I27b26fa32fdfb3280a0af91ab5f3c031f69368ea
    (cherry picked from commit 7995656)

Changed in fuel:
status: Fix Committed → Fix Released
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.