auth_token emits deprecation warning for keystoneclient
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
keystoneauth |
Fix Released
|
Medium
|
Jamie Lennox | ||
keystonemiddleware |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
AuthToken middleware is emitting log warnings like:
UserWarning: Using keystoneclient sessions has been deprecated. Please update your software to use keystoneauth1.
This warning was added as part of https:/
Unfortunately this misses a hack we do in auth_token middleware where we build an adapter and pass the whole adapter as a session. This works because the relied on interface is designed to exactly match. Really this is a strange situation and we shouldn't be passing adapters around like this but it's a much larger fix to auth_token middleware to change this that doesn't have a functionality difference.
We should fix this in keystoneauth to allow this recursive adapter situation, as really all we care about in this check is that users aren't mixing keystoneclient and keystoneauth.
Changed in keystoneauth: | |
importance: | Undecided → Medium |
Changed in keystonemiddleware: | |
status: | Incomplete → Won't Fix |
Fix proposed to branch: master /review. openstack. org/406647
Review: https:/