ironic-inspector/releasenotes/notes/migrate-introspection-data-bcd692c9ad3f22d7.yaml
Kaifeng Wang 1d94e534b9 introspection data backend: migration tool
This patch provides a simple tool to help with migrating introspection
data between two introspection data storages.

Story: 1726713
Task: 11373

Change-Id: I2a930dbad2178e3dde6725e2620d8099e4e21d78
2019-02-27 09:33:02 +08:00

18 lines
821 B
YAML

---
features:
- |
Adds a migration tool ``ironic-inspector-migrate-data`` to facilitate the
introspection data migration between supported introspection data storage
backends. Currently the available introspection data storage backends are:
``database`` and ``swift``. For example, to migrate existing introspection
data stored in the swift to database, execute following command:
.. code-block:: shell
$ ironic-inspector-migrate-data --from swift --to database --config-file /etc/ironic-inspector/inspector.conf
Storage backends involved in the migration should have been properly
configured in the ironic inspector configuration file. Before the
introspection data migration can be started. The ironic inspector database
should be upgraded to have the latest schema.