kolla-ansible/releasenotes/notes/stop-duplicating-nova-cells-670211557fe2cda3.yaml
Pierre Riteau 19b8dbe460 Stop duplicating Nova cells
Check if a base Nova cell already exists before calling `nova-manage
cell_v2 create_cell`, which would otherwise create a duplicate cell when
the transport URL or database connection change.

If a base cell already exists but the connection values have changed, we
now call `nova-manage cell_v2 update_cell` instead. This is only
possible if a duplicate cell has not yet been created. If one already
exists, we print a warning inviting the operator to perform a manual
cleanup. We don't use a hard fail to avoid an abrupt change of behavior
if this is backported to stable branches.

Change-Id: I7841ce0cff08e315fd7761d84e1e681b1a00d43e
Closes-Bug: #1734872
2019-06-06 18:10:06 +01:00

10 lines
433 B
YAML

---
other:
- |
While Kolla Ansible now avoids duplicating Nova cells when messaging or
database connection information are changed, operators of existing
deployments should perform a manual cleanup of duplicate cells using the
``nova-manage cell_v2`` command from a container running the ``nova_api``
image, leaving only two cells, one named ``cell0`` and another one with the
right connection information.