keystonemiddleware/releasenotes/notes/bug-1809101-6b5088443d5970ba.yaml
Leehom Li (feli5) 82707e15a5 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 <feli5@cisco.com>
2018-12-24 02:02:17 +00:00

8 lines
282 B
YAML

---
fixes:
- |
[`bug 1809101 <https://bugs.launchpad.net/keystonemiddleware/+bug/1809101>`_]
Fix req.context of Keystone audit middleware and Glance conflict with each
other issue. The audit middleware now stores the admin context to
req.environ['audit.context'].