yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #22825
[Bug 1306479] Re: ec2 api breaks on non-ascii characters
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => juno-rc1
--
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):
Fix Released
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
References