Quotas not honored per-tenant
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Group Based Policy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The following issue was reported:
"In the Newton AIM code base, when loading the service_plugins = apic_aim_l3, we noticed its loading the old quota driver (neutron.
This prevents us from increasing quotas on a per tenant basis, we can change quotas globally through neutron.conf but a quota update with neutron quota-update doesn’t get honored.
Here is the debug message
2017-08-01 14:53:57.834 308585 INFO neutron.quota [-] ConfDriver is used as quota_driver because the loaded plugin does not support 'quotas' table.
2017-08-01 14:53:57.835 308585 WARNING neutron.quota [-] Deprecated: The quota driver neutron.
2017-08-01 14:53:57.835 308585 INFO neutron.quota [-] Loaded quota_driver: <neutron.
We need to add support for quotas to our plugin(s). This web page outlines support for the quotas framework:
https:/
In short, plugins are supposed to support the quotas extension driver, and are supposed to add decorators in their init methods to call out the resources that they support tracking for. This patch in upstream neutron added the decorator to the reference implementation L3 plugin:
openstack/
We'll need to figure out our resource tracking implementation and add the appropriate support.
Reviewed: https:/ /review. openstack. org/491894 /git.openstack. org/cgit/ openstack/ group-based- policy/ commit/ ?id=194dd33947f 1939ab9e1976ccc 465c1878086bcf
Committed: https:/
Submitter: Jenkins
Branch: master
commit 194dd33947f1939 ab9e1976ccc465c 1878086bcf
Author: Thomas Bachman <email address hidden>
Date: Tue Aug 8 18:49:25 2017 +0000
Fix per-project quotas for L3 plugin
The GBP L3 plugin is using the old quotas driver. This prevents
per-project quotas for L3 resources. The L3 plugin should be
changed to support the new qutoas driver.
Change-Id: Idbc651a905ca5c 567527ba2094a83 b2d0486ca9a
Closes-Bug: 1709456