Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-16375

Router health checks causes "http2: server: error reading preface from client" log messages when "http2" is enabled

XMLWordPrintable

    • Moderate
    • No
    • 3
    • Sprint 239, Sprint 240
    • 2
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      When "http2" is enabled in a cluster following the documentation [1], the router health checks causes "http2: server: error reading preface from client" log messages in some pods (like the lokistack-gateway-pod from Loki).
      

       

      Version-Release number of selected component (if applicable):

      OCP 4.12
      RHOL 5.7.3

       

      How reproducible:

      Always

       

      Steps to Reproduce:

      1. Configure http2 cluster-wide in the following the OCP documentation [1] (or use a cluster with it enabled like OSD/ROSA).
      2. Install RHOL with Loki (no ES) [2].
      3. Check the lokistack-gateway logs
      
      $ oc get logs -n openshift-logging -c gateway [lokistack-gateway-pod_name]
      

       

      Actual results:

      The following message is flooding the log of the pod, as it's shown one time per router each 5 seconds:
      
      http2: server: error reading preface from client 10.x.y.z:44444: read tcp 10.v.z.n:8443->10.x.y.z:44444: read: connection reset by peer
      

       

      Expected results:

      The above message shouldn't be shown in the log.

       

      Additional info:

      Bug opened to Logging (LOG-4359 [3]) was closed: "The issue is that HAProxy's behavior is simply closing the connection too early"

       

      [1] https://docs.openshift.com/container-platform/4.12/networking/ingress-operator.html#nw-http2-haproxy_configuring-ingress
      [2] https://docs.openshift.com/rosa/logging/cluster-logging-loki.html
      [3] https://issues.redhat.com/browse/LOG-4359

              amcdermo@redhat.com Andrew McDermott
              oarribas@redhat.com Oscar Arribas Arribas
              Shudi Li Shudi Li
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: