purge quotas for deleted projects

Bug #2015037 reported by Gregory Thiemonge
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
octavia
Confirmed
Wishlist
Unassigned

Bug Description

The quotas for deleted project are not purged from the Octavia DB.

Each project that uses Octavia has an entry in the quotas table, this entry is never deleted.
Thus "openstack loadbalancer quota list" may display a lot of old/bogus entries.

The DELETE method of the quota API only resets the quotas to their default setting (based on the behavior of the quotas in Neutron) and never removes them.

We need to find a convenient way for purging those entries from the DB.

Changed in octavia:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Omer Schwartz (omersch) wrote :

I guess that in some cases it is convenient to only reset the quota entries and not removing/purging their entries, e.g. for analyzing/debugging purposes. Maybe we should add an API endpoint that will purge the quotas for deleted projects? Invalid projects? We might add a cron job / something similar that will remove them by default, every X time, but obviously be configurable. I would be happy to work on it in case that we like the idea.

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.