Bug 1885414
Summary: | Need to disable HTX when not using HTTP/2 in order to preserve HTTP header name case | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Miciah Dashiel Butler Masters <mmasters> |
Component: | Networking | Assignee: | Miciah Dashiel Butler Masters <mmasters> |
Networking sub component: | router | QA Contact: | Arvind iyengar <aiyengar> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | high | ||
Priority: | high | CC: | aiyengar, aos-bugs, hongli, sgreene |
Version: | 4.4 | ||
Target Milestone: | --- | ||
Target Release: | 4.7.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-02-24 15:23:10 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1886213 |
Description
Miciah Dashiel Butler Masters
2020-10-05 20:57:34 UTC
Tested in "4.7.0-0.nightly-2020-10-17-034503" release. With this payload, it is noted that the haproxy configuration now has the "no option http-use-htx" with http2 disabled, and the headers are no more being moderated for the lower/upper cases: ----- $ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.7.0-0.nightly-2020-10-17-034503 True False 3h57m Cluster version is 4.7.0-0.nightly-2020-10-17-03450 $ oc get all NAME READY STATUS RESTARTS AGE pod/router-http-echo-1-79nll 1/1 Running 0 89m pod/router-http-echo-1-deploy 0/1 Completed 0 89m NAME DESIRED CURRENT READY AGE replicationcontroller/router-http-echo-1 1 1 1 89m NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE service/router-http-echo ClusterIP 172.30.219.51 <none> 8676/TCP 89m NAME REVISION DESIRED CURRENT TRIGGERED BY deploymentconfig.apps.openshift.io/router-http-echo 1 1 1 config $ oc -n openshift-ingress exec router-internalapps-64688cdb7b-l8b8v -- env | grep -i http2 ROUTER_DISABLE_HTTP2=true $ oc -n openshift-ingress exec router-internalapps-64688cdb7b-l8b8v -- grep -i "htx" haproxy.config no option http-use-htx $ curl router-http-echo-test1.internalapps.aiyengar-oc47-2010.qe.devcluster.openshift.com GET / HTTP/1.1 User-Agent: curl/7.68.0 Accept: */* Host: router-http-echo-test1.internalapps.aiyengar-oc47-2010.qe.devcluster.openshift.com X-Forwarded-Host: router-http-echo-test1.internalapps.aiyengar-oc47-2010.qe.devcluster.openshift.com X-Forwarded-Port: 80 X-Forwarded-Proto: http Forwarded: for=122.169.5.75;host=router-http-echo-test1.internalapps.aiyengar-oc47-2010.qe.devcluster.openshift.com;proto=http X-Forwarded-For: 122.169.5.75 ----- Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:5633 |