Comment 1 for bug 1424221

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to barbican (master)

Reviewed: https://review.openstack.org/158034
Committed: https://git.openstack.org/cgit/openstack/barbican/commit/?id=ce8d9fd39dac16b9b53a9c1192613d3b93ffd9ee
Submitter: Jenkins
Branch: master

commit ce8d9fd39dac16b9b53a9c1192613d3b93ffd9ee
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:
    The original code in BaseContextMiddleware was copied from Glance
    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
    Change-Id: I7e22474775de3c3f33968144d098bedbfc462e7a