Bug 2132941

Summary: floating ip quota usage doesn't reflect actual situation
Product: Red Hat OpenStack Reporter: Alex Stupnikov <astupnik>
Component: openstack-neutronAssignee: Rodolfo Alonso <ralonsoh>
Status: CLOSED DUPLICATE QA Contact: Eran Kuris <ekuris>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 16.2 (Train)CC: chrisw, ralonsoh, scohen
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-10-11 08:10:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alex Stupnikov 2022-10-07 09:14:39 UTC
Description of problem:
Customer reported a problem in his RHOSP 16.2 deployment: from Neutron Server perspective there are 5 floating IPs used by specific project, but in reality there are no floating IPs in this project.

Problem was resolved when floating IP was created in affected project. More information about collected data will be provided privately.

This could be possibly related to bug #2130498, but symptoms are slightly different, so I am reporting separate bug.


Version-Release number of selected component (if applicable):
RHOSP 16.2.2


How reproducible:
$ openstack quota list --network --detail --project PROJ_ID -> tells that 5 floating IPs are used by customer

$ openstack floating ip list --project PROJ_ID  -> empty output

Comment 2 Rodolfo Alonso 2022-10-11 08:10:54 UTC
Hello Alex:

This is an issue on how the Neutron quota driver, using the new ``DbQuotaNoLockDriver`` class, retrieves the "quota --detail" (that is also used in the Horizon counters). This issue has been addressed in 16.2 [1] and will be ready in 16.2.4.

Regards.

[1]https://bugzilla.redhat.com/show_bug.cgi?id=2102147

*** This bug has been marked as a duplicate of bug 2102147 ***