Bug 965115

Summary: Non-ASCII chars in image name cause "glance index" to fail
Product: Red Hat OpenStack Reporter: Daniel Paikov <dpaikov>
Component: openstack-glanceAssignee: RHOS Maint <rhos-maint>
Status: CLOSED NOTABUG QA Contact: Haim <hateya>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1CC: eglynn, fpercoco, hateya, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-20 13:25:29 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-05-20 13:06:17 UTC
Using non-ASCII chars in "glance image-create --name" causes "glance index" to fail. The list does not continue after the failure, so if the problematic image is first in the list, the list will be shown as empty.

* glance image-create --name בלה
* glance index

ID                                   Name                           Disk Format          Container Format     Size          
------------------------------------ ------------------------------ -------------------- -------------------- --------------
'ascii' codec can't encode characters in position 0-2: ordinal not in range(128)