Skip to content

tentacle: rgw: Add Lua functionality for blocking requests - #68599

Merged
batrick merged 1 commit into
ceph:tentaclefrom
mertsunacoglu:wip-75104-tentacle
Jul 23, 2026
Merged

batrick merged 1 commit into
ceph:tentaclefrom
mertsunacoglu:wip-75104-tentacle

Conversation

@mertsunacoglu

Copy link
Copy Markdown
Contributor

@mertsunacoglu
mertsunacoglu requested review from a team as code owners April 24, 2026 11:16
@ceph-jenkins

Copy link
Copy Markdown
Collaborator

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.

13 similar comments
@ceph-jenkins

Copy link
Copy Markdown
Collaborator

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.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

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.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

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.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

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.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

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.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

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.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

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.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

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.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

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.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

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.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

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.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

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.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

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.

@github-actions github-actions Bot added this to the tentacle milestone Apr 24, 2026
@mertsunacoglu
mertsunacoglu force-pushed the wip-75104-tentacle branch 2 times, most recently from c8b25f6 to 5a7155e Compare April 24, 2026 11:19
Comment thread src/rgw/rgw_process.cc Resolved
@batrick

batrick commented Apr 28, 2026

Copy link
Copy Markdown
Member

jenkins test api

@batrick

batrick commented Apr 28, 2026

Copy link
Copy Markdown
Member

jenkins test make check

@mertsunacoglu

Copy link
Copy Markdown
Contributor Author

@yuvalif rebased, I solved the merge conflict that was caused by another PR on the rgw_process.cc.

@batrick batrick removed the releng-audit-fail Release engineering: failed backport verification audit. label May 15, 2026
@batrick batrick modified the milestones: v20.2.2, v20.2.3 May 15, 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 May 15, 2026
@nbalacha

nbalacha commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

jenkins test api

@nbalacha

nbalacha commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

The only differences I can see are that the newline at the end of the test file is not present in the main PR but are in the backport. I do not think this matters.

@adamemerson

Copy link
Copy Markdown
Contributor

/audit override

@github-actions github-actions Bot added releng-audit-override and removed releng-audit-fail Release engineering: failed backport verification audit. labels Jun 9, 2026
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

✅ Audit Override Applied by @adamemerson.

@yuvalif

yuvalif commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

@adamemerson can you please see why is the "backport audit" check still failing?

@batrick batrick added the releng-audit-queue Release engineering: queued for backport verification audit. label Jul 17, 2026
@github-actions github-actions Bot removed releng-audit-queue Release engineering: queued for backport verification audit. releng-audit-override labels 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
@yuvalif

yuvalif commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

@adamemerson the only difference from the original PR is a newline added at tyhe end of the py and cc test files.
i think you can override the audit fail

@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 #68599 SOURCE PR SOURCE STATUS
cdd7df4 rgw/lua: Add Lua functionality for blocking requests PR #66065 68396f6 rgw/lua: Add Lua functionality for blocking requests

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 cdd7df4 (cherry-pick of 68396f6)

Affected File(s)

Range Diff

Click to expand
--- Original (68396f63)
+++ Backport (cdd7df49)
@@ -5,3 +5,4 @@
 Fixes: https://tracker.ceph.com/issues/73485
 
 Signed-off-by: mertsunacoglu <[email protected]>
+(cherry picked from commit 68396f6337b5bb91b7e31593754d0dc95b5e9135)

================================================================================
RANGE DIFF
================================================================================

1:  68396f6337b ! 1:  cdd7df49eb2 rgw/lua: Add Lua functionality for blocking requests
    @@ Commit message
         Fixes: https://tracker.ceph.com/issues/73485
     
         Signed-off-by: mertsunacoglu <[email protected]>
    +    (cherry picked from commit 68396f6337b5bb91b7e31593754d0dc95b5e9135)
     
      ## doc/radosgw/lua-scripting.rst ##
     @@ doc/radosgw/lua-scripting.rst: Tracing functions can be used only in the ``postrequest`` context.
    @@ src/rgw/rgw_process.cc: int process_request(const RGWProcessEnv& penv,
        }
     
      ## src/test/rgw/lua/test_lua.py ##
    -@@ src/test/rgw/lua/test_lua.py: from . import(
    -     get_secret_key
    -     )
    - 
    --
    - # configure logging for the tests module
    - log = logging.getLogger(__name__)
    - 
     @@ src/test/rgw/lua/test_lua.py: end
                  result = admin(['script', 'rm', '--context', context])
                  assert result[1] == 0
    @@ src/test/rgw/lua/test_lua.py: end
     +        log.info("Successfully confirmed that the request was interrupted.")
     +
     +    conn.delete_bucket(Bucket=bucket_name)
    - \ No newline at end of file
     
      ## src/test/rgw/test_rgw_lua.cc ##
     @@ src/test/rgw/test_rgw_lua.cc: TEST(TestRGWLua, NestedLoop)
    @@ src/test/rgw/test_rgw_lua.cc: TEST(TestRGWLua, NestedLoop)
     +  ASSERT_EQ(rc, -1);
     +  EXPECT_NE(return_code, -EPERM);
     +}
    - \ No newline at end of file

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

Copy link
Copy Markdown
Contributor

/audit override

@github-actions github-actions Bot added releng-audit-override and removed releng-audit-fail Release engineering: failed backport verification audit. labels Jul 22, 2026
@github-actions

Copy link
Copy Markdown

✅ Audit Override Applied by @adamemerson.

View workflow run

@batrick
batrick merged commit 8041777 into ceph:tentacle Jul 23, 2026
6 of 9 checks passed
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.

7 participants