OSAPI: 500 error in PUT servers/id with accept: xml

Bug #829026 reported by Alex Meade
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Alex Meade

Bug Description

When updating a servers name with the accept header being XML give a 500 error:

curl -s -X PUT -v -H "X-Auth-Token: ${NOVA_TOKEN}" $NOVA_URL/servers/5 -d '{"server": {"name": "newname"}}' -H "Content-Type: application/json" -H "Accept: application/xml"

<cloudServersFault code="500" xmlns="http://docs.openstack.org/compute/api/v1.1">
    <message>
        'ServerXMLSerializer' object has no attribute 'metadata'
    </message>
</cloudServersFault>

Related branches

Alex Meade (alex-meade)
Changed in nova:
assignee: nobody → Alex Meade (alex-meade)
Alex Meade (alex-meade)
Changed in nova:
status: New → In Progress
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → diablo-4
Thierry Carrez (ttx)
Changed in nova:
milestone: diablo-4 → 2011.3
status: Fix Committed → Fix Released
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.