yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #13507
[Bug 1306479] [NEW] ec2 api breaks on non-ascii characters
Public bug reported:
When you query the ec2 api, and it returns non-ascii data from the
database, It throws something like this
2014-04-11 10:05:19.874 ERROR nova.api.ec2 [req-bc73aa28-0faa-437c-
8fb1-e61188658c03 user project] Unexpected error raised: 'ascii' codec
can't encode character u'\xe4' in position 1: ordinal not in range(128)
Tha cause seems to be the str() calls when calling xml.createTextNode in
the /api/ec2/apirequest.py file.
This should porbably be made safe for non-ascii characters.
** Affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1306479
Title:
ec2 api breaks on non-ascii characters
Status in OpenStack Compute (Nova):
New
Bug description:
When you query the ec2 api, and it returns non-ascii data from the
database, It throws something like this
2014-04-11 10:05:19.874 ERROR nova.api.ec2 [req-bc73aa28-0faa-437c-
8fb1-e61188658c03 user project] Unexpected error raised: 'ascii' codec
can't encode character u'\xe4' in position 1: ordinal not in
range(128)
Tha cause seems to be the str() calls when calling xml.createTextNode
in the /api/ec2/apirequest.py file.
This should porbably be made safe for non-ascii characters.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1306479/+subscriptions
Follow ups
References