Fix return/generation of the x-openstack-request-id header
Bug #1424221 reported by
John Vrbanac
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Barbican |
Fix Released
|
Medium
|
John Vrbanac |
Bug Description
As a user, if you include the x-openstack-
Changed in barbican: | |
assignee: | nobody → John Vrbanac (john.vrbanac) |
milestone: | none → kilo-3 |
Changed in barbican: | |
status: | New → In Progress |
Changed in barbican: | |
importance: | Undecided → Medium |
Changed in barbican: | |
status: | Fix Committed → Fix Released |
Changed in barbican: | |
milestone: | kilo-3 → 2015.1.0 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/158034 /git.openstack. org/cgit/ openstack/ barbican/ commit/ ?id=ce8d9fd39da c16b9b53a9c1192 613d3b93ffd9ee
Committed: https:/
Submitter: Jenkins
Branch: master
commit ce8d9fd39dac16b 9b53a9c1192613d 3b93ffd9ee
Author: John Vrbanac <email address hidden>
Date: Fri Feb 20 23:46:12 2015 -0600
Fixing unable to retrieve req id bug
Properly returning the id if it was provided on the request. If not,
generate an id in the format expected by openstack services
and clients.
Context: leware was copied from Glance
The original code in BaseContextMidd
at the beginning of the project, but it has never worked because
we don't build our requests and responses like Glance does. As
a result, the old code has been logging a "Unabled to retrieve request
id from context" warning for every response. This change properly
retrieves the id (if there), or generates one if needed.
Closes-Bug: 1424221 3f33968144d098b edbfc462e7a
Change-Id: I7e22474775de3c