quota-update on a tenant does not work

Bug #1332794 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
Medium
Sachin Bansal

Bug Description

Build 1.06-50

REQ: curl -i http://10.204.217.109:9696/v2.0/quotas/fae9da4028854dcd8ec1675daa35396b.json -X PUT -H "X-Auth-Token: <token>" -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-neutronclient" -d '{"quota": {"network": 30}}'

DEBUG: neutronclient.client RESP:{'date': 'Sat, 21 Jun 2014 10:07:33 GMT', 'status': '200', 'content-length': '172', 'content-type': 'application/json; charset=UTF-8'} {"quota": {"subnet": -1, "network": -1, "floatingip": -1, "security_group_rule": -1, "route_table": -1, "security_group": -1, "router": -1, "port": -1, "nat_instance": -1}}

root@nodec22:~# neutron quota-update --tenant-id fae9da4028854dcd8ec1675daa35396b --network 30
+---------------------+-------+
| 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:~#

root@nodec22:~# keystone tenant-list
+----------------------------------+--------------------+---------+
| id | name | enabled |
+----------------------------------+--------------------+---------+
| 492234eeab9b45d9a7aff774750fe382 | admin | True |
| 706c487f2f0a4b67b5dd7b5ca7921c06 | demo | True |
| e8b6363e31834d11876c589f635050cf | invisible_to_admin | True |
| da5c632f636a45989f5c5cc3c85c0e8c | project1 | True |
| fae9da4028854dcd8ec1675daa35396b | public | True |
| 8246b3a0843740a68177b6d2caad8e9a | service | True |
+----------------------------------+--------------------+---------+
root@nodec22:~#

Tags: config
Revision history for this message
Vedamurthy Joshi (vedujoshi) wrote :

Same for port, subnet and other fields

root@nodec22:~# neutron quota-update --tenant-id fae9da4028854dcd8ec1675daa35396b --port 100
+---------------------+-------+
| 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:~#

But update of a port without tenant did work

root@nodec22:~# neutron quota-update --port 100
+---------------------+-------+
| Field | Value |
+---------------------+-------+
| floatingip | -1 |
| nat_instance | -1 |
| network | -1 |
| port | 100 |
| 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
information type: Proprietary → Public
Changed in juniperopenstack:
status: Fix Committed → In Progress
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.