Comment 8 for bug 1809101

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystonemiddleware (stable/rocky)

Reviewed: https://review.opendev.org/656230
Committed: https://git.openstack.org/cgit/openstack/keystonemiddleware/commit/?id=47294755ab90b2c24a67836fb9321adc52b26bff
Submitter: Zuul
Branch: stable/rocky

commit 47294755ab90b2c24a67836fb9321adc52b26bff
Author: Leehom Li (feli5) <email address hidden>
Date: Wed Dec 19 15:52:03 2018 +0000

    Make sure audit middleware use own context

    Keystone audit middleware requires to iterate req.context as dict,
    but Glance requires to access req.context.read_only.
    When glance enabled audit, they are conflict with each other.
    This patch fix this issue by store audit context in
    req.environ['audit.context']

    Change-Id: Ib9a62a4cd0b7b9ffb9fa2d6440e8072d45ee0fee
    Closes-Bug: #1809101
    Signed-off-by: Leehom Li <email address hidden>
    (cherry picked from commit 82707e15a5bce8de2d33b1c865c96844c9770580)