Skip to content

Implement suport of redis in keystonemiddleware.auth_token #555

Open

Description

@fdobrovolny

Epic #462

As an SCS Developer, I want to use Redis instead of memcache to cache auth tokens.

https://github.com/openstack/keystonemiddleware/blob/master/keystonemiddleware/auth_token/_cache.py

Definition of Ready:

  • User Story is small enough to be finished within one sprint
  • User Story is clear and understood by the whole team
  • Acceptance criteria are defined
  • Acceptance criteria are clear and understood by the whole team

Definition of Done:

  • All acceptance criteria are met
  • Changes have been reviewed
  • CI tests have run successfully
  • Documentation has been updated
  • Release Notes have been updated

Activity

  1. added
    IaaS
    upstream
    SCS-VP04
    on Mar 12, 2024
  2. MatusJenca2 commented on Mar 20, 2024

    @MatusJenca2

    I'd like to discuss if this is really necessary.
    Keystonemiddleware encrypts tokens according to this doc. If the encryption takes place before the data is sent to memcache, there's no need to use TLS, because the data is already encrypted.

  3. fdobrovolny commented on Mar 20, 2024

    @fdobrovolny
    Author

    I think it would be worth it as to limit the number of services user need to run as if we port everything else to Redis it might not be needed to keep memcache around. And this seems to be quite quick fix I think it would be worth it. Also a note even data stored in Redis would have to be encrypted.

    @berendt @artificial-intelligence would do you guys think?

  4. MatusJenca2 commented on Mar 21, 2024

    @MatusJenca2

    As it's being required I will briefly sum up progress on this issue:

    • Create redis caching backend for keystonemiddleware
    • Test with unit tests
    • Test in Kolla
    • Deliver to Keystonemiddlewareauth
    • Deliver to Kolla
  5. MatusJenca2 commented on Mar 21, 2024

    @MatusJenca2

    Also a note even data stored in Redis would have to be encrypted.

    From the code it seems that the data are encrypted by the middleware itself, so no changes are needed for redis. I am writing unit tests and can verify it soon.

  6. MatusJenca2 commented on Mar 25, 2024

    @MatusJenca2

    As for recent Redis news we may close this issue
    Edit: resuming work on this as per yesterdays IaaS call

  7. moved this from Backlog to Doing in Sovereign Cloud Stackon Jun 27, 2024
  8. moved this from Doing to Backlog in Sovereign Cloud Stackon Jun 27, 2024
  9. moved this from Backlog to Doing in Sovereign Cloud Stackon Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

IaaSSCS-VP04upstream

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions