magnum/magnum/tests
Mohammed Naser 6eb907cc89 Drop Kubernetes Python client dependency
We depend on the Kubernetes Python client for several things such as
health checks & metrics polling.  Those are both run inside periodic
jobs which spawn in greenthreads.

The Kubernetes API uses it's own thread pools which seem to use
native pools and cause several different deadlocks when it comes to
logging.  Since we don't make extensive use of the Kubernetes API
and we want something that doesn't use any threadpools, we can
simply use a simple wrapper using Requests.

This patch takes care of dropping the dependency and refactoring
all the code to use this simple mechansim instead, which should
reduce the overall dependency list as well as avoid any deadlock
issues which are present in the upstream client.

Change-Id: If0b7c96cb77bba0c79a678c9885622f1fe0f7ebc
2022-01-20 16:02:21 +00:00
..
contrib [goal] Deprecate the JSON formatted policy file 2021-03-08 15:11:01 +00:00
functional Replace deprecated import of ABCs from collections 2021-07-27 22:46:58 +00:00
releasenotes/notes Add separated CA cert for etcd and front-proxy 2021-04-01 17:31:34 +00:00
unit Drop Kubernetes Python client dependency 2022-01-20 16:02:21 +00:00
__init__.py Remove redundant FunctionalTest class 2015-07-15 03:39:11 +08:00
base.py Use unittest.mock instead of third party mock 2020-04-29 17:10:23 +03:00
conf_fixture.py Centralize config option: trust section 2016-09-22 05:57:46 +00:00
fake_notifier.py Emit notifications when bay operations get executed 2016-05-19 15:29:56 +08:00
fakes.py Use unittest.mock instead of third party mock 2020-04-29 17:10:23 +03:00
output_fixture.py ci: Add output stream fixture to fix CI 2019-10-01 10:34:55 +00:00
policy_fixture.py [goal] Deprecate the JSON formatted policy file 2021-03-08 15:11:01 +00:00
utils.py Remove redundant code from magnum.test.utils 2015-07-20 21:53:12 +08:00