Skip to content

tentacle: rgw/sts: correct error code to 400 (from 403) - #68101

Open
pritha-srivastava wants to merge 1 commit into
ceph:tentaclefrom
pritha-srivastava:wip-75721-tentacle
Open

pritha-srivastava wants to merge 1 commit into
ceph:tentaclefrom
pritha-srivastava:wip-75721-tentacle

Conversation

@pritha-srivastava

Copy link
Copy Markdown
Contributor

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.
@pritha-srivastava
pritha-srivastava requested a review from a team as a code owner March 30, 2026 07:05
@pritha-srivastava pritha-srivastava added this to the tentacle milestone Mar 30, 2026
@anrao19

anrao19 commented Apr 14, 2026

Copy link
Copy Markdown
Contributor

FYI, pr testing is in progress...
Tracker created for same is : https://tracker.ceph.com/issues/76009

@ivancich

Copy link
Copy Markdown
Member

@ivancich ivancich removed the needs-qa label Apr 22, 2026
@cbodley

cbodley commented Apr 22, 2026

Copy link
Copy Markdown
Contributor

@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?

the original pr required s3test changes in ceph/s3-tests#700. those will need to be backported to tentacle for this

@pritha-srivastava

pritha-srivastava commented Apr 23, 2026 •

Copy link
Copy Markdown
Contributor Author

@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?

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?

@ivancich

Copy link
Copy Markdown
Member

@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?

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 ceph-tentacle branch there that you'd want to make a PR against. I think you'd create a tracker as usual.

@pritha-srivastava

Copy link
Copy Markdown
Contributor Author

@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?

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 ceph-tentacle branch there that you'd want to make a PR against. I think you'd create a tracker as usual.

I will take care of these next week

@pritha-srivastava

Copy link
Copy Markdown
Contributor Author

@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?

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 ceph-tentacle branch there that you'd want to make a PR against. I think you'd create a tracker as usual.

I will take care of these next week

ceph/s3-tests#742
@ivancich @cbodley : possible for either of you to create backport trackers off https://tracker.ceph.com/issues/76269. I am facing some issues using the script.

@batrick

batrick commented Apr 28, 2026

Copy link
Copy Markdown
Member

jenkins test api

@batrick batrick added releng-audit-queue Release engineering: queued for backport verification audit. releng-audit-pass Release engineering: passed backport verification audit. and removed releng-audit-queue Release engineering: queued for backport verification audit. labels Apr 30, 2026
@ivancich ivancich removed the needs-qa label May 8, 2026
@ivancich

ivancich commented May 8, 2026

Copy link
Copy Markdown
Member

@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.

@batrick

batrick commented May 9, 2026

Copy link
Copy Markdown
Member

@pritha-srivastava

Copy link
Copy Markdown
Contributor Author

@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

@batrick

batrick commented Jul 14, 2026

Copy link
Copy Markdown
Member

needs retested

@batrick batrick removed the releng-audit-pass Release engineering: passed backport verification audit. label Jul 17, 2026
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 17, 2026
@batrick batrick added the releng-audit-queue Release engineering: queued for backport verification audit. label Jul 21, 2026
@github-actions github-actions Bot removed releng-audit-queue Release engineering: queued for backport verification audit. releng-audit-fail Release engineering: failed backport verification audit. labels Jul 21, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

⚠️ WARNING: Cherry-pick conflicts or deviations were found that require component lead review.

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)

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.


⚠️ Note: Automated audit checks will be suspended on future pushes to prevent comment spam while you work.

When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.

View workflow run

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 21, 2026
@batrick batrick modified the milestones: v20.2.3, v20.2.4 Jul 23, 2026
@batrick batrick modified the milestones: v20.2.5, tentacle Oct 12, 2026
@anrao19 anrao19 added the wip-anrao6-testing wip-anrao6-testing label Oct 14, 2026
@anrao19

anrao19 commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

@anrao19

anrao19 commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-anrao6-testing-2026-11-02-0639-tentacle.

@ivancich

Copy link
Copy Markdown
Member

@ivancich ivancich removed the needs-qa label Nov 12, 2026
@anrao19 anrao19 removed the wip-anrao6-testing wip-anrao6-testing label Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

releng-audit-fail Release engineering: failed backport verification audit. rgw

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants