Skip to content

tentacle: RGW: Add Bucket metadata attribute for Lua scripts - #68564

Merged
batrick merged 1 commit into
ceph:tentaclefrom
mertsunacoglu:wip-76120-tentacle
Nov 25, 2026
Merged

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

Conversation

@mertsunacoglu

Copy link
Copy Markdown
Contributor

@mertsunacoglu
mertsunacoglu requested review from a team as code owners April 23, 2026 08:43
@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.

@batrick batrick added the releng-audit-queue Release engineering: queued for backport verification audit. label May 2, 2026
batrick
batrick previously requested changes May 2, 2026

@batrick batrick left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Automated Backport Parity Review - Backport Deviation Alert

A conflict or unapproved deviation was detected during the simulation of this backport, and the changes appear to be incorrect or undocumented. Please review the highlighted files. Make sure Conflict markers are left into cherry-picks with explanations.

Be familiar with the rules and guidelines for writing backports.

Affected File(s):

Commit Parity Visualizer:

================================================================================
COMMIT PARITY VISUALIZER
================================================================================
BACKPORT PR #68564                             SOURCE PR / STATUS
--------------------------------------------------------------------------------
[ 358d89fd ] rgw: Add Bucket tags attr...      PR #67219 [ 6e09062f ] rgw: Add Bucket tags...
================================================================================

Range Diff:

Click to expand
--- Original (6e09062f)
+++ Backport (358d89fd)
@@ -10,3 +10,4 @@
 
 Co-authored-by: Yuval Lifshitz <[email protected]>
 Signed-off-by: Emin Mert Sunacoglu <[email protected]>
+(cherry picked from commit 6e09062fcc4a623ab8ac9f1f0e8ec78456f7fe28)

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

1:  6e09062fcc4 ! 1:  358d89fda75 rgw: Add Bucket tags attribute for Lua scripts
    @@ Commit message
     
         Co-authored-by: Yuval Lifshitz <[email protected]>
         Signed-off-by: Emin Mert Sunacoglu <[email protected]>
    +    (cherry picked from commit 6e09062fcc4a623ab8ac9f1f0e8ec78456f7fe28)
     
      ## doc/radosgw/lua-scripting.rst ##
     @@ doc/radosgw/lua-scripting.rst: Request Fields
    @@ src/test/rgw/test_rgw_lua.cc
      
      using namespace std;
      using namespace rgw;
    -@@ src/test/rgw/test_rgw_lua.cc: TEST(TestRGWLua, NotValidLua)
    -   const auto rc = lua::request::execute(nullptr, nullptr, &s, nullptr, script, return_code);
    -   ASSERT_EQ(rc, -1);
    -   EXPECT_NE(return_code, -EPERM);
    --}
    - \ No newline at end of file
    +@@ src/test/rgw/test_rgw_lua.cc: TEST(TestRGWLua, NestedLoop)
    +   ASSERT_EQ(rc, 0);
    + }
    + 
    ++TEST(TestRGWLua, ReturnError)
    ++{
    ++  const std::string script = R"(
    ++  return RGW_ABORT_REQUEST
    ++  )";
    ++  int return_code = 0;
    ++  DEFINE_REQ_STATE;
    ++  const auto rc = lua::request::execute(nullptr, nullptr, &s, nullptr, script, return_code);
    ++  EXPECT_EQ(rc, 0);
    ++  EXPECT_EQ(return_code, -EPERM);
    ++}
    ++
    ++TEST(TestRGWLua, ReturnString)
    ++{
    ++  const std::string script = R"(
    ++  return "NoSuchBucket"
    ++  )";
    ++
    ++  int return_code = 0;
    ++  DEFINE_REQ_STATE;
    ++  const auto rc = lua::request::execute(nullptr, nullptr, &s, nullptr, script, return_code);
    ++  ASSERT_EQ(rc, 0);
    ++  EXPECT_NE(return_code, -EPERM);
    ++}
    ++
    ++TEST(TestRGWLua, SuccessNoReturn)
    ++{
    ++  const std::string script = R"(
    ++  -- do nothing and return nothing
    ++  )";
    ++
    ++  int return_code = 0;
    ++  DEFINE_REQ_STATE;
    ++  const auto rc = lua::request::execute(nullptr, nullptr, &s, nullptr, script, return_code);
    ++  ASSERT_EQ(rc, 0);
    ++  EXPECT_NE(return_code, -EPERM);
    ++}
    ++
    ++TEST(TestRGWLua, NotValidLua)
    ++{
    ++  const std::string script = R"(
    ++  this is not valid lua code
    ++  )";
    ++
    ++  int return_code = 0;
    ++  DEFINE_REQ_STATE;
    ++  const auto rc = lua::request::execute(nullptr, nullptr, &s, nullptr, script, return_code);
    ++  ASSERT_EQ(rc, -1);
    ++  EXPECT_NE(return_code, -EPERM);
     +}
     +
     +TEST(TestRGWLua, BucketTags)

@batrick batrick added releng-audit-fail Release engineering: failed backport verification audit. and removed releng-audit-queue Release engineering: queued for backport verification audit. labels May 2, 2026
Comment thread src/test/rgw/test_rgw_lua.cc Resolved
@batrick batrick added the releng-audit-queue Release engineering: queued for backport verification audit. label Jul 13, 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 13, 2026
@nbalacha
nbalacha self-requested a review September 29, 2026 12:09
@nbalacha

Copy link
Copy Markdown
Contributor

jenkins test api

@nbalacha

Copy link
Copy Markdown
Contributor

The audit fail is a false positive. This can be taken for tentacle if it passes tests.

@nbalacha

Copy link
Copy Markdown
Contributor

@adamemerson , please set the audit override.

@mertsunacoglu

Copy link
Copy Markdown
Contributor Author

@nbalacha is there anything I can do on my end to help move this forward?

@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 Oct 23, 2026
@github-actions

Copy link
Copy Markdown

✅ Audit Override Applied by @adamemerson.

View workflow run

@anrao19

anrao19 commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-anrao5-testing-2026-10-28-0801-tentacle.

@anrao19

anrao19 commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-anrao5-testing-2026-10-28-0801-tentacle.

pr testing completed and approved by @ivancich more details on : https://tracker.ceph.com/issues/82206
@mertsunacoglu , if no further testing is needed then this pr can be merged

@batrick batrick added the releng-audit-queue Release engineering: queued for backport verification audit. label Nov 25, 2026
@github-actions github-actions Bot removed releng-audit-queue Release engineering: queued for backport verification audit. releng-audit-override labels Nov 25, 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 #68564 SOURCE PR SOURCE STATUS
1325ef5 rgw: Add Bucket tags attribute for Lua scripts PR #67219 6e09062 rgw: Add Bucket tags attribute for Lua scripts

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 1325ef5 (cherry-pick of 6e09062)

Affected File(s)

Range Diff

Click to expand
--- Original (6e09062f)
+++ Backport (1325ef5f)
@@ -10,3 +10,4 @@
 
 Co-authored-by: Yuval Lifshitz <[email protected]>
 Signed-off-by: Emin Mert Sunacoglu <[email protected]>
+(cherry picked from commit 6e09062fcc4a623ab8ac9f1f0e8ec78456f7fe28)

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

1:  6e09062fcc4 ! 1:  1325ef5fe25 rgw: Add Bucket tags attribute for Lua scripts
    @@ Commit message
     
         Co-authored-by: Yuval Lifshitz <[email protected]>
         Signed-off-by: Emin Mert Sunacoglu <[email protected]>
    +    (cherry picked from commit 6e09062fcc4a623ab8ac9f1f0e8ec78456f7fe28)
     
      ## doc/radosgw/lua-scripting.rst ##
     @@ doc/radosgw/lua-scripting.rst: Request Fields
    @@ src/test/rgw/test_rgw_lua.cc
      using namespace std;
      using namespace rgw;
     @@ src/test/rgw/test_rgw_lua.cc: TEST(TestRGWLua, NotValidLua)
    -   const auto rc = lua::request::execute(nullptr, nullptr, &s, nullptr, script, return_code);
        ASSERT_EQ(rc, -1);
        EXPECT_NE(return_code, -EPERM);
    --}
    - \ No newline at end of file
    -+}
    + }
     +
     +TEST(TestRGWLua, BucketTags)
     +{

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 Nov 25, 2026
@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Nov 25, 2026
@github-actions

Copy link
Copy Markdown

✅ Audit Override Applied by @batrick.

View workflow run

@batrick

batrick commented Nov 25, 2026

Copy link
Copy Markdown
Member

@nbalacha please add yourself to .githubmap

@batrick
batrick dismissed their stale review November 25, 2026 14:07

addressed

@batrick
batrick merged commit e7a55db into ceph:tentacle Nov 25, 2026
21 of 22 checks passed
@batrick batrick modified the milestones: tentacle, v20.2.6 Nov 25, 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.

7 participants