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

e2e BYO EIP w/ NLB is failing: [sig-network][Feature:Router] The HAProxy router should expose prometheus metrics for a route [apigroup:route.openshift.io] [Skipped:Disconnected] [Suite:openshift/conformance/parallel]

XMLWordPrintable

    • None
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

          CI job deploying NLB with custom EIP is failing the following e2e test:
      [sig-network][Feature:Router] The HAProxy router should expose prometheus metrics for a route [apigroup:route.openshift.io] [Skipped:Disconnected] [Suite:openshift/conformance/parallel]
      
      Looks like the test is using proxy by default regardless the LB type, but the ingress with NLBs don't use proxy protocol: https://github.com/openshift/release/pull/56960#issuecomment-2580577276

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

          4.17

      How reproducible:

          always

      Steps to Reproduce:

          1. install a cluster with NLB as LB type for the default router (creating manifests [or install-config?])
      
      Directly:
          2. run: curl --haproxy-protocol -s -m 5 -o /dev/null -w '%{http_code}\n' --header 'Host: <app_fqdn>' http://<host_ip_of_cluster_network_CIDR>
      Ex: curl --haproxy-protocol -s -m 5 -o /dev/null -w '%{http_code}\n' --header 'Host: weightedroute-e2e-test-router-metrics-f5bnt.apps.ci-op-pjzkc0n7-eb839.origin-ci-int-aws.dev.rhcloud.com' http://10.128.2.6
      
      Through test suite:
          2. run e2e suite openshift/conformance
          3. check the result of e2e test "[sig-network][Feature:Router] The HAProxy router should expose prometheus metrics for a route [apigroup:route.openshift.io] [Skipped:Disconnected] [Suite:openshift/conformance/parallel]"     

      Actual results:

      exit 1
      command terminated with exit code 1
      error:
      exit status 1
      400"

      Expected results:

          Successful request

      Additional info:

      - CI step customizing the manifest to create NLB: https://github.com/openshift/release/pull/56960/files#diff-e9ab36f1ce5c8d52342ae87231516b1d1370671e86827106c91ce639a3a6157d
      - Previous investigation: 
      1.https://github.com/openshift/release/pull/56960#issuecomment-2465480534
      2. https://github.com/openshift/release/pull/56960#issuecomment-2578708810
      3. https://github.com/openshift/release/pull/56960#issuecomment-2580577276

       

              rh-ee-gpiotrow Grzegorz Piotrowski
              rhn-support-mrbraga Marco Braga
              Hongan Li Hongan Li
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: