Skip to content

rgw: rgw_http_s3_errors maps ENAMETOOLONG to 400 instead of 500 UnknownError - #66190

Closed
jeanielamwh wants to merge 1 commit into
ceph:mainfrom
jeanielamwh:issue-72502
Closed

jeanielamwh wants to merge 1 commit into
ceph:mainfrom
jeanielamwh:issue-72502

Conversation

@jeanielamwh

@jeanielamwh jeanielamwh commented Nov 10, 2025 •

Copy link
Copy Markdown

Fixes: https://tracker.ceph.com/issues/72502

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 x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

@jeanielamwh
jeanielamwh requested a review from a team as a code owner November 10, 2025 19:02
@github-actions github-actions Bot added the rgw label Nov 10, 2025
@jmundack

Copy link
Copy Markdown
Contributor

can we update/add tests for this as well please?

@jeanielamwh

Copy link
Copy Markdown
Author

can we update/add tests for this as well please?

Thanks for the review! I can't find any existing test for the code path so I created a new test file test_rgw_common_err.cc. test_rgw_common.cc/h is already taken but it contains functions called by other test files. So we probably don't want to make it a gtest executable.


add_executable(unittest_rgw_common_err test_rgw_common_err.cc)
add_ceph_unittest(unittest_rgw_common_err)
target_link_libraries(unittest_rgw_common_err ${rgw_libs})

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

The ${UNITTEST_LIBS} on L429 is redundant because it's already added by add_ceph_unittest.

@jeanielamwh

Copy link
Copy Markdown
Author

jenkins test make check arm64

@ivancich

Copy link
Copy Markdown
Member

There's discussion in the bug scrub as to whether this needs an S3 test.

@ivancich ivancich added needs-separate-s3tests-qa This is a PR to RGW that, at present, needs to be QA'd against is own s3tests branch before merge. needs-test and removed needs-separate-s3tests-qa This is a PR to RGW that, at present, needs to be QA'd against is own s3tests branch before merge. labels Jan 15, 2026
@jeanielamwh

Copy link
Copy Markdown
Author

There's discussion in the bug scrub as to whether this needs an S3 test.

I can work on this.

@github-actions

Copy link
Copy Markdown

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.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions Bot added the stale label Mar 16, 2026
@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@jeanielamwh

jeanielamwh commented May 6, 2026 •

Copy link
Copy Markdown
Author

There's discussion in the bug scrub as to whether this needs an S3 test.

I can work on this.

Sorry for taking forever on this. I finally added the s3-test here ceph/s3-tests#745 and test it with and without this patch.

@jeanielamwh

Copy link
Copy Markdown
Author

jenkins test make check

@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@github-actions

Copy link
Copy Markdown

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.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions Bot added the stale label Aug 16, 2026
@github-actions

Copy link
Copy Markdown

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!

@github-actions github-actions Bot closed this Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants