Quotaset update does not return result

Bug #1316474 reported by Joris Roovers
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-cinderclient
Fix Released
Low
Juan Manuel Ollé

Bug Description

The QuotaSetManager update() method does not return the result it gets back from the server:

API v1: https://github.com/openstack/python-cinderclient/blob/master/cinderclient/v1/quotas.py#L47

API v2: https://github.com/openstack/python-cinderclient/blob/master/cinderclient/v2/quotas.py#L45

Note that the server does indeed send a response back (from devstack):

cinder --debug quota-update --gigabytes 1024 337573090a4e4a99a91204eb9d5d78bc

(removed irrelevant output)

REQ: curl -i http://10.0.2.15:8776/v1/e05fbc72ee814c45994a2106880ee55a/os-quota-sets/337573090a4e4a99a91204eb9d5d78bc -X PUT -H "X-Auth-Project-Id: admin" -H "User-Agent: python-cinderclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: <removed>" -d '{"quota_set": {"gigabytes": 1024, "tenant_id": "337573090a4e4a99a91204eb9d5d78bc"}}'

RESP: [200] CaseInsensitiveDict({'date': 'Tue, 06 May 2014 08:21:19 GMT', 'x-compute-request-id': 'req-b79239d9-2dc0-48a8-b53e-0836c1f58577', 'content-type': 'application/json', 'content-length': '66'})
RESP BODY: {"quota_set": {"gigabytes": 1024, "snapshots": 10, "volumes": 10}}

description: updated
Changed in python-cinderclient:
assignee: nobody → Juan Manuel Ollé (juan-m-olle)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-cinderclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/93567

Changed in python-cinderclient:
status: New → In Progress
Changed in python-cinderclient:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-cinderclient (master)

Reviewed: https://review.openstack.org/93567
Committed: https://git.openstack.org/cgit/openstack/python-cinderclient/commit/?id=02b32c8aedb37b72cd5ece2ea2609df8aafb3eff
Submitter: Jenkins
Branch: master

commit 02b32c8aedb37b72cd5ece2ea2609df8aafb3eff
Author: Juan Manuel Olle <email address hidden>
Date: Wed May 14 11:11:08 2014 -0300

    Quotaset update does not return result

    This patch adds the updated quota values to the output shell

    Closes-Bug: #1316474
    Change-Id: I95bbefa5fdee316a3a3ba77a5b3067345da3344f

Changed in python-cinderclient:
status: In Progress → Fix Committed
Changed in python-cinderclient:
milestone: none → 1.3.1
status: Fix Committed → Fix Released
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.