The aodh.coordination
Module¶
-
exception
aodh.coordination.
MemberNotInGroupError
(group_id, members, my_id)[source]¶ Bases:
exceptions.Exception
-
class
aodh.coordination.
PartitionCoordinator
(conf, my_id=None)[source]¶ Bases:
object
Workload partitioning coordinator.
This class uses the tooz library to manage group membership.
To ensure that the other agents know this agent is still alive, the heartbeat method should be called periodically.
Coordination errors and reconnects are handled under the hood, so the service using the partition coordinator need not care whether the coordination backend is down. The extract_my_subset will simply return an empty iterable in this case.