Repository navigation
tentacle: rgw/sts: correct error code to 400 (from 403) - #68101
pritha-srivastava wants to merge 1 commit into
Conversation
for expires sts credentials. Fixes: https://tracker.ceph.com/issues/73441 Signed-off-by: Pritha Srivastava <[email protected]> (cherry picked from commit a6d1cba) Conflicts: src/rgw/rgw_common.cc - removing error codes that are in main, but not in tentacle.
|
FYI, pr testing is in progress... |
|
@pritha-srivastava There were some STS failures in the QA run. Would you look into them and see if they're related to this PR? https://qa-proxy.ceph.com/teuthology/anuchaithra-2026-04-21_08:21:14-rgw-wip-anrao9-testing-2026-04-20-1810-tentacle-distro-default-trial/165656/teuthology.log https://qa-proxy.ceph.com/teuthology/anuchaithra-2026-04-21_08:21:14-rgw-wip-anrao9-testing-2026-04-20-1810-tentacle-distro-default-trial/165685/teuthology.log |
the original pr required s3test changes in ceph/s3-tests#700. those will need to be backported to tentacle for this |
Is there a process documented to backport the tests also? |
There's a |
I will take care of these next week |
ceph/s3-tests#742 |
|
jenkins test api |
|
@pritha-srivastava I assigned the backport trackers for the updated tests to you: https://tracker.ceph.com/issues/76269 I've also removed the needs-qa label as it's not passing testing as-is. |
Backport PR for the test updated: ceph/s3-tests#742 |
|
needs retested |
There was a problem hiding this comment.
Ceph Release Engineering Audit Report
Commit Parity Visualizer
| BACKPORT PR #68101 | SOURCE PR |
SOURCE STATUS |
|---|---|---|
| 5143490 rgw/sts: correct error code to 400 (from 403) | PR #65847 | a6d1cba rgw/sts: correct error code to 400 (from 403) |
Automated Backport Parity Review - Cherry-Pick Conflicts / Deviations
A conflict or deviation was detected during the simulation of this backport. The code in this PR does not match a clean cherry-pick of the upstream commits.
This does not necessarily indicate an issue but a maintainer should review.
**Click to expand conflict summaries.**
Deviation in Backport 5143490 (cherry-pick of a6d1cba)
Affected File(s)
src/rgw/rgw_common.cc
Range Diff
Click to expand
--- Original (a6d1cba2)
+++ Backport (51434906)
@@ -4,3 +4,8 @@
Fixes: https://tracker.ceph.com/issues/73441
Signed-off-by: Pritha Srivastava <[email protected]>
+(cherry picked from commit a6d1cba27459cf9d8809cf755a822c0c66ab26aa)
+
+ Conflicts:
+ src/rgw/rgw_common.cc
+ - removing error codes that are in main, but not in tentacle.
================================================================================
RANGE DIFF
================================================================================
1: a6d1cba2745 ! 1: 51434906905 rgw/sts: correct error code to 400 (from 403) for expires sts credentials.
@@ Commit message
Fixes: https://tracker.ceph.com/issues/73441
Signed-off-by: Pritha Srivastava <[email protected]>
+ (cherry picked from commit a6d1cba27459cf9d8809cf755a822c0c66ab26aa)
+
+ Conflicts:
+ src/rgw/rgw_common.cc
+ - removing error codes that are in main, but not in tentacle.
## src/rgw/rgw_common.cc ##
@@ src/rgw/rgw_common.cc: rgw_http_errors rgw_http_s3_errors({
- { ERR_ACLS_NOT_SUPPORTED, {400, "AccessControlListNotSupported"}},
- { ERR_INVALID_BUCKET_ACL, {400, "InvalidBucketAclWithObjectOwnership"}},
- { ERR_NO_SUCH_OWNERSHIP_CONTROLS, {404, "OwnershipControlsNotFoundError"}},
+ { ECANCELED, {409, "ConcurrentModification"}},
+ { EDQUOT, {507, "InsufficientCapacity"}},
+ { ENOSPC, {507, "InsufficientCapacity"}},
+ { ERR_EXPIRED_TOKEN, {400, "ExpiredToken"}},
});
How to proceed:
- Authors (Genuine Conflicts): If this is a genuine conflict requiring manual resolution, ensure your resolution is correct. You must explain the conflict resolution in the commit message (e.g., leave the standard Git
Conflicts:block intact) and include an explanation for changes. - Authors (Need Help?): Reach out to the Component Lead for technical guidance on complex code conflicts.
- Component Leads (Review): Please review the Range Diff(s) above to verify the author's manual conflict resolution is correct for this release branch. If the deviation is intentional, documented, and approved then the component lead or @ceph/ceph-release-manager can bypass this check by commenting
/audit override.
Be familiar with the rules and guidelines for writing backports.
🛟 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.
|
This PR has been added to tentacle integration testing by anuchaithra started 2026-10-14-04:22. |
|
This PR has been added to wip-anrao6-testing-2026-11-02-0639-tentacle. |
|
The QE run showed some failing STS tests. Here's a teuthology log: https://qa-proxy.ceph.com/teuthology/anuchaithra-2026-11-11_05:45:57-rgw-wip-anrao6-testing-2026-11-10-0633-tentacle-distro-default-trial/744928/teuthology.log Here's the full QE run: https://tracker.ceph.com/issues/81744 I've removed the needs-qa label, so you can investigate @pritha-srivastava . |
backport tracker: https://tracker.ceph.com/issues/75721
backport of #65847
parent tracker: https://tracker.ceph.com/issues/73441
this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh