when value of metadata is unicode, GETs return 500s

Bug #929281 reported by Gabe Westmaas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Naveed Massjouni

Bug Description

GET on servers/{instanceid}/detail or servers/detail or servers/{instanceid}/metadata returns a 500 to the user. We should support unicode.

This is reproducible when using mysql.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/3952

Changed in nova:
assignee: nobody → Naveed Massjouni (ironcamel)
status: New → In Progress
Brian Waldon (bcwaldon)
Changed in nova:
importance: Undecided → Medium
milestone: none → essex-4
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/3952
Committed: http://github.com/openstack/nova/commit/2a22d5bd3a85c9cb2376a78cbe1a792ca84a0a52
Submitter: Jenkins
Branch: master

commit 2a22d5bd3a85c9cb2376a78cbe1a792ca84a0a52
Author: Naveed Massjouni <email address hidden>
Date: Thu Feb 9 03:51:24 2012 +0000

    Fixing a unicode related metadata bug.

    When a server had metadata with unicode characters in the values, doing a GET
    on servers details would return a 500 error. This fixes that bug.

    bug: 929281
    Change-Id: I6162532c9a5a615802eb23e7bf9a80d3faf6e7a0

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: essex-4 → 2012.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.