There is no interface for operators to migrate *all* the existing compute resource providers to be ready for nested providers

Bug #1803925 reported by Tetsuro Nakamura on 2018-11-19
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)

Bug Description

When nested resource provider feature was added in Rocky, root_provider_uuid column, which should be non-None value is created in the resource provider DB. For existing resource providers created before queens, we have an online data migration:

But it's only done via listing/showing resource providers. We should have explicit migration script something like "placement-manage db online_data_migrations" to make sure all the resource providers are ready for the nested provider feature, that is all the root_provider_uuid column has non-None value.

This bug tracking can be closed when the following tasks are done
 - Provide something like "placement-manage db online_data_migrations" so that in Stein we are sure all the root_provider_uuid column is non-None value.
 - Clean placement/objects/ removing many TODOs like "Change this to an inner join when we are sure all root_provider_id values are NOT NULL"

NOTE: This report is created after fixing/closing in a temporary way without the explicit DB migration script.

tags: added: placement
Tetsuro Nakamura (tetsuro0907) wrote :
Changed in nova:
status: New → Won't Fix
status: Won't Fix → Confirmed
status: Confirmed → In Progress
Chris Dent (cdent) on 2019-03-04
Changed in nova:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers