Cannot use audit middleware with Swift because cfg.CONF.project does not exist
Bug #1583690 reported by
Guang Yee
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
keystonemiddleware |
Fix Released
|
Medium
|
Guang Yee |
Bug Description
Audit assumes cfg.CONF.project is set.
https:/
This is only true for services using oslo.config. But since Swift have no dependency on oslo.config, this option may not get registered or even exist. You may see an traceback in Swift which ends with something like this
"oslo_config.
We need to follow the same pattern as auth_token to determine the project. See
Changed in keystonemiddleware: | |
importance: | Undecided → Medium |
status: | New → Triaged |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/320123
Review: https:/