Cells Utility Methods
Bases: nova.cells.utils._CellProxy
Bases: nova.cells.utils._CellProxy
Fix compute_node attributes that should be unique. Allows API cell to query the ‘id’ by cell@id.
Fix service attributes that should be unique. Allows API cell to query the ‘id’ or ‘host’ by cell@id/host.
Fix task_log attributes that should be unique. In particular, the ‘id’ and ‘host’ fields should be prepended with cell name.
Turn cell_name and item into <cell_name>@<item>.
Return a generator that will return a list of active and deleted instances to sync with parent cells. The list may optionally be shuffled for periodic updates so that multiple cells services aren’t self-healing the same instances in nearly lockstep.