yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #26186
[Bug 1388386] Re: libvirt: boot instance with utf-8 name results in UnicodeDecodeError
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => kilo-1
--
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/1388386
Title:
libvirt: boot instance with utf-8 name results in UnicodeDecodeError
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
With the libvirt driver and Juno 2014.2 code, try to boot a server via
Horizon with name "ABC一丁七ÇàâアイウДфэبتثअइउ€¥噂ソ十豹竹敷" results in:
http://paste.openstack.org/show/128060/
This is new in Juno but was a latent issue since Icehouse, the Juno
change was:
https://github.com/openstack/nova/commit/60c90f73261efb8c73ecc02152307c81265cab13
The err variable is an i18n Message object and when we try to put the
domain.XMLDesc(0) into the unicode _LE message object string it blows
up in oslo.i18n because the encoding doesn't match.
The fix is to wrap domain.XMLDesc(0) in
oslo.utils.encodeutils.safe_decode.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1388386/+subscriptions
References