neutron/neutron/tests/functional
Rodolfo Alonso Hernandez 56f2bf37d1 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-11-10 07:57:19 +00:00
..
agent Import "oslo_config.cfg" before "eventlet" 2020-11-10 07:57:19 +00:00
api consume neutron-lib resources attr map 2018-03-09 13:37:28 -07:00
cmd Removing deprecated function 'IPWrapper.get_namespaces()' 2018-04-03 19:52:52 +00:00
common Untangle WaitTimeout class from eventlet.TimeoutError 2017-03-15 04:27:00 +00:00
db Add new test decorator skip_if_timeout 2019-02-20 10:54:38 +01:00
pecan_wsgi fix a typo: s/paramater/parameter 2018-06-04 07:35:10 +00:00
plugins use neutron_lib's portbindings api-def 2017-03-31 09:16:22 -06:00
sanity sanity check: Check that ip_nonlocal_bind works with namespaces 2016-11-18 08:36:51 -05:00
scheduler Remove router_ids argument to auto_schedule_routers() 2017-12-04 15:07:29 -05:00
services [DVR] Related routers should be included if are requested 2020-07-10 13:30:47 +00:00
tests make net_helpers functions work on OpenSUSE 2017-09-20 09:59:44 -07:00
__init__.py tests: removed 'retargetable' framework 2017-05-02 16:45:49 +00:00
base.py Increase timeouts for OVSDB in functional tests 2019-09-13 10:57:24 +00:00
constants.py TrunkManager for the OVS agent 2016-08-24 02:52:17 -04:00
requirements.txt Don't return null-byte separated string from ExternalProcess.cmdline() 2017-03-08 07:50:51 +00:00
test_server.py Fix W503 pep8 warnings 2018-04-17 14:22:58 +00:00
test_service.py Use SIGUSR1 to notify l3 agent of changing prefix file 2015-11-13 17:53:47 +03:00