nova/releasenotes/notes/archive-db-from-all-cells-b4775b3f1feb004e.yaml
Kevin_Zheng 97b8cb3f58 nova-manage db archive_deleted_rows is not multi-cell aware
The archive_deleted_rows cmd depend on DB connection config from config
file, and when applying super-conductor mode, there are several config
files for different cells. If so, the command can only archive rows in
cell0 DB as it only reads the nova.conf

This patch added code that provides --all-cells parameter to the
command and read info for all cells from the api_db and then archive
rows across all cells.

The --all-cells parameter is passed on to the purge command when
archive_deleted_rows is called with both --all-cells and --purge.

Co-Authored-By: melanie witt <melwittt@gmail.com>

Change-Id: Id16c3d91d9ce5db9ffd125b59fffbfedf4a6843d
Closes-Bug: #1719487
2019-08-27 06:01:58 +00:00

9 lines
375 B
YAML

---
features:
- |
Support for archiving deleted rows from the database across
all cells has been added to the ``nova-manage db archive_deleted_rows``
command. Specify the ``--all-cells`` option to run the process across all
existing cells. It is only possible to archive all DBs from a node where
the ``[api_database]/connection`` option is configured.