Skip to content

[v26.1.x] Cloud Storage Clients: ABS: Don't send x-ms-version header with batch delete subresponses#30135

Merged
oleiman merged 2 commits into
redpanda-data:v26.1.xfrom
vbotbuildovich:backport-pr-30133-v26.1.x-441
Apr 11, 2026
Merged

[v26.1.x] Cloud Storage Clients: ABS: Don't send x-ms-version header with batch delete subresponses#30135
oleiman merged 2 commits into
redpanda-data:v26.1.xfrom
vbotbuildovich:backport-pr-30133-v26.1.x-441

Conversation

@vbotbuildovich

Copy link
Copy Markdown
Collaborator

Backport of PR #30133

oleiman added 2 commits April 11, 2026 01:00
Exposed as cloud_storage_batch_delete_errors counter in remote_probe.

Signed-off-by: Oren Leiman <oren.leiman@redpanda.com>
(cherry picked from commit a8b6084)
Azure rejects batch sub-requests that carry a version header
(SubRequestCannotHaveVersionHeader). abs_request_creator::add_auth
correctly skips the header when omit_version is true, but the
oauth credentials layer (apply_abs_oauth_credentials) was adding
it unconditionally. This went unnoticed because batch delete was only
tested with Shared Key auth, whose credentials applier does not add
the version header.

We can't strip the header post-facto because by that time the request
is signed. Instead just move the version header setting _out_ of the
oauth credentials impl and to abs_client. Also requires a slight
adjustment to the credentials test, but we can still have e2e tests
that confirm it works.

Signed-off-by: Oren Leiman <oren.leiman@redpanda.com>
(cherry picked from commit ee8c647)
@vbotbuildovich vbotbuildovich added this to the v26.1.x-next milestone Apr 11, 2026
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Apr 11, 2026
@vbotbuildovich vbotbuildovich requested a review from oleiman April 11, 2026 01:00

@oleiman oleiman 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.

clean bp

@oleiman oleiman enabled auto-merge April 11, 2026 01:01
@oleiman oleiman merged commit 076e88a into redpanda-data:v26.1.x Apr 11, 2026
20 checks passed
@tyson-redpanda tyson-redpanda modified the milestones: v26.1.x-next, v26.1.5 Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/redpanda kind/backport PRs targeting a stable branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants