← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1289696] Re: request_id middleware uses wrong request ID value

 

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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1289696

Title:
  request_id middleware uses wrong request ID value

Status in Cinder:
  Fix Committed
Status in OpenStack Neutron (virtual network service):
  Fix Released
Status in Oslo - a Library of Common OpenStack Code:
  Fix Committed

Bug description:
  The request_id middleware is designed to generate a request ID during
  process_request() and attach this value to the as an HTTP header
  during process_response(). Unfortunately, it stores the request ID
  value in a variable within the RequestIdMiddleware class. This
  violates the "shared nothing" rule, and can cause problems when
  several requests are run concurrently. For example, if requests A and
  B come in back-to-back, and A completes first, A will have B's request
  ID value in the HTTP response.

  This problem was discovered when running nova's
  api.compute.servers.test_instance_actions test in parallel while
  working on  https://review.openstack.org/#/c/66903/

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


References