Repository navigation
tentacle: rgw: avoid doubled ARN in GetBucketReplication for pre-existing data - #69024
Conversation
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
15 similar comments
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
There was a problem hiding this comment.
Automated Redmine Linkage Audit
The following tracking irregularities were found:
- Missing PR Link: Backport tracker #76702 has no 'Pull Request ID' field set. Please link it to PR #69024.
Commit Parity Visualizer
| BACKPORT PR #69024 | SOURCE PR | SOURCE STATUS |
|---|---|---|
| 3296f57 rgw: avoid doubled ARN in GetBucketReplication for pre-existing data | PR #68137 | f7e82e9 rgw: avoid doubled ARN in GetBucketReplication for pre-existing data |
🛟 Need Help?
If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.
📋 Component Lead / Release Manager
To override the audit failure, apply releng-audit-override label or comment /audit override.
When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.
CI Run Log: View Workflow Details
|
pr testing completed and approved by @ivancich , more details : https://tracker.ceph.com/issues/76985. |
|
jenkins test make check |
|
jenkins test rook e2e |
|
jenkins test dashboard cephadm |
Before commit b8f8932 ("rgw: handle destination bucket as an ARN in ReplicationConfiguration"), the PutBucketReplication handler stored the full ARN string (e.g. "arn:aws:s3:::bucket") as the bucket name in the sync policy. After that commit, the GetBucketReplication handler wraps the stored bucket name in a new ARN via ARN(rgw_bucket).to_string(), which produces a doubled prefix like "arn:aws:s3:::arn:aws:s3:::bucket" for buckets whose replication was configured before the fix. Detect whether the stored bucket name is already a valid S3 ARN and use it directly instead of wrapping it again. New data written after b8f8932 stores only the bare bucket name, so the else branch handles that case unchanged. Fixes: https://tracker.ceph.com/issues/75770 Signed-off-by: Lumir Sliva <[email protected]> (cherry picked from commit f7e82e9)
3296f57 to
84f908a
Compare
|
@cbodley both red checks here are unrelated to the cherry-pick, and the force-push I did to try to clear them didn't help (and won't), so flagging what's actually going on:
Could you please drop the |
|
jenkins test make check |
|
Waiting for |
@batrick can you run it again please? |
|
jenkins test make check |
Cherry-pick of f7e82e9 to tentacle.
Before commit b8f8932 ("rgw: handle destination bucket as an ARN
in ReplicationConfiguration"), the PutBucketReplication handler stored
the full ARN string (e.g. "arn:aws:s3:::bucket") as the bucket name in
the sync policy. After that commit, the GetBucketReplication handler
wraps the stored bucket name in a new ARN via ARN(rgw_bucket).to_string(),
which produces a doubled prefix like "arn:aws:s3:::arn:aws:s3:::bucket"
for buckets whose replication was configured before the fix.
Detect whether the stored bucket name is already a valid S3 ARN and use
it directly instead of wrapping it again. New data written after
b8f8932 stores only the bare bucket name, so the else branch handles
that case unchanged.
Tracker: https://tracker.ceph.com/issues/76702
Checklist