OSAPI: 500 error in PUT servers/id with accept: xml
Bug #829026 reported by
Alex Meade
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://
<message>
</message>
</cloudServersF
Related branches
lp:~rackspace-titan/nova/servers-put-xml-lp829026
- Rick Harris (community): Approve
- Brian Waldon (community): Approve
-
Diff: 145 lines (+127/-0)2 files modifiednova/api/openstack/servers.py (+6/-0)
nova/tests/api/openstack/test_servers.py (+121/-0)
Changed in nova: | |
assignee: | nobody → Alex Meade (alex-meade) |
Changed in nova: | |
status: | New → In Progress |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → diablo-4 |
Changed in nova: | |
milestone: | diablo-4 → 2011.3 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.