quota-class-update fails for default class

Bug #1423884 reported by Ollie Leahy
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-cinderclient
Fix Released
Undecided
Liyingjun

Bug Description

quota-update-class appears to be broken in the current version of python-cinder-client, using both the v1 and the v2 API's

$ cinder --os-volume-api-version 1 quota-class-update --volumes 20 default
ERROR: 'NoneType' object has no attribute '_info'

$ cinder --os-volume-api-version 2 quota-class-update --volumes 20 default
ERROR: 'Namespace' object has no attribute 'class_name'

Liyingjun (liyingjun)
Changed in python-cinderclient:
status: New → Confirmed
assignee: nobody → Liyingjun (liyingjun)
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/160253

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

Reviewed: https://review.openstack.org/160253
Committed: https://git.openstack.org/cgit/openstack/python-cinderclient/commit/?id=9db3430ccd58370bf5c699f80c98f16e97df1877
Submitter: Jenkins
Branch: master

commit 9db3430ccd58370bf5c699f80c98f16e97df1877
Author: liyingjun <email address hidden>
Date: Mon Mar 2 16:01:34 2015 +0800

    Fixes quota-class-update commands

    The quota-class-update commands for v1 and v2 are both broken,
    Fix v1 by returning result for update method in QuotaClassSetManager,
    fix v2 by changing arg 'class-name' to 'class_name' for consistent
    with v1.

    Change-Id: Ic7188f485b914dc55048cf056a0685618134e87a
    Closes-bug: #1423884

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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.