"Orphan" request_specs and instance_mappings

Bug #1761198 reported by Belmiro Moreira
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
In Progress
Medium
Surya Seetharaman

Bug Description

request_specs and instance_mappings in nova_api DB are not removed when an instance is deleted.
In Queens they are removed when the instances are archived (https://review.openstack.org/#/c/515034/)

However, for the deployments that archived instances before running Queens they will have request_specs and instance_mappings that are not associated to any instance (they were already deleted).

We should have a nova-manage tool to clean these "orphan" records.

Changed in nova:
assignee: nobody → Surya Seetharaman (tssurya)
tags: added: cells nova-manag
tags: added: nova-manage
removed: nova-manag
Revision history for this message
Matt Riedemann (mriedem) wrote :

Per the cells meeting today, we should look at rolling this into the online_data_migrations routine so we can eventually remove it later, since once you get to Queens and archive does the cleanup for you, we won't need a separate command for this older record cleanup.

Matt Riedemann (mriedem)
Changed in nova:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/560042

Changed in nova:
status: Confirmed → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.