New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OCPBUGS-18438: Properly format IPv6 address when proxying it through Konnectivity #2969
Conversation
When sending a numeric IPv6 address to the proxy in a CONNECT request, the address needs to be surrounded by brackets, otherwise the proxy sends back a Bad Request (400) result.
Skipping CI for Draft Pull Request. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: csrwng The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
For more context in this issue: After a HC deployment in a IPv6/Disconnected environment we can see that the Ingress ClusterOperator does not work properly:
Also we can see the canary route accesible from the ingressOperator pod using curl command but the golang code doesn't.
|
/lgtm |
/retitle OCPBUGS-18438: Properly format IPv6 address when proxying it through Konnectivity |
@csrwng: This pull request references Jira Issue OCPBUGS-18438, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
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/test-infra repository. |
/test e2e-kubevirt-aws-ovn |
@csrwng: all tests passed! Full PR test history. Your PR dashboard. 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/test-infra repository. I understand the commands that are listed here. |
@csrwng: Jira Issue OCPBUGS-18438: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-18438 has been moved to the MODIFIED state. In response to this:
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/test-infra repository. |
Fix included in accepted release 4.14.0-0.nightly-2023-09-11-201102 |
Fix included in accepted release 4.14.0-0.nightly-2023-09-12-024050 |
Fix included in accepted release 4.14.0-0.nightly-2023-09-15-101929 |
What this PR does / why we need it:
When sending a numeric IPv6 address to the proxy in a CONNECT request, the address needs to be surrounded by brackets, otherwise the proxy sends back a Bad Request (400) result.
Which issue(s) this PR fixes (optional, use
fixes #<issue_number>(, fixes #<issue_number>, ...)
format, where issue_number might be a GitHub issue, or a Jira story:Fixes #
Checklist