Unable to modify quotas for router or floatingip with DB quota driver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-neutronclient |
Fix Released
|
Medium
|
Akihiro Motoki |
Bug Description
I'm using the following drivers for quantum quotas
quota_driver = quantum.
I can modify some of the quotas, e.g.
quantum quota-update --tenant-id basictenant --network 3
which: no gedit in (/usr/lib64/
which: no kate in (/usr/lib64/
+------
| Field | Value |
+------
| floatingip | 50 |
| network | 3 |
| port | 50 |
| router | 10 |
| subnet | 10 |
+------
But when I try to modify floatingip or router, I get a message like this
quantum quota-update --tenant-id basictenant --floatingip 3
which: no gedit in (/usr/lib64/
which: no kate in (/usr/lib64/
usage: quantum quota-update [-h] [-f {html,json,
quantum quota-update: error: unrecognized arguments: --floatingip
So it seems that the quota driver is somewhat aware of the floatingip and router quotas (at least it displays them), but the usage message seems to indicate it doesn't know of them.
Changed in python-quantumclient: | |
milestone: | none → 2.1 |
Changed in python-quantumclient: | |
status: | Fix Committed → Fix Released |
To update the limits of L3 resource (router, floating IP), we need to specify new values of the quotas after '--'. 999a1f971e48827 23 -- --floatingip 20
quantum quota-update --tenant_id 6f88036c45344d9
Admin guide has examples how to modify per-tenant quota. I hope it will help you. docs.openstack. org/folsom/ openstack- network/ admin/content/ cfg_quotas_ per_tenant. html
http://
Of cource, I agree that such command line options are very confusing and we need to fix it.