request_id middleware uses wrong request ID value
Bug #1289696 reported by
Chris Buccella
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Chris Buccella | ||
neutron |
Fix Released
|
High
|
Akihiro Motoki | ||
oslo-incubator |
Fix Released
|
High
|
Chris Buccella |
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.
Changed in oslo: | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in neutron: | |
status: | New → Confirmed |
assignee: | nobody → Akihiro Motoki (amotoki) |
importance: | Undecided → High |
Changed in neutron: | |
milestone: | none → icehouse-rc1 |
Changed in oslo: | |
assignee: | Chris Buccella (chris-buccella) → Ben Nemec (bnemec) |
Changed in oslo: | |
assignee: | Ben Nemec (bnemec) → Chris Buccella (chris-buccella) |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Changed in oslo: | |
milestone: | none → icehouse-rc1 |
status: | Fix Committed → Fix Released |
Changed in oslo: | |
milestone: | icehouse-rc1 → 2014.1 |
Changed in neutron: | |
milestone: | icehouse-rc1 → 2014.1 |
Changed in cinder: | |
milestone: | none → juno-1 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | juno-1 → 2014.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/79358
Review: https:/