Skip to content

rgw/s3: require lock permissions for object lock headers on write - #73508

Open
jzhu116-bloomberg wants to merge 2 commits into
ceph:mainfrom
jzhu116-bloomberg:wip-82703
Open

jzhu116-bloomberg wants to merge 2 commits into
ceph:mainfrom
jzhu116-bloomberg:wip-82703

Conversation

@jzhu116-bloomberg

Copy link
Copy Markdown
Contributor

Fixes: https://tracker.ceph.com/issues/82703
Signed-off-by: Jane Zhu [email protected]

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.

@anrao19

anrao19 commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-anrao5-testing-2026-11-13-0829-main.

@ivancich ivancich removed the needs-qa label Nov 18, 2026
@ivancich

Copy link
Copy Markdown
Member

@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

@jzhu116-bloomberg

Copy link
Copy Markdown
Contributor Author

@jzhu116-bloomberg : This PR seems to have caused errors during the QA run, specifically:

  • test_object_lock_put_object_lock_headers_permission_denied
  • test_object_lock_multipart_lock_headers_permission_denied
  • test_object_lock_copy_object_lock_headers_permission_denied

Here are 3 teuthology logs where they appeared:

...

Thanks! The three failures are in the new tests, not in RGW. They fail only with theaccounts$/{main}(and main-tenant in the same teuthology run) , where the main user is an account root. The Deny policy named arn:aws:iam:::user/<id>, which doesn't match the root principal, so the Deny never applied. I've switched it to "Principal": "*". The PR has also been rebased.
Locally, all four tests now pass with a plain user and with an account-root main user.

@jzhu116-bloomberg

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@jzhu116-bloomberg

Copy link
Copy Markdown
Contributor Author

jenkins test make check arm64

@anrao19

anrao19 commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

This PR has been removed from wip-anrao5-testing-2026-11-13-0829-main.

@anrao19

anrao19 commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-anrao17-testing-2026-12-02-0607-main.

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.

5 participants