Repository navigation
rgw: check all JWKS for STS - #63047
Conversation
Signed-off-by: Alex Wojno <[email protected]>
|
@cbodley @mattbenjamin @adamemerson : In continuation to my earlier comment and wrt discussions we've had about this - This PR introduces code change to make AWS compliant thumbprint verification code, common to all JWK (this was introduced only for n&e in d970f62, so that we could deprecate the current method for thumbprint verification for x5c in a phased manner and make that common for all JWK). This will affect the current end users using x5c. So this should be a separate commit ( a PR will be better) with doc changes. And we also need to think about how we can test this as the current keycloak setup in teuthology is an http connection and the TLS connection verification will fail in that case. Should we introduce unit tests etc. And this does not address tracker https://tracker.ceph.com/issues/54562, instead should be linked to https://tracker.ceph.com/issues/51346 or more specifically to https://tracker.ceph.com/issues/69106 |
is there no way to rectify this teuthology setup? |
This needs to be looked into, I don't have an answer right away. The setup in teuthology was done by Kalpesh. |
38190a1 to
deedf3e
Compare
|
@awojno-bloomberg : the code looks fine to me, just that the name of the config option |
Added `rgw_enable_jwks_url_verification` to control verification. Signed-off-by: Alex Wojno <[email protected]>
Okay, I changed the config to |
Looks great, qa can be started on this PR now. |
|
jenkins test make check |
|
jenkins test make check arm64 |
|
I kicked off a QA run for this build that seems to be failing for unrelated reasons: https://pulpito.ceph.com/bcs-ceph-2025-06-12_15:31:06-rgw-wip-awojno-sts-fixes-distro-default-smithi/ Any advice @pritha-srivastava? |
@awojno-bloomberg : Is it possible for you to list out the exact failures here? I can see there are some "dead" jobs also. Can you please rebase with latest main and run this through teuthology once more? |
|
@awojno-bloomberg : did you run the rgw:sts suite on this PR to rule out any regressions? |
|
Hi @pritha-srivastava , Hi @cbodley ,
Is the reason why this change-set is not going thru qa-testing ( We at Bloomberg have been looking forward to this fix for some time now. While we could work around it by patching it into our internal custom version, we'd really love to see it merged upstream with the community's support. |
|
There are other projects that would also benefit from getting this into the next ceph patch release if possible. |
Did you address this failure? |
There was a path that I asked @awojno-bloomberg to test to rule out any STS regressions, I have not seen any response on that yet. Also @cbodley are you aware if the STS tests have passed (asking since you removed the needs-qa label). |
|
@pritha-srivastava from https://pulpito.ceph.com/bcs-ceph-2025-06-12_15:31:06-rgw-wip-awojno-sts-fixes-distro-default-smithi/ it looks like all of the rgw/sts jobs were 'dead'. i'd removed the label because it looked like this failed qa. the |
Sure, I'll take that up. |
Thank you @pritha-srivastava ! Hopefully, that will seal the deal.
I'm not sure what @cbodley / @adamemerson / @pritha-srivastava think but AFAIK there's no plan to backport this change to Reef (v18) or even to Squid (v19). Pritha had another related set of changes prior to this PR so the backport of the full set of changes might be challenging I think. So, it looks like you'll need to wait for a Tentacle RC to utilize this change. |
|
I was thinking that patch set got backported already, and that one was more of a feature, and this one is more of a bugfix? |
|
https://pulpito.ceph.com/prsrivas-2025-08-04_03:44:18-rgw:sts-wip-prsrivas-sts-fix-testing-distro-default-smithi/ - the STS tests have passed - there is no regression |
|
A bunch of failures are there in the whole rgw test suite run:
|
|
None of these failures are related to changes in this PR, so this can be merged @cbodley and @adamemerson |
|
also the tracker issue that this PR addresses was fixed and backported in another PR, this is an improvement over the earlier fix, so @cbodley and @adamemerson what process should be followed to backport this fix? shall I re-open the backport tickets for squid and reef and perform the backports? |
@cbodley and @adamemerson , any concerns with merging this? |
@pritha-srivastava i would suggest creating a new tracker issue for this pr's backports, rather than reusing existing issues |
|
Could you please post the links to the backport issues here when created so we can follow along? |
|
@cbodley : I created a new tracker issue for this: https://tracker.ceph.com/issues/72457. But when I executed the create-backport-issue script, no backports were created. Did I miss any field here? |
@pritha-srivastava we saw this in the bug scrub - you had set "Pending Backport" in the Tags field instead of the Status, so the create-backport-issue script missed it. backport trackers got created after we fixed that |
Actually I had left it empty, even then the script didn't create any backport trackers, so I tried again by setting the tag field to Pending Backports. Anyway I will perform the backports in the coming days |
https://tracker.ceph.com/issues/72466 |
Addresses a couple of issues including:
Tracker: https://tracker.ceph.com/issues/54562
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job Definition