Bug 2321291 - [CEE] Multipart file download by anonymous user results in 401 error. [NEEDINFO]
Summary: [CEE] Multipart file download by anonymous user results in 401 error.
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RGW
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: 7.1z4
Assignee: Marcus Watts
QA Contact: Tejas
URL:
Whiteboard:
Depends On: 2272648
Blocks: 2315068 2321292
TreeView+ depends on / blocked
 
Reported: 2024-10-23 13:10 UTC by Bipin Kunal
Modified: 2025-04-23 13:15 UTC (History)
14 users (show)

Fixed In Version: ceph-18.2.1-250.el9cp
Doc Type: Bug Fix
Doc Text:
Cause: Currently the "admin token" is cached and upon checking the cache we verify the expiration on the token before using it but we have no logic to invalidate the cache if the response from the Keystone API says that the "admin token" is invalid. Consequence: Swift API requests for clients are dropped causing Error 401 on some RGW servers until service is restarted. Fix: There is probably multiple places in Keystone where it invalidates tokens, but one example where the "admin token" would be invalidated and return HTTP 401 status code is if the user that is configured in rgw_keystone_admin_user has it's password changed (even if it's the same password as the current one) then Keystone will invalidate it's cache and invalidated existing tokens even if they have not expired yet Result: Keystone is now able to invalidate it's cache and invalidated existing tokens even if they have not expired yet
Clone Of: 2272648
: 2321292 (view as bug list)
Environment:
Last Closed:
Embargoed:
mbenjamin: needinfo? (mwatts)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-10115 0 None None None 2024-10-23 13:13:04 UTC

Description Bipin Kunal 2024-10-23 13:10:19 UTC
+++ This bug was initially created as a clone of Bug #2272648 +++


Note You need to log in before you can comment on or make changes to this bug.