Modules with known eventlet monkey patching issues were imported prior to eventlet monkey patching: urllib3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Since we reenabled greendns with[1] nova functional test prints a warning at startup:
2022-07-08 11:03:40.374564 | ubuntu-focal | Modules with known eventlet monkey patching issues were imported prior to eventlet monkey patching: urllib3. This warning can usually be ignored if the caller is only importing and not executing nova code.
This is coming from [2]. It seems we think that urllib3 has monkey patching issues as reported in [3].
Based on tracing the imports eventlet import urllib3 for the greendns feature.
So I'm wondering if by reenabling greendns with [1] we actually reintroduced [3]. If yes, then we probably need to revert [1]. If not, then we probably remove urllib from our problems list in [2].
Example logs are in [4].
[1]https:/
[2]https:/
[3]https:/
[4]https:/
After discussing this with Sean over IRC[5]. We concluded that:
a) either urllib3 needs to be removed from the problems list[2] if eventlet fixed the urllib3 patching issue[3]
b) or we need to file a bug on eventlet to do so.
personally I would be feel safer if we would revert[1]. But we have no consensus there right now.
[5] https:/ /meetings. opendev. org/irclogs/ %23openstack- nova/%23opensta ck-nova. 2022-07- 08.log. html#t2022- 07-08T12: 51:02