Bug 969790
Summary: | DeprecationWarning when running certain cinder commands | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Daniel Paikov <dpaikov> |
Component: | python-cinderclient | Assignee: | Jakub Ruzicka <jruzicka> |
Status: | CLOSED ERRATA | QA Contact: | Giulio Fidente <gfidente> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.1 | CC: | abaron, bperkins, eharney, hateya, jkt, jruzicka, mlopes |
Target Milestone: | beta | ||
Target Release: | 4.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-cinderclient-1.0.6-2.el6ost | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-12-20 00:03:55 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
Daniel Paikov
2013-06-02 11:32:35 UTC
To clarify, it's a warning, and not an error. Only happens on Python 2.6 (RHOS). Test case: # unset OS_USERNAME # cinder list /usr/lib/python2.6/site-packages/cinderclient/shell.py:524: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 message = e.message ERROR: You must provide a username via either --os-username or env[OS_USERNAME] # nova list ERROR: You must provide a username via either --os-username or env[OS_USERNAME] Fix backported to stable/havana. Auto adding >= MODIFIED bugs to beta verified against python-cinderclient-1.0.6-2.el6ost 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. http://rhn.redhat.com/errata/RHEA-2013-1859.html The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |