Need full unicode support for Swift
Bug #1008940 reported by
Edward
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Medium
|
Tihomir Trifonov | ||
python-swiftclient |
Fix Released
|
Undecided
|
Tihomir Trifonov |
Bug Description
This error can be reproduced in two cases:
1. copy an object to/from the container with Unicode character in its name, e.g. Japanese or Chinese character.
2. copy an object with Unicode character in its name
affects: | swift → nova |
affects: | nova → horizon |
Changed in horizon: | |
assignee: | nobody → Edward (zhang-hare) |
affects: | swift → python-swiftclient |
Changed in horizon: | |
assignee: | Nebula (nebula) → nobody |
Changed in horizon: | |
milestone: | grizzly-1 → grizzly-2 |
Changed in horizon: | |
assignee: | nobody → Tihomir Trifonov (ttrifonov) |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | grizzly-2 → 2013.1 |
Changed in python-swiftclient: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I need to add one more scenario. When we upload a local file with non ascii coded name, this error is also raised.
UnicodeEncodeError at /nova/container s/first/ upload
'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)
Request Method: POST 9.119.148. 161/nova/ containers/ first/upload
Request URL: http://
Django Version: 1.4
Exception Type: UnicodeEncodeError
Exception Value:
'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)
Exception Location: /usr/lib/ python2. 7/httplib. py in putheader, line 938
Python Executable: /usr/bin/python
Python Version: 2.7.3
Python Path:
['/opt/ stack/horizon/ openstack_ dashboard/ wsgi/.. /..', stack/python- keystoneclient' , stack/python- novaclient' , stack/python- openstackclient ', local/lib/ python2. 7/dist- packages/ cliff-0. 7-py2.7. egg', local/lib/ python2. 7/dist- packages/ tablib- 0.9.11- py2.7.egg' , stack/keystone' , local/lib/ python2. 7/dist- packages/ WebOb-1. 0.8-py2. 7.egg', local/lib/ python2. 7/dist- packages/ pam-0.1. 4-py2.7. egg', stack/glance' , local/lib/ python2. 7/dist- packages/ jsonschema- 0.2-py2. 7.egg', local/lib/ python2. 7/dist- packages/ pysendfile- 2.0.0-py2. 7-linux- x86_64. egg', local/lib/ python2. 7/dist- packages/ boto-2. 1.1-py2. 7.egg', stack/horizon' , stack/python- quantumclient' , stack/quantum' , local/lib/ python2. 7/dist- packages/ python_ gflags- 1.3-py2. 7.egg', stack/swift' , stack/swift3' , local/lib/ python2. 7/dist- packages' , stack/python- glanceclient' , lib/python2. 7', lib/python2. 7/plat- linux2' , lib/python2. 7/lib-tk' , lib/python2. 7/lib-old' , lib/python2. 7/lib-dynload' , local/lib/ python2. 7/dist- packages' , lib/python2. 7/dist- packages' , lib/python2. 7/dist- packages/ PIL', lib/python2. 7/dist- packages/ gst-0.10' , lib/python2. 7/dist- packages/ gtk-2.0' , lib/pymodules/ python2. 7', lib/python2. 7/dist- packages/ ubuntu- sso-client' , lib/python2. 7/dist- packages/ ubuntuone- client' , lib/python2. 7/dist- packages/ ubuntuone- control- panel', lib/python2. 7/dist- packages/ ubuntuone- couch', lib/python2. 7/dist- packages/ ubuntuone- installer' , lib/python2. 7/dist- packages/ ubuntuone- storage- protocol' , stack/horizon/ openstack_ dashboard' ]
'/opt/
'/opt/
'/opt/
'/usr/
'/usr/
'/opt/
'/usr/
'/usr/
'/opt/
'/usr/
'/usr/
'/usr/
'/opt/stack/nova',
'/opt/
'/opt/
'/opt/
'/usr/
'/opt/
'/opt/
'/usr/
'/opt/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/opt/