Bug 1329498

Summary: Floating ips over quota size
Product: Red Hat OpenStack Reporter: Shinobu KINJO <skinjo>
Component: openstack-novaAssignee: Matthew Booth <mbooth>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Prasanth Anbalagan <panbalag>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0 (Kilo)CC: berrange, dasmith, eglynn, kchamart, mbooth, sbauza, sferdjao, sgordon, skinjo, srevivo, vromanso
Target Milestone: asyncKeywords: ZStream
Target Release: ---Flags: mbooth: needinfo? (skinjo)
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-08 13:57:53 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:

Description Shinobu KINJO 2016-04-22 06:16:47 UTC
[DESCRIPTION]

`nova quota-show` show says that "admin" can create floating ips up to 10.

[root@localhost ~(keystone_admin)]# nova --os-user-name admin quota-show | grep float
| floating_ips                | 10    |

But "admin" can create 12 floating ip addresses -;

[root@localhost ~(keystone_admin)]# nova --os-user-name admin floating-ip-list | grep public | wc -l
12


[PACKAGE VERSION]

openstack-nova-common-2015.1.3-7.el7ost.noarch
python-novaclient-2.23.0-2.el7ost.noarch
openstack-nova-compute-2015.1.3-7.el7ost.noarch
openstack-nova-novncproxy-2015.1.3-7.el7ost.noarch
openstack-nova-cert-2015.1.3-7.el7ost.noarch
python-nova-2015.1.3-7.el7ost.noarch
openstack-nova-conductor-2015.1.3-7.el7ost.noarch
openstack-nova-console-2015.1.3-7.el7ost.noarch
openstack-nova-api-2015.1.3-7.el7ost.noarch
openstack-nova-scheduler-2015.1.3-7.el7ost.noarch

Comment 2 Matthew Booth 2016-05-06 12:21:01 UTC
Seems to be the case also for non-admin user. Specifically, as non-admin user with floating_ips quota of 10 I can call 'nova floating-ip-create' more than 10 times. Error only when pool is exhausted.

Comment 3 Matthew Booth 2016-05-06 14:16:24 UTC
Looks like the underlying issue here is that the relevant quota is the neutron quota, not the nova quota. These have different defaults, and on neutron it is 50.

Can you confirm that the customer is using neutron? If so, are they able to create floating ips beyond the neutron floating-ip limit?