Quota Reset not working
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R1.1 |
Fix Released
|
High
|
Sachin Bansal | |||
Trunk |
Fix Released
|
High
|
Sachin Bansal |
Bug Description
R1.10 Ubuntu havana build 28
update quota settings in /etc/contrail/
[QUOTA]
subnet=2
virtual-network=2
floating-ip=2
logical-router=2
security-group=2
security-
virtual-
root@nodea9:~# neutron quota-show 11f26665e6e1437
+------
| Field | Value |
+------
| floatingip | 2 |
| nat_instance | -1 |
| network | 2 |
| port | 3 |
| route_table | 2 |
| router | 2 |
| security_group | 2 |
| security_group_rule | 5 |
| subnet | 2 |
+------
Remove [QUOTA] limit from /etc/contrail/
restart contrail-api service
Still same quota limits are set :
root@nodea9:~# neutron quota-show 11f26665e6e1437
+------
| Field | Value |
+------
| floatingip | 2 |
| nat_instance | -1 |
| network | 2 |
| port | 3 |
| route_table | 2 |
| router | 2 |
| security_group | 2 |
| security_group_rule | 5 |
| subnet | 2 |
+------
root@nodea9:~# neutron quota-list 11f26665e6e1437
+------
| floatingip | nat_instance | network | port | route_table | router | security_group | security_group_rule | subnet | tenant_id |
+------
| 2 | -1 | 2 | 3 | 2 | 2 | 2 | 5 | 2 | 8e56d1e2-
| 50 | -1 | -1 | -1 | -1 | 10 | 10 | 100 | -1 | c8bcfb72-
| -1 | -1 | 2 | -1 | -1 | -1 | -1 | -1 | 2 | c5d54a78-
| -1 | -1 | 2 | -1 | -1 | -1 | -1 | -1 | 2 | 4c935d93-
| -1 | -1 | 2 | -1 | -1 | -1 | -1 | -1 | 2 | 8d4e101a-
| -1 | -1 | 2 | -1 | -1 | -1 | -1 | -1 | 2 | 11f26665-
+------
Not able to create neutron objects beyond quota limits even after resetting quota limits .
Throws internal server error :
Try to create 3 networks :
root@nodea9:~# neutron subnet-create 04a92506-
Created a new subnet:
+------
| Field | Value |
+------
| allocation_pools | {"start": "99.0.0.2", "end": "99.0.0.254"} |
| cidr | 99.0.0.0/24 |
| dns_nameservers | |
| enable_dhcp | True |
| gateway_ip | 99.0.0.1 |
| host_routes | |
| id | 5dd7d94d-
| ip_version | 4 |
| name | |
| network_id | 04a92506-
| tenant_id | 11f26665e6e1437
+------
root@nodea9:~#
root@nodea9:~#
root@nodea9:~# neutron subnet-create 04a92506-
Created a new subnet:
+------
| Field | Value |
+------
| allocation_pools | {"start": "100.0.0.2", "end": "100.0.0.254"} |
| cidr | 100.0.0.0/24 |
| dns_nameservers | |
| enable_dhcp | True |
| gateway_ip | 100.0.0.1 |
| host_routes | |
| id | 909b1a96-
| ip_version | 4 |
| name | |
| network_id | 04a92506-
| tenant_id | 11f26665e6e1437
+------
root@nodea9:~#
root@nodea9:~# neutron subnet-create 04a92506-
Issue both with custom and admin tenant .
Changed in opencontrail: | |
status: | New → Invalid |
no longer affects: | opencontrail |
Changed in juniperopenstack: | |
importance: | Undecided → High |
assignee: | nobody → Sachin Bansal (sbansal) |
tags: | added: blocker |
tags: | added: releasenote |
tags: |
added: neutronapi removed: neutron-api |
https:/ /github. com/Juniper/ contrail- controller/ commit/ 9ffc35d14abd08f c62e70dab74fb18 0582b1d159