Some errors, including those thrown from the database, are reported in an ASCII byte string format. This error message is included in some failures and so the error message would display the byte escaped output and UTF-8 values would be lost. As a consequence, UTF-8 characters would appear escaped, for example \\u2013 in messages instead of the correct UTF-8 character.
This has been fixed to ensure that UTF-8 characters that are present will be correctly rendered. Now the output displays full UTF-8 characters in error messages.
Description of problem:
[root@public-control1 ~]# keystone tenant-create --name "Consulting – Middleware Delivery"
Unable to communicate with identity service: {"error": {"message": "An unexpected error prevented the server from fulfilling your request. 'ascii' codec can't encode character u'\\u2013' in position 11: ordinal not in range(128)", "code": 500, "title": "Internal Server Error"}}. (HTTP 500)
NB: the "dash" in the name is not an ascii dash. It's something else.
Version-Release number of selected component (if applicable):
openstack-keystone-2013.1.3-2.el6ost.noarch
How reproducible:
Every
Additional info:
Performing the same command on a Folsom cloud works just fine.
If the "dash" in the name is not an ascii dash, but something else, can you say where you got it off from? I assume you copy-pasted it from somewhere, right? How can I reproduce it?
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-2014-0854.html
Description of problem: [root@public-control1 ~]# keystone tenant-create --name "Consulting – Middleware Delivery" Unable to communicate with identity service: {"error": {"message": "An unexpected error prevented the server from fulfilling your request. 'ascii' codec can't encode character u'\\u2013' in position 11: ordinal not in range(128)", "code": 500, "title": "Internal Server Error"}}. (HTTP 500) NB: the "dash" in the name is not an ascii dash. It's something else. Version-Release number of selected component (if applicable): openstack-keystone-2013.1.3-2.el6ost.noarch How reproducible: Every Additional info: Performing the same command on a Folsom cloud works just fine.