neutron/neutron/tests
Rodolfo Alonso Hernandez 20e8c6f553 Import "oslo_config.cfg" before "eventlet"
Eventlet will patch the "os" library and how it works.

If "oslo_config.cfg" is called after "eventlet":
- "oslo_config.cfg" imports "stevedore"
- "stevedore" imports "importlib_metadata"
- this library will try to use "os.open" library, but patched
- "eventlet" imports "oslo_service"
- "oslo_service" imports "oslo_logging"
- "oslo_logging" imports "oslo_config.cfg", but at this point,
  the instance cfg.CONF does not exist yet

If "oslo_config.cfg" is imported before calling eventlet,
"oslo_logging" is not called and there is no circular import.

Closes-Bug: #1888213

[1]I8b08f289d446f4775eac1e1a91997fa96f25f641

Change-Id: Idcc04f46b2a01e24dfd56cef8121694439e0339e
(cherry picked from commit bc99e56515)
2020-10-09 09:54:46 +00:00
..
common "ping"/"ping6" command support in rootwrap filters 2020-09-04 13:23:53 +00:00
contrib Switch neutron-functional-with-wsgi job to zuul v3 syntax 2019-03-21 15:01:55 +00:00
etc Convert policy.json into policy-in-code 2018-12-13 20:37:53 +00:00
fullstack Import "oslo_config.cfg" before "eventlet" 2020-10-09 09:54:46 +00:00
functional Import "oslo_config.cfg" before "eventlet" 2020-10-09 09:54:46 +00:00
unit Merge "Use dict .get() to avoid a KeyError in the segment plugin" into stable/stein 2020-09-06 22:52:26 +00:00
var
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py Reset timeout exception in DietTestCase when retrying 2020-02-04 17:51:36 +01:00
post_mortem_debug.py
tools.py Merge "consume UnorderedList from neutron-lib" 2019-03-15 20:54:10 +00:00