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

Mismatch in backend port in the Haproxy configuration provided for bare metal installation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • 4.15
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 3
    • Moderate
    • No
    • None
    • None
    • None
    • OSDOCS Sprint 250
    • 1
    • Done
    • Release Note Not Required
    • N/A
    • None
    • None
    • None
    • None

      Description of problem:

      Backend port in HaProxy configuration example is wrong in the following documentation section

      https://70800--ocpdocs-pr.netlify.app/openshift-enterprise/latest/installing/installing_bare_metal/installing-bare-metal#installation-load-balancing-user-infra-example_installing-bare-metal

      I would expect that the frontend port 22623 should be mapped to backend port 22623 not 6443 and correct configuration should be as follows

      listen machine-config-server-22623 
        bind *:22623
        mode tcp
        option  httpchk GET /readyz HTTP/1.0
        option  log-health-checks
        balance roundrobin
        server bootstrap bootstrap.ocp4.example.com:22623 verify none check check-ssl inter 10s fall 2 rise 3 backup 
        server master0 master0.ocp4.example.com:22623 weight 1 verify none check check-ssl inter 10s fall 2 rise 3
        server master1 master1.ocp4.example.com:22623 weight 1 verify none check check-ssl inter 10s fall 2 rise 3
        server master2 master2.ocp4.example.com:22623 weight 1 verify none check check-ssl inter 10s fall 2 rise 3 

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

          4.15

              dfitzmau@redhat.com Darragh Fitzmaurice
              rhn-support-hchaturv Himank Chaturvedi
              None
              None
              Gaoyun Pei Gaoyun Pei
              None
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: