Bug 888952
Summary: | non-ASCII volume display name breaks 'cinder show' | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Russell Bryant <rbryant> |
Component: | python-cinderclient | Assignee: | Flavio Percoco <fpercoco> |
Status: | CLOSED ERRATA | QA Contact: | Giulio Fidente <gfidente> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.1 | CC: | ajeain, fpercoco, gfidente, jhenner, jruzicka |
Target Milestone: | async | Keywords: | i18n, Triaged |
Target Release: | 2.1 | Flags: | fpercoco:
internal-review+
|
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-cinderclient-1.0.1-4.el6ost | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-05-09 13:53:09 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
Russell Bryant
2012-12-19 21:26:47 UTC
Same bug for cinder snapshot-show ... [root@rhel ~(keystone_username)]# cinder list +--------------------------------------+-----------+--------------+------+-------------+-------------+ | ID | Status | Display Name | Size | Volume Type | Attached to | +--------------------------------------+-----------+--------------+------+-------------+-------------+ | 339f591a-ebc7-4f8c-aa51-eb6d99409739 | available | test volume | 1 | None | | | d89b6e6c-d7ec-48aa-966a-c24b2ba0c60a | available | El Niño | 1 | None | | +--------------------------------------+-----------+--------------+------+-------------+-------------+ [root@rhel ~(keystone_username)]# cinder snapshot-create --display_name "La Niña" --display-description "La Niña" d89b6e6c-d7ec-48aa-966a-c24b2ba0c60a +---------------------+--------------------------------------+ | Property | Value | +---------------------+--------------------------------------+ | created_at | 2012-12-19T21:27:08.492379 | | display_description | La Niña | | display_name | La Niña | | id | 15a6d373-a272-491e-a35f-3a8af54384c6 | | size | 1 | | status | creating | | volume_id | d89b6e6c-d7ec-48aa-966a-c24b2ba0c60a | +---------------------+--------------------------------------+ [root@rhel ~(keystone_username)]# cinder snapshot-list +--------------------------------------+--------------------------------------+-----------+--------------+------+ | ID | Volume ID | Status | Display Name | Size | +--------------------------------------+--------------------------------------+-----------+--------------+------+ | 15a6d373-a272-491e-a35f-3a8af54384c6 | d89b6e6c-d7ec-48aa-966a-c24b2ba0c60a | available | La Niña | 1 | +--------------------------------------+--------------------------------------+-----------+--------------+------+ [root@rhel ~(keystone_username)]# cinder snapshot-show 15a6d373-a272-491e-a35f-3a8af54384c6 +--------------------------------------------+--------------------------------------+ | Property | Value | +--------------------------------------------+--------------------------------------+ | created_at | 2012-12-19T21:27:08.000000 | | display_description | La Niña | | display_name | La Niña | | id | 15a6d373-a272-491e-a35f-3a8af54384c6 | | os-extended-snapshot-attributes:progress | 100% | | os-extended-snapshot-attributes:project_id | 34e9ef477d70492db00e28d130d5584c | | size | 1 | | status | available | | volume_id | d89b6e6c-d7ec-48aa-966a-c24b2ba0c60a | +--------------------------------------------+--------------------------------------+ [root@rhel ~(keystone_username)]# cinder snapshot-show "La Niña" /usr/lib/python2.6/site-packages/cinderclient/base.py:200: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal for (attr, value) in searches): ERROR: No snapshot with a name or ID of 'La Niña' exists. Looks like there's upstream work required to cleanup i18n issues across all openstack clients (see also novaclient bug 888483) Fixed by Flavio's backport. works for me using python-cinderclient-1.0.1-4.el6ost.noarch 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/RHBA-2013-0802.html |