ironic/ironic/conductor
Gregory Haynes 9de2d21a96 Add HashRingManager to wrap hash ring singleton
Currently, the API service creates a new hash ring on every request.
Instead of that, we should cache the hash ring object -- but we should
also expose a way to refresh it when necessary. This method will also
be used by the ConductorManager to cache and refresh the hash ring
when conductors join / leave the cluster.

This patch preserves the existing API behavior by resetting the hash
ring on every request. This should be addressed in a subsequent patch.

Co-Authored-By: Devananda van der Veen <devananda.vdv@gmail.com>
Change-Id: Ib7ab55452499d1e1c362e4cd127f1e6e38106d6c
2014-09-29 15:57:55 -07:00
..
__init__.py Remove copyright from empty files 2014-01-07 21:05:01 +08:00
manager.py Add HashRingManager to wrap hash ring singleton 2014-09-29 15:57:55 -07:00
rpcapi.py Add HashRingManager to wrap hash ring singleton 2014-09-29 15:57:55 -07:00
task_manager.py Add reserve() and release() to Node object 2014-09-12 15:54:58 +01:00
utils.py Conductor changes target_power_state before starting work 2014-09-29 10:38:01 +01:00