Repository navigation
tentacle: rgw: Add Lua functionality for blocking requests - #68599
Conversation
|
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
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
c8b25f6 to
5a7155e
Compare
5a7155e to
0e859d5
Compare
|
jenkins test api |
|
jenkins test make check |
|
@yuvalif rebased, I solved the merge conflict that was caused by another PR on the rgw_process.cc. |
|
jenkins test api |
|
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. |
|
/audit override |
|
✅ Audit Override Applied by @adamemerson. |
|
@adamemerson can you please see why is the "backport audit" check still failing? |
|
@adamemerson the only difference from the original PR is a newline added at tyhe end of the py and cc test files. |
There was a problem hiding this comment.
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
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)
src/test/rgw/lua/test_lua.pysrc/test/rgw/test_rgw_lua.cc
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 fileHow 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.
When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.
|
/audit override |
|
✅ Audit Override Applied by @adamemerson. |
backport tracker: https://tracker.ceph.com/issues/75104
backport of #66065
parent tracker: https://tracker.ceph.com/issues/73485
this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh