Repository navigation
RGW: When using Keystone auth for RGW, include the Keystone user in ops log - #53365
Conversation
|
jenkins test api |
mattbenjamin
left a comment
There was a problem hiding this comment.
this looks good; is there anything you've found in the keystone token or protocol that we have missed?
the tracker wants to log the username (which is more readable than just the Id) https://bugzilla.redhat.com/show_bug.cgi?id=1769182 |
82d6ecf to
766eb4e
Compare
|
@mdw-at-linuxbox do you see a problem with this? |
766eb4e to
23c7ff0
Compare
|
sorry I'm missing it--where is keystone_user printed to/taken for the ops-log? |
23c7ff0 to
5b26fa5
Compare
I wans't sure what member to use in |
|
that looks plausible :) |
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution! |
|
@AliMasarweh (@pritha-srivastava ) could we make an effort to finalize and merge this by 8.0? |
I think I was waiting for a review last time, after the review it should be ready to merge |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution! |
039fed6 to
09100fb
Compare
|
I want to verify that we are logging the username |
You can enable ops log using |
mattbenjamin
left a comment
There was a problem hiding this comment.
seems ok? really want ack from pritha
|
running ./qa/workunits/rgw/keystone-service-token.sh doesn't fail |
09100fb to
d3a34e9
Compare
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution! |
…ps log Signed-off-by: Ali Masarwa <[email protected]> Signed-off-by: Ali Masarwa <[email protected]>
d3a34e9 to
4716655
Compare
the obvious place to see it would be in the ops-log. do we have any existing automated tests for that? |
not afaik |
|
can you guide where is exactly the ops-log? is it in ceph/build/out directory? |
|
has this been through an rgw suite run in teuthology? |
mattbenjamin
left a comment
There was a problem hiding this comment.
lgtm, please attempt a teuthology suite run
|
jenkins test make check arm64 |
|
teuthology run passed https://pulpito.ceph.com/alimasa-2025-04-27_08:14:12-rgw-wip-alimasa-keystone-auth-rgw-distro-default-smithi/ |
|
jenkins test make check arm64 |
Fixes: https://tracker.ceph.com/issues/73702 On-behalf-of: SAP <[email protected]> Signed-off-by: Filipp Akinfiev <[email protected]> Conflicts: src/rgw/rgw_auth.h src/rgw/rgw_auth.cc src/rgw/rgw_auth_keystone.cc src/rgw/rgw_rest_s3.cc - Squid lacks Ali Masarwa's PR ceph#53365 (commit 4716655), which introduced the keystone_user field on rgw::auth::RemoteApplier::AuthInfo. This backport therefore also carries the equivalent AuthInfo changes: the new keystone_user field and constructor argument, the two Keystone auth paths that populate it, and std::string() placeholders at the LDAP and STS call sites in rgw_rest_s3.cc. (cherry picked from commit 3180812)
Fixes: https://tracker.ceph.com/issues/73702 On-behalf-of: SAP <[email protected]> Signed-off-by: Filipp Akinfiev <[email protected]> Conflicts: src/rgw/rgw_auth.h src/rgw/rgw_auth.cc src/rgw/rgw_auth_keystone.cc src/rgw/rgw_rest_s3.cc - Squid lacks Ali Masarwa's PR ceph#53365 (commit 4716655), which introduced the keystone_user field on rgw::auth::RemoteApplier::AuthInfo. This backport therefore also carries the equivalent AuthInfo changes: the new keystone_user field and constructor argument, the two Keystone auth paths that populate it, and std::string() placeholders at the LDAP and STS call sites in rgw_rest_s3.cc. (cherry picked from commit 3180812)
https://bugzilla.redhat.com/show_bug.cgi?id=1769182
Note: this will change the swift url authentication
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. "pacific"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windows