Repository navigation
RGW: Change prerequest hook to run after authorization process - #66567
Conversation
d32d1ad to
3158415
Compare
3158415 to
d6bc0c5
Compare
|
@yuvalif any updates on this one? |
|
Can one of the admins verify this patch? |
waiting for teuthology results |
|
@mertsunacoglu No backports were listed in the tracker, so I marked it as resolved. If backports are needed please update the tracker apporpirately. cc: @yuvalif |
|
This is an automated message by src/script/redmine-upkeep.py. I found one or more
The referenced tickets are: Those tickets do not reference this merged Pull Request. If this Pull Request merge resolves any of those tickets, please update the "Pull Request ID" field on each ticket. A future run of this script will appropriately update them. |
it is a behavior change, so, unless someone wants that in tentacle, i dont see a reason to backport |
|
@yuvalif We have users running Squid who are requesting this feature. Is it possible to backport this in squid, should I update the tracker? |
@mertsunacoglu should be possible. i don't think there wer emany changes in the lua code base. |
|
Backport to squid should require a change in the function header only as far as I remember. |
…ase/cobaltcore-storage-v19.2.3+fasttrack-1 PRs: ceph#66065 ceph#67219 ceph#66567 * backports/19.2.3/emin-wip-postauth-lua-squid: backport: Add a variable to the execute function call in unittests Add latest changes to the Bucket Tags PR Limit bucket metadata access to decoded tags only. Fixes: https://tracker.ceph.com/issues/74756 Adjust function signiture to the legacy code Change auth to execute before prerequest Update doc/radosgw/lua-scripting.rst Update doc/radosgw/lua-scripting.rst rgw: Update documentation for lua request blocking behavior Fixes: https://tracker.ceph.com/issues/73485 Update doc/radosgw/lua-scripting.rst Update doc/radosgw/lua-scripting.rst rgw: Document lua request blocking behavior rgw:use lua_isinteger() for lua script return value rgw:Add Tests for Lua blocking requests in RGW rgw: Add Lua functionality for blocking requests
…ase/cobaltcore-storage-v19.2.3-fasttrack-2 PRs: ceph#66065 ceph#67219 ceph#66567 * backports/19.2.3/emin-wip-postauth-lua-squid: backport: Add a variable to the execute function call in unittests Add latest changes to the Bucket Tags PR Limit bucket metadata access to decoded tags only. Fixes: https://tracker.ceph.com/issues/74756 Adjust function signiture to the legacy code Change auth to execute before prerequest Update doc/radosgw/lua-scripting.rst Update doc/radosgw/lua-scripting.rst rgw: Update documentation for lua request blocking behavior Fixes: https://tracker.ceph.com/issues/73485 Update doc/radosgw/lua-scripting.rst Update doc/radosgw/lua-scripting.rst rgw: Document lua request blocking behavior rgw:use lua_isinteger() for lua script return value rgw:Add Tests for Lua blocking requests in RGW rgw: Add Lua functionality for blocking requests
…tcore-storage-v19.2.3-fasttrack-4 PR ceph#66065, ceph#67219, ceph#66567, ceph#67548 * backports/19.2.3/emin-lua-writelock: rgw/lua: Add teuthology test for writelock backport: Add the missing driver attribute in the execute function rgw: Add new Lua postAuth hook that is being run after authorization rgw: Add Bucket tags attribute for Lua scripts rgw/lua: Add Lua functionality for blocking requests
…tcore-storage-v19.2.3-fasttrack-5 PR ceph#66065, ceph#67219, ceph#66567, ceph#67548 * backports/19.2.3/emin-lua-writelock: rgw/lua: Add teuthology test for writelock backport: Add the missing driver attribute in the execute function rgw: Add new Lua postAuth hook that is being run after authorization rgw: Add Bucket tags attribute for Lua scripts rgw/lua: Add Lua functionality for blocking requests
…tcore-storage-v19.2.3-fasttrack-6 PR ceph#66065, ceph#67219, ceph#66567, ceph#67548 * backports/19.2.3/emin-lua-writelock: rgw/lua: Add teuthology test for writelock backport: Add the missing driver attribute in the execute function rgw: Add new Lua postAuth hook that is being run after authorization rgw: Add Bucket tags attribute for Lua scripts rgw/lua: Add Lua functionality for blocking requests
…tcore-storage-v19.2.3-fasttrack-7 PR ceph#66065, ceph#67219, ceph#66567, ceph#67548 * backports/19.2.3/emin-lua-writelock: rgw/lua: Add teuthology test for writelock backport: Add the missing driver attribute in the execute function rgw: Add new Lua postAuth hook that is being run after authorization rgw: Add Bucket tags attribute for Lua scripts rgw/lua: Add Lua functionality for blocking requests
…tcore-storage-v19.2.3-fasttrack-8 PR ceph#66065, ceph#67219, ceph#66567, ceph#67548 * backports/19.2.3/emin-lua-writelock: rgw/lua: Add teuthology test for writelock backport: Add the missing driver attribute in the execute function rgw: Add new Lua postAuth hook that is being run after authorization rgw: Add Bucket tags attribute for Lua scripts rgw/lua: Add Lua functionality for blocking requests
…tcore-storage-v19.2.3-fasttrack-9 PR ceph#66065, ceph#67219, ceph#66567, ceph#67548 * backports/19.2.3/emin-lua-writelock: rgw/lua: Add teuthology test for writelock backport: Add the missing driver attribute in the execute function rgw: Add new Lua postAuth hook that is being run after authorization rgw: Add Bucket tags attribute for Lua scripts rgw/lua: Add Lua functionality for blocking requests
Retroactive <uuid>.md for the Lua write-lock backport (postAuth hook, bucket tags, request blocking) already landed on this branch as merge commit 14149f3. Backport-Id: 019e92ed-d2cb-72c0-a34e-b5bf55eac620 Backport-Merge: 14149f3 Upstream-PRs: ceph#66065, ceph#67219, ceph#66567, ceph#67548
Fixes: https://tracker.ceph.com/issues/73979
The PR moves the 'prerequest' scripts to execute after authorization is completed, thus giving them to ability to reach critical fields such as User ID.
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
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.