libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [libcloud] dpeschman opened a new pull request #1557: OpenStack authentication token cache
Date Fri, 26 Feb 2021 22:13:09 GMT

dpeschman opened a new pull request #1557:

   ## OpenStack authentication token cache
   ### Description
   This change adds support to the OpenStack drivers for saving authentication tokens in an
external cache that can be shared among multiple processes. This is to address the performance
degradation in Keystone that can occur when tokens are allocated quickly and not reused (see
   Parameter ex_auth_cache is added to the OpenStack drivers. If supplied, this cache will
be queried for an active authentication token prior to requesting a new one from OpenStack.
When a new token is acquired from OpenStack, it is inserted into the cache for later reuse.
   In the event that a token is revoked, causing a 401 Unauthorized response while using it,
that token is removed from the cache to prevent future uses.
   ### Status
   - done, ready for review
   ### Checklist (tick everything that applies)
   - [x] [Code linting](
(required, can be done after the PR checks)
   - [ ] Documentation
   - [x] [Tests](
   - [ ] [ICLA](
(required for bigger changes)

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:

View raw message