ironic-inspector/ironic_inspector/cmd
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
..
__init__.py Preparing for service splitting 2017-05-26 11:59:35 +03:00
all.py Adds tooz locking driver 2019-08-02 09:58:10 +08:00
conductor.py Split API and conductor services 2019-08-12 15:29:55 +08:00
dbsync.py Move dbsync to the correct path 2019-07-05 15:44:34 +08:00
migration.py introspection data backend: migration tool 2019-02-27 09:33:02 +08:00
wsgi.py Split API and conductor services 2019-08-12 15:29:55 +08:00