ironic-inspector/ironic_inspector
Kaifeng Wang 293b0c7c15 Split API and conductor services
This patch splits API and conductor services for ironic-inspector.
Previous patch utilized lock from tooz coordinator, this patch adds
a coordinator wrapper for easier usage and further introduces group
interfaces.

Each conductor service will join a predefined group to mark it's
availability, on each request, API service will query members from
the group and randomly choose on of them, create desiginated topic
and deliver request to it.

The feature is tested with the memcached, file backend of tooz.
Other backends are not fully tested but may work as well, please
refer to tooz documentation for driver compatibilities[1].

[1] https://docs.openstack.org/tooz/latest/user/compatibility.html

Story: 2001842
Task: 30376

Change-Id: I419176cd6d44d74c066db275ef008fe8bb6ef37a
2019-08-12 15:29:55 +08:00
..
cmd Split API and conductor services 2019-08-12 15:29:55 +08:00
common Split API and conductor services 2019-08-12 15:29:55 +08:00
conductor Split API and conductor services 2019-08-12 15:29:55 +08:00
conf Adds tooz locking driver 2019-08-02 09:58:10 +08:00
locale/en_GB/LC_MESSAGES Imported Translations from Zanata 2018-09-09 06:17:38 +00:00
migrations Use processed bool as key in introspection_data DB table 2019-02-13 14:32:53 -05:00
plugins Active node introspection for nodes not in cache 2019-07-19 17:08:56 +02:00
pxe_filter pxe_filter: fix get blacklist error 2019-05-18 08:38:29 +00:00
test Split API and conductor services 2019-08-12 15:29:55 +08:00
__init__.py Switch to pbr 2015-06-18 16:09:07 +02:00
alembic.ini Add alembic migrations for the inspector database 2015-09-23 14:44:46 +01:00
api_tools.py Add API for listing all introspection statuses 2016-11-21 15:58:24 +01:00
db.py Use processed bool as key in introspection_data DB table 2019-02-13 14:32:53 -05:00
introspect.py Simplify locking code 2019-06-10 10:10:10 +08:00
introspection_state.py Fix pycodestyle warnings/errors now visible with hacking 1.1.0 2018-05-08 23:46:05 +02:00
main.py Split API and conductor services 2019-08-12 15:29:55 +08:00
node_cache.py Active node introspection for nodes not in cache 2019-07-19 17:08:56 +02:00
policy.py Add request context and policy enforcement 2017-10-13 11:55:52 +00:00
process.py Active node introspection for nodes not in cache 2019-07-19 17:08:56 +02:00
rules.py Merge "Allow nested action value formatting" 2018-08-06 13:39:14 +00:00
utils.py Split API and conductor services 2019-08-12 15:29:55 +08:00
version.py Use Reno for release notes management 2015-11-26 10:12:14 +01:00
wsgi_service.py Split API and conductor services 2019-08-12 15:29:55 +08:00