libvirt: boot instance with utf-8 name results in UnicodeDecodeError
Bug #1388386 reported by
Matt Riedemann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Matt Riedemann | ||
Juno |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
With the libvirt driver and Juno 2014.2 code, try to boot a server via Horizon with name "ABC一丁七ÇàâアイウДф
http://
This is new in Juno but was a latent issue since Icehouse, the Juno change was:
https:/
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.
Changed in nova: | |
status: | New → Triaged |
Changed in nova: | |
importance: | Undecided → Medium |
Changed in nova: | |
milestone: | none → kilo-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | kilo-1 → 2015.1.0 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/132408
Review: https:/