f602fa718d
This can create a race condition for long running services that reuse
their token (eg. Kubernetes Cinder CSI plugin) in this case for
example:
1 [user] Asks nova to attach a volume to a server
2 ...the user's token expires
3 [user] Asks cinder if the volume has been attached
4 [nova] Asks cinder to attach the volume
In step 3 the token is marked as invalid in the cache and step 4 fails
even if allow_expired is true
Closes-Bug: #1987355
Change-Id: Ice8e34440a5fe1baa370646ed70b5e085c4af70e
(cherry picked from commit
|
||
---|---|---|
.. | ||
audit | ||
auth_token | ||
__init__.py | ||
client_fixtures.py | ||
test_access_rules.py | ||
test_ec2_token_middleware.py | ||
test_entry_points.py | ||
test_fixtures.py | ||
test_oauth2_token_middleware.py | ||
test_opts.py | ||
test_s3_token_middleware.py | ||
utils.py |