[Openstack] Nova string encoding

Naveed Massjouni naveedm9 at gmail.com
Mon Feb 13 23:04:34 UTC 2012


On Mon, Feb 13, 2012 at 5:25 PM, Andrew Bogott <abogott at wikimedia.org> wrote:
> I am investigating this bug:  https://bugs.launchpad.net/horizon/+bug/931667
>
> I've started by passing various silly usernames into '$nova-manage create
> user' and immediately discovered that, for the user name at least, nova
> presumes that commandline args are in ascii rather than in utf-8.  That
> seems wrong!
>
> Is there a policy document anyplace describing what encodings should be used
> in Nova?  If not, do we need one?  Otherwise, anytime we pull something off
> of the commandline or out of the database, we don't really know what we're
> getting.
>
> -Andrew

Very recently, a change got in that converts all tables (except 1) to
utf8 encoding, for the mysql engine. I manually tested creating
servers with unicode names and with unicode metadata, and it worked
fine. Make sure you are running against the latest code.
-Naveed




More information about the Openstack mailing list