instance_group_member records not purged from nova_api DB for deleted instances
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Medium
|
Matt Riedemann | ||
Pike |
Confirmed
|
Medium
|
Unassigned | ||
Queens |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Instance group member records used to be in the cell databases but were moved to the API database in Ocata. Previously, when deleting an instance in the cell, we'd also delete it's instance group membership record in the same cell database. Now that instance group membership is modeled in the API DB, we don't cleanup the instance group membership record when an instance is deleted.
The server groups API handles this by filtering out deleted instances which are still listed as group members:
However, we could make that more efficient if we didn't have to do those queries / filtering in the first place, by removing the nova_api.
Changed in nova: | |
assignee: | nobody → Matt Riedemann (mriedem) |
Changed in nova: | |
importance: | Low → Medium |
Fix proposed to branch: master /review. openstack. org/588943
Review: https:/