← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1279172] [NEW] Unicode encoding error exists in extended Nova API, when the data contain unicode

 

Public bug reported:

We have developed an extended Nova API, the API query disks at first, then add a disk to an instance.
After querying, if disk has non-english disk name, unicode will be converted to str in nova/api/openstack/wsgi.py line 451 
"node = doc.createTextNode(str(data))", then unicode encoding error exists.

** 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/1279172

Title:
  Unicode encoding error exists in extended Nova API, when the data
  contain unicode

Status in OpenStack Compute (Nova):
  New

Bug description:
  We have developed an extended Nova API, the API query disks at first, then add a disk to an instance.
  After querying, if disk has non-english disk name, unicode will be converted to str in nova/api/openstack/wsgi.py line 451 
  "node = doc.createTextNode(str(data))", then unicode encoding error exists.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1279172/+subscriptions


Follow ups

References