Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-13796

Heat API and CFN should use health check endpoint for probes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • rhos-18.0.6
    • rhos-18.0.4
    • heat-operator
    • None
    • Low

      Currently, the probes work but they report a warning:

        41s (x361 over 30m)     Warning   ProbeWarning             Pod/heat-cfnapi-598fc49d9b-99phr                                     Readiness probe warning: Probe terminated redirects, Response body: {"versions": [{"id": "v1.0", "status": "CURRENT", "links": [{"rel": "self", "href": "http://172.19.16.52:8000/v1/"}]}]}
        41s (x349 over 29m)     Warning   ProbeWarning             Pod/heat-api-6bffd5b97f-z8wb4                                        Readiness probe warning: Probe terminated redirects, Response body: {"versions": [{"id": "v1.0", "status": "CURRENT", "links": [{"rel": "self", "href": "http://172.19.4.75:8004/v1/"}]}]} 

      They work due to how multiple redirects are handled after 11 redirects have been received:
      https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#http-probes

      But we should improve this and hit a real endpoint. The /healthcheck endpoint is available for them, so we should use that.
      https://github.com/openstack/heat/blob/master/etc/heat/api-paste.ini

              rhn-support-bshephar Brendan Shephard (Inactive)
              rhn-support-bshephar Brendan Shephard (Inactive)
              rhos-dfg-df
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: