Skip to content

squid-19.2.7: Backport/613 - #32

Merged
uw-sc merged 6 commits into
squid-19.2.7-cobaltcore-storagefrom
backport/613
Oct 16, 2026
Merged

uw-sc merged 6 commits into
squid-19.2.7-cobaltcore-storagefrom
backport/613

Conversation

@uw-sc

@uw-sc uw-sc commented Oct 16, 2026

Copy link
Copy Markdown

Closes cobaltcore-dev/cloud-storage#613

Backport file

  • release-management/backports/<uuid>.md added (or updated) by this PR
  • id in frontmatter matches the filename stem
  • provenance.upstream_prs set (or provenance.type: other with an other: block)

Stage-B risk (filled per release-management/backports/RISK-RUBRIC.md)

  • blast — cosmetic / availability / data-loss
  • conflict — clean / trivial / substantive
  • coverage — strong / partial / weak
  • Risk-notes paragraph in the prose section (required for high band)

Merge

Land this via just merge-backport PR=<N> — do not click the green merge button.
The just recipe constructs the merge commit's Backport-Id trailer.

mertsunacoglu and others added 6 commits October 16, 2026 09:17
Implements the feature for RGW to abort requests when the LUA scripts return a certain error code. This code is implemented in LUA as RGW_ABORT_REQUEST, and in RGW it is interpreted as -EPERM.

Fixes: https://tracker.ceph.com/issues/73485

Signed-off-by: Emin Mert sunacoglu <[email protected]>
(cherry picked from commit 68396f6)
(cherry picked from commit 7fc21ad)
Signed-off-by: Uwe Schwaeke <[email protected]>
Expose bucket tags (from RGW_ATTR_TAGS) to the RGW Lua Request.Bucket.Tags table, allowing lua scripts to read these tags.

Fixes: https://tracker.ceph.com/issues/74756

Signed-off-by: Emin Sunacoglu <[email protected]>

Apply suggestion from @yuvalif

Co-authored-by: Yuval Lifshitz <[email protected]>
Signed-off-by: Emin Mert Sunacoglu <[email protected]>
(cherry picked from commit 6e09062)
(cherry picked from commit 7dccd23)
Signed-off-by: Uwe Schwaeke <[email protected]>
Currently, the prerequest Lua context runs after authentication is done, but before the authorization. Because of this, bucket specific data like bucket tags and tenant info are not loaded yet into the environment when the prerequest script runs.

PR implements a new Lua hook after user is authorized and bucket context is ready, but before we handle the actual request.

Fixes: https://tracker.ceph.com/issues/75195

Signed-off-by: Emin Mert Sunacoglu <[email protected]>
(cherry picked from commit fba3006)
(cherry picked from commit 62063c4)
Signed-off-by: Uwe Schwaeke <[email protected]>
Signed-off-by: Emin Mert Sunacoglu <[email protected]>
(cherry picked from commit a1fabd1)
Signed-off-by: Uwe Schwaeke <[email protected]>
Signed-off-by: Emin Mert Sunacoglu <[email protected]>
(cherry picked from commit 9fa9c5a)
Signed-off-by: Uwe Schwaeke <[email protected]>
@uw-sc
uw-sc merged commit bdad4f5 into squid-19.2.7-cobaltcore-storage Oct 16, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants