← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1183712] Re: x-compute-request-id header not included in responses to resize requests

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => havana-2

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1183712

Title:
  x-compute-request-id header not included in responses to resize
  requests

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  While I was working on additional testing around the instance actions
  extension, I noticed that certain requests (resize, confirm resize,
  revert resize) don't include the x-compute-request-id header in the
  response. The request id is included in the instance actions response,
  so it seems like it's just being suppressed for some reason.

  Raw response from resize request:

  ------------
  REQUEST SENT
  ------------
  request method..: POST
  request url.....: https://127.0.0.1/v2/659943/servers/95a3382a-206f-46ce-b1c8-8b65b4b17529/action
  request params..: OrderedDict()
  request headers.: {'User-Agent': 'python-requests/0.14.2 CPython/2.7.2 Darwin/12.0.0', 'Content-Type': 'application/json', 'Accept-Encoding': 'gzip, deflate, compress', 'Accept': 'application/json', 'X-Auth-Token': u'e1f7995c1ab9472bb19bc87a7f382832'}
  request body....: {"revertResize": {}}

  2013-05-24 03:31:08,139: DEBUG: cafe.engine.clients.rest:
  -----------------
  RESPONSE RECEIVED
  -----------------
  response status..: <Response [202]>
  response time....: 2.53658294678
  response headers.: {'date': 'Fri, 24 May 2013 08:31:07 GMT', 'content-length': '0', 'content-type': 'text/html;charset=UTF-8', 'server': 'Jetty(8.0.y.z-SNAPSHOT)'}

  Response from os-instance-actions for the server where it clearly
  shows request ids:

  [[instance_uuid: 95a3382a-206f-46ce-b1c8-8b65b4b17529, user_id:
  171019, start_time: 2013-05-24T08:31:06.000000, request_id:
  req-22162466-6571-475f-86a9-4c250c608ebe, action: revertResize,
  message: None, project_id: 659943], [instance_uuid: 95a3382a-206f-
  46ce-b1c8-8b65b4b17529, user_id: 171019, start_time:
  2013-05-24T08:27:25.000000, request_id: req-96622c78-1f05-4abd-
  9c40-3edce8659fef, action: resize, message: None, project_id: 659943],
  [instance_uuid: 95a3382a-206f-46ce-b1c8-8b65b4b17529, user_id: 171019,
  start_time: 2013-05-24T08:24:39.000000, request_id: req-
  778b8904-0926-4491-9716-07f84028ec9e, action: create, message: None,
  project_id: 659943]]

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1183712/+subscriptions