placement/releasenotes/notes/set_root_provider_id-53930a5d1dbd374f.yaml
Tetsuro Nakamura c198326150 Set root_provider_id in the database
When nested resource provider feature was added in Rocky,
root_provider_id column, which should be non-None value, is created in
the resource provider DB.

However, online data migration is only done implicitly via listing or
showing resource providers. With this patch, executing the cli command

    `placement-manage db online_data_migrations`

makes sure all the resource providers are ready for nested provider
feature, that is, all the root_provider_ids in the DB have non-None
value.

Change-Id: I42a1afa69f379b095417f5eb106fe52ebff15017
Related-Bug:#1803925
2019-01-18 15:39:36 -05:00

11 lines
348 B
YAML

---
features:
- |
A new online data migration has been added to populate missing
``root_provider_id`` in the resource_providers table. This can
be run during the normal placement-manage db online_data_migrations
routine. See the `Bug#1803925`_ for more details.
.. _Bug#1803925: https://bugs.launchpad.net/nova/+bug/1803925