Paramiko does not properly work with eventlet concurrency
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
High
|
Unassigned | ||
tripleo |
Fix Released
|
High
|
Unassigned | ||
python-eventlet (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
UPD(dtantsur): Old title: `ironic node-set-
Tripleo deployment with Ironic, when it register baremetal nodes, with the following error
+ ironic node-set-
SSH connection cannot be established: Failed to establish SSH connection to host 192.168.122.1. (HTTP 400)
Here is the traceback from ironic-
2014-05-21 13:16:12.342 5073 ERROR paramiko.transport [-] Exception: Error reading SSH protocol bannerSecond simultaneous read on fileno 8 detected. Unless you really know what you're
doing, make sure that only one greenthread can read any particular socket. Consider using a pools.Pool. If you do know what you're doing and want to disable this error, call eventlet.d
ebug.hub_
2014-05-21 13:16:12.357 5073 ERROR paramiko.transport [-] Traceback (most recent call last):
2014-05-21 13:16:12.357 5073 ERROR paramiko.transport [-] File "/opt/stack/
2014-05-21 13:16:12.358 5073 ERROR paramiko.transport [-] self._check_
2014-05-21 13:16:12.358 5073 ERROR paramiko.transport [-] File "/opt/stack/
2014-05-21 13:16:12.358 5073 ERROR paramiko.transport [-] raise SSHException('Error reading SSH protocol banner' + str(e))
2014-05-21 13:16:12.358 5073 ERROR paramiko.transport [-] SSHException: Error reading SSH protocol bannerSecond simultaneous read on fileno 8 detected. Unless you really know what you're doing, make sure that only one greenthread can read any particular socket. Consider using a pools.Pool. If you do know what you're doing and want to disable this error, call eventlet.
2014-05-21 13:16:12.358 5073 ERROR paramiko.transport [-]
Traceback (most recent call last):
File "/opt/stack/
timer()
File "/opt/stack/
cb(*args, **kw)
File "/opt/stack/
result = function(*args, **kwargs)
File "/opt/stack/
return f(*args, **kwargs)
File "/opt/stack/
node.
File "/opt/stack/
six.
File "/opt/stack/
curr_state = task.driver.
File "/opt/stack/
ssh_obj = _get_connection
File "/opt/stack/
return utils.ssh_
File "/opt/stack/
raise exception.
SSHConnectFailed: Failed to establish SSH connection to host 192.168.122.1.
summary: |
- Paramiko does not properly work with evenlet concurrency + Paramiko does not properly work with eventlet concurrency |
tags: | added: driver |
Changed in ironic: | |
milestone: | none → juno-2 |
tags: | added: ci |
Changed in tripleo: | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in ironic: | |
milestone: | juno-2 → none |
no longer affects: | eventlet (Ubuntu) |
Changed in ironic: | |
milestone: | none → juno-rc1 |
Changed in tripleo: | |
status: | Triaged → Fix Released |
Changed in ironic: | |
status: | Fix Committed → Fix Released |
milestone: | juno-rc1 → none |
Changed in python-eventlet (Ubuntu): | |
status: | Confirmed → Fix Released |
Sahara had similar problems: https:/ /review. openstack. org/#/c/ 45716/