OpenStack Compute (Nova)

when value of metadata is unicode, GETs return 500s

Reported by Gabe Westmaas on 2012-02-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
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.

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) on 2012-02-09
Changed in nova:
importance: Undecided → Medium
milestone: none → essex-4

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) on 2012-02-29
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in nova:
milestone: essex-4 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers