Bug 1289677
Summary: | Cinder quota class update results in error 'NoneType' object has no attribute '_info | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Prasanth Anbalagan <panbalag> |
Component: | python-cinderclient | Assignee: | Eric Harney <eharney> |
Status: | CLOSED ERRATA | QA Contact: | lkuchlan <lkuchlan> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.0 (Kilo) | CC: | eharney, jruzicka, scohen, sengork, sgotliv, srevivo |
Target Milestone: | --- | Keywords: | Reopened, ZStream |
Target Release: | 7.0 (Kilo) | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-cinderclient-1.2.1-2.el7ost | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-08-31 17:38:23 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Prasanth Anbalagan
2015-12-08 17:31:30 UTC
Reproduced: [root@dhcp148-170 ~(keystone_admin)]# rpm -q python-cinderclient python-cinderclient-1.2.1-1.el7ost.noarch [root@dhcp148-170 ~(keystone_admin)]# cinder quota-class-update --volumes 10000 admin ERROR: 'NoneType' object has no attribute '_info' # OS_VOLUME_API_VERSION=2 cinder quota-class-update --volumes 10000 admin ERROR: 'Namespace' object has no attribute 'class_name' # OS_VOLUME_API_VERSION=1 cinder quota-class-update --volumes 10000 admin ERROR: 'NoneType' object has no attribute '_info' Appears to be fixed in upstream 1.3.1. Close base on comment #3. Tested using: openstack-cinder-2015.1.3-7.el7ost.noarch python-cinderclient-1.2.1-3.el7ost.noarch python-cinder-2015.1.3-7.el7ost.noarch Verification flow: [root@cougar15 ~(keystone_admin)]# cinder quota-class-show admin +------------------+-------+ | Property | Value | +------------------+-------+ | backup_gigabytes | 1000 | | backups | 10 | | gigabytes | 1000 | | gigabytes_iscsi | -1 | | snapshots | 10 | | snapshots_iscsi | -1 | | volumes | 10 | | volumes_iscsi | -1 | +------------------+-------+ [root@cougar15 ~(keystone_admin)]# cinder quota-class-update --volumes 100 admin +------------------+-------+ | Property | Value | +------------------+-------+ | backup_gigabytes | 1000 | | backups | 10 | | gigabytes | 1000 | | gigabytes_iscsi | -1 | | snapshots | 10 | | snapshots_iscsi | -1 | | volumes | 100 | | volumes_iscsi | -1 | +------------------+-------+ Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-1791.html |