quota-list not showing the non-default quotas for tenants
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
Fix Committed
|
Critical
|
Sachin Bansal |
Bug Description
Build 1.10 2282
Per neutron documentation : "quota-list displays a list of tenants for which per-tenant quota is enabled. The tenants who have the default set of quota limits are not listed"
But in our contrail implementation, quota-list output does not have the tenant-ids at all. There is always only one line containg the quotas.
root@nodec22:
+------
| Property | Value |
+------
| description | |
| enabled | True |
| id | 0fd8324a853e471
| name | abhinandan |
+------
root@nodec22:
+------
| 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:
+------
| floatingip | nat_instance | network | port | route_table | router | security_group | security_group_rule | subnet |
+------
| -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 | -1 |
+------
root@nodec22:
------------
Same on stock openstack + openvswitch
root@nodec43:
+------
| floatingip | network | port | router | security_group | security_group_rule | subnet | tenant_id |
+------
| 50 | 40 | -1 | 10 | 10 | 100 | -1 | tenant_a |
| 50 | -1 | -1 | 10 | 10 | 100 | -1 | 5ca0a1c56d47409
| 50 | -1 | -1 | 10 | 10 | 100 | -1 | 83986700994a4ec
+------
root@nodec43:
root@nodec43:
+------
| Field | Value |
+------
| floatingip | 50 |
| network | -1 |
| port | 51 |
| router | 10 |
| security_group | 10 |
| security_group_rule | 100 |
| subnet | -1 |
+------
root@nodec43:
root@nodec43:
+------
| floatingip | network | port | router | security_group | security_group_rule | subnet | tenant_id |
+------
| 50 | 40 | -1 | 10 | 10 | 100 | -1 | tenant_a |
| 50 | -1 | -1 | 10 | 10 | 100 | -1 | 5ca0a1c56d47409
| 50 | -1 | -1 | 10 | 10 | 100 | -1 | 83986700994a4ec
| 50 | -1 | 51 | 10 | 10 | 100 | -1 | 407ef374fc28400
+------
root@nodec43:
Changed in juniperopenstack: | |
importance: | High → Critical |
Changed in juniperopenstack: | |
status: | New → In Progress |
https:/ /github. com/Juniper/ contrail- neutron- plugin/ commit/ 5e404fb1e193174 6ff6e2782fbe390 38fbe62ca4