body is not returned for reboot server request with xml format

Bug #1036167 reported by muralik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned

Bug Description

When reboot a server with xml format, it is not returning body (instead just returns header)

steps:

curl -i http://15.184.83.251:8774/v2/af02f8670c2e45c182cf2e6a3dc1b5df/servers/0d9e5f5f-ea2b-4d68-8ecb-0c7540888d08/action -X POST -H "X-Auth-Project-Id: nova_auto_project" -H "User-Agent: python-novaclient" -H "Content-Type: application/xml" -H "Accept: application/xml" -H "X-Auth-Token: 731ec76e675b405689c4d5c1da3bdead"
-d '<?xml version="1.0" encoding="UTF-8"?> <reboot xmlns="http://15.184.83.251:5000/v2.0" type="SOFT"/>'

Output:

{'date': 'Fri, 10 Aug 2012 10:21:08 GMT', 'status': '202', 'content-length': '0', 'content-type': 'text/html; charset=UTF-8'}

Expected Result: reboot server should also return body (in xml format) with server details
Actual Result: Body is not return for reboot server request with xml format

Revision history for this message
Mark McLoughlin (markmc) wrote :

This is actually expected behaviour. See:

  http://docs.openstack.org/api/openstack-compute/2/content/Reboot_Server-d1e3371.html

  This operation does not return a response body.

The same behaviour is seen with the json format.

Changed in nova:
status: New → Invalid
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.