Mistral's eventlet monkeypatching breaks git-python
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
Invalid
|
Undecided
|
Unassigned | ||
tripleo |
Fix Released
|
Critical
|
Adriano Petrich |
Bug Description
Originally posted here:
https:/
Description of problem:
When deploying a TripleO Overcloud, the "openstack overcloud" commands uses mistral to signal progress on the deployment, and fails:
Enabling ssh admin - COMPLETE.
Waiting for messages on queue 'tripleo' with no timeout.
The action raised an exception [action_
d-config'}']
module 'select' has no attribute 'poll'
Exception occured while running the command
Traceback (most recent call last):
File "/usr/lib/
super(Command, self).run(
File "/usr/lib/
return super(Command, self).run(
File "/usr/lib/
return_code = self.take_
File "/usr/lib/
verbosity=
File "/usr/lib/
raise exceptions.
tripleoclient.
Overcloud configuration failed.
Full error:
2019-03-02 03:43:20.127 1 WARNING mistral.
id=23ec3e50-
module 'select' has no attribute 'poll': AttributeError: module 'select' has no attribute 'poll'
2019-03-02 03:43:20.127 1 ERROR mistral.
2019-03-02 03:43:20.127 1 ERROR mistral.
2019-03-02 03:43:20.127 1 ERROR mistral.
2019-03-02 03:43:20.127 1 ERROR mistral.
2019-03-02 03:43:20.127 1 ERROR mistral.
2019-03-02 03:43:20.127 1 ERROR mistral.
2019-03-02 03:43:20.127 1 ERROR mistral.
2019-03-02 03:43:20.127 1 ERROR mistral.
2019-03-02 03:43:20.127 1 ERROR mistral.
2019-03-02 03:43:20.127 1 ERROR mistral.
2019-03-02 03:43:20.127 1 ERROR mistral.
2019-03-02 03:43:20.127 1 ERROR mistral.
2019-03-02 03:43:20.127 1 ERROR mistral.
2019-03-02 03:43:20.127 1 ERROR mistral.
2019-03-02 03:43:20.127 1 ERROR mistral.
2019-03-02 03:43:20.127 1 ERROR mistral.
2019-03-02 03:43:20.127 1 ERROR mistral.
2019-03-02 03:43:20.127 1 ERROR mistral.
2019-03-02 03:43:20.127 1 ERROR mistral.
2019-03-02 03:43:20.127 1 ERROR mistral.
2019-03-02 03:43:20.127 1 ERROR mistral.
2019-03-02 03:43:20.127 1 ERROR mistral.
2019-03-02 03:43:20.127 1 ERROR mistral.
2019-03-02 03:43:20.127 1 ERROR mistral.
Quoting Michele:
"""
This is (another) eventlet monkeypatching issue. Reproducer:
import git
import eventlet
from eventlet import timeout as ev_timeout
import sys
eventlet.
os=True,
select=True,
socket=True,
thread=False if '--use-debugger' in sys.argv else True,
time=True)
"""
Version-Release number of selected component (if applicable):
openstack-
How reproducible:
Always
Steps to Reproduce:
1. deploy an overcloud
Actual results:
mistral fails, deployment never proceeds
Expected results:
no failure
Changed in tripleo: | |
status: | New → Triaged |
importance: | Undecided → Critical |
milestone: | none → stein-3 |
Did some testing and it works on
eventlet == 0.19.0
But on eventlet 0.20.0 and onwards it breaks