Updating the default quota values in neutron.conf is not working

Bug #1354864 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
High
Numan Siddique

Bug Description

Build 1.10 10

Updating the default quota values in neutron.conf is not working
I set the below quotas in neutron.conf on my 3 config nodes in the cluster and restarted neutron-server.
On creating a new tenant, all the limits in the tenant were -1.

quota_network = 10
quota_subnet = 20
quota_port = 30
quota_security_group = 2
quota_security_group_rule = 3

root@nodec22:~# keystone tenant-create --name newtenant6
+-------------+----------------------------------+
| Property | Value |
+-------------+----------------------------------+
| description | |
| enabled | True |
| id | dd107a95752946c6b8165cd1dec4a05f |
| name | newtenant6 |
+-------------+----------------------------------+
root@nodec22:~# neutron quota-show dd107a95752946c6b8165cd1dec4a05f
+---------------------+-------+
| Field | Value |
+---------------------+-------+
| floatingip | -1 |
| nat_instance | -1 |
| network | -1 |
| port | -1 |
| route_table | -1 |
| router | -1 |
| security_group | -1 |
| security_group_rule | -1 |
| subnet | -1 |
+---------------------+-------+
root@nodec22:~#

Revision history for this message
Sachin Bansal (sbansal) wrote :
Changed in juniperopenstack:
status: New → Fix Committed
assignee: Sachin Bansal (sbansal) → Numan Siddique (numansiddique)
Revision history for this message
Vedamurthy Joshi (vedujoshi) wrote :

Sachin,
   On build 12, i still dont see this working.

I set the below values on all the 3 neutron nodes .
quota_network = 10
quota_subnet = 20
quota_port = 30
quota_security_group = 10

On creating a new tenant, all the quotas are set to -1

root@nodec22:~# neutron quota-show --tenant-id 82356b4042a3425a9704fbf6a3813523
+---------------------+-------+
| Field | Value |
+---------------------+-------+
| floatingip | -1 |
| nat_instance | -1 |
| network | -1 |
| port | -1 |
| route_table | -1 |
| router | -1 |
| security_group | -1 |
| security_group_rule | -1 |
| subnet | -1 |
+---------------------+-------+
root@nodec22:~#

Changed in juniperopenstack:
status: Fix Committed → In Progress
Revision history for this message
Numan Siddique (numan-siddique) wrote :

Vedamurthy,
You need to define the quota values in /etc/contrail/api_server.conf under the section [QUOTA]

Below is the example. Perhaps this needs to be documented properly.

[QUOTA]
subnet=50
virtual-network=30
floating-ip=10
logical-router=20
security-group=50
security-group_rule=50
virtual-machine-interface=30

Revision history for this message
Sachin Bansal (sbansal) wrote :

Vedu,

For now, we cannot read neutron.conf from API server. It has to be configured in api_server.conf for contrail installation. May be we can release note it.

Changed in juniperopenstack:
status: In Progress → Fix Committed
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.