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

customizes the liveness probe on IBM Cloud

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • None
    • None
    • None
    • Done
    • None
    • Hide
      * Before this update, the HAProxy configuration used the `/version` endpoint for health checks causing unreliable health checks to be generated. With this release, the liveness probe is customized to use `/livez?exclude=etcd&exclude=log` on {ibm-cloud-title} for more accurate health checks. This change avoids disruptions due to inappropriate probe configurations on hosted control planes, while retaining `/version` for other platforms. (link:https://issues.redhat.com/browse/OCPBUGS-58126[OCPBUGS-58126])
      Show
      * Before this update, the HAProxy configuration used the `/version` endpoint for health checks causing unreliable health checks to be generated. With this release, the liveness probe is customized to use `/livez?exclude=etcd&exclude=log` on {ibm-cloud-title} for more accurate health checks. This change avoids disruptions due to inappropriate probe configurations on hosted control planes, while retaining `/version` for other platforms. (link: https://issues.redhat.com/browse/OCPBUGS-58126 [ OCPBUGS-58126 ])
    • None
    • None
    • None
    • None

      This is a clone of issue OCPBUGS-57485. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-45265. The following is the description of the original issue:

      Description of problem:

          Use the /livez/ping endpoint to proxy unauthenticated health checks on the master. /livez/ping is a faster and more reliable endpoint, so it should be used over /version.

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

          Impacts all releases, fix can be limited to 4.18

      How reproducible:

          Always

      Steps to Reproduce:

          1. https://github.com/openshift/hypershift/blob/6356dab0c28b77cca1a74d911f7154f70a3cb68d/hypershift-operator/controllers/nodepool/apiserver-haproxy/haproxy.cfg#L26
          2. https://github.com/openshift/hypershift/blob/6356dab0c28b77cca1a74d911f7154f70a3cb68d/hypershift-operator/controllers/nodepool/haproxy.go#L381     

      Actual results:

          /version

      Expected results:

          Use variable LivenessProbeEndpoint to cover IBM cloud 

      Additional info:

          

              Unassigned Unassigned
              openshift-crt-jira-prow OpenShift Prow Bot
              None
              None
              Ke Wang Ke Wang
              None
              Richard Theis
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: