Skip to content

LOG-8581: Add validation for duplicate case-variant headers for Elasticsearch output#3217

Open
vparfonov wants to merge 1 commit intoopenshift:release-6.5from
vparfonov:log8581
Open

LOG-8581: Add validation for duplicate case-variant headers for Elasticsearch output#3217
vparfonov wants to merge 1 commit intoopenshift:release-6.5from
vparfonov:log8581

Conversation

@vparfonov
Copy link
Copy Markdown
Contributor

Description

Thsi PR add validation for duplicate case-variant headers for Elasticsearch output. Duplicate case-variant headers (e.g., 'Accept' and 'accept') cause media_type_header_exception in Elasticsearch.

This change adds validation to detect and prevent such duplicates by using CanonicalHeaderKey to normalize header names.

/cc @cahartma @Clee2691
/assign @jcantrill

Links

…csearch output

Duplicate case-variant headers (e.g., 'Accept' and 'accept') cause media_type_header_exception in Elasticsearch.
This change adds validation to detect and prevent such duplicates.
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Mar 3, 2026
@openshift-ci-robot
Copy link
Copy Markdown

openshift-ci-robot commented Mar 3, 2026

@vparfonov: This pull request references LOG-8581 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.8.0" version, but no target version was set.

Details

In response to this:

Description

Thsi PR add validation for duplicate case-variant headers for Elasticsearch output. Duplicate case-variant headers (e.g., 'Accept' and 'accept') cause media_type_header_exception in Elasticsearch.

This change adds validation to detect and prevent such duplicates by using CanonicalHeaderKey to normalize header names.

/cc @cahartma @Clee2691
/assign @jcantrill

Links

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot requested review from alanconway and jcantrill March 3, 2026 14:08
@jcantrill
Copy link
Copy Markdown
Contributor

/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 4, 2026
@jcantrill
Copy link
Copy Markdown
Contributor

/approve
/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 4, 2026
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Mar 4, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jcantrill, vparfonov

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 4, 2026
@vparfonov vparfonov changed the base branch from master to release-6.5 March 19, 2026 09:35
@openshift-ci-robot
Copy link
Copy Markdown

openshift-ci-robot commented Mar 19, 2026

@vparfonov: This pull request references LOG-8581 which is a valid jira issue.

Details

In response to this:

Description

Thsi PR add validation for duplicate case-variant headers for Elasticsearch output. Duplicate case-variant headers (e.g., 'Accept' and 'accept') cause media_type_header_exception in Elasticsearch.

This change adds validation to detect and prevent such duplicates by using CanonicalHeaderKey to normalize header names.

/cc @cahartma @Clee2691
/assign @jcantrill

Links

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Mar 19, 2026

@vparfonov: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. release/6.5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants