Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-706

Liveness and Readiness probes for Decision Central OpenShift Image deployment failed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.1.0.GA
    • 7.0.1.GA
    • Cloud
    • None
    • OpenShift

    • CR1
    • Hide

      Replace Readniess and Liveness probes in template

      Old probes

                livenessProbe:
                  exec:
                    command:
                    - "/bin/bash"
                    - "-c"
                    - "/opt/eap/bin/livenessProbe.sh"
                readinessProbe:
                  exec:
                    command:
                    - "/bin/bash"
                    - "-c"
                    - "/opt/eap/bin/readinessProbe.sh"
      

      New probes

                livenessProbe:
                  exec:
                    command:
                    - "/bin/bash"
                    - "-c"
                    - "curl --fail --silent -u '${KIE_ADMIN_USER}:${KIE_ADMIN_PWD}' http://localhost:8080/kie-drools-wb.jsp"
                  initialDelaySeconds: 180
                  timeoutSeconds: 2
                  periodSeconds: 15
                readinessProbe:
                  exec:
                    command:
                    - "/bin/bash"
                    - "-c"
                    - "curl --fail --silent -u '${KIE_ADMIN_USER}:${KIE_ADMIN_PWD}' http://localhost:8080/kie-drools-wb.jsp"
      
      Show
      Replace Readniess and Liveness probes in template Old probes livenessProbe: exec: command: - "/bin/bash" - "-c" - "/opt/eap/bin/livenessProbe.sh" readinessProbe: exec: command: - "/bin/bash" - "-c" - "/opt/eap/bin/readinessProbe.sh" New probes livenessProbe: exec: command: - "/bin/bash" - "-c" - "curl --fail --silent -u '${KIE_ADMIN_USER}:${KIE_ADMIN_PWD}' http: //localhost:8080/kie-drools-wb.jsp" initialDelaySeconds: 180 timeoutSeconds: 2 periodSeconds: 15 readinessProbe: exec: command: - "/bin/bash" - "-c" - "curl --fail --silent -u '${KIE_ADMIN_USER}:${KIE_ADMIN_PWD}' http: //localhost:8080/kie-drools-wb.jsp"
      1. Start OpenShift
      2. Import RHDM Images
      3. Run RHDM full template (Decision Central + Kie Server)
    • 2018 Week 30-32

      During the deployment of Decision Central in OpenShift health check failed. Liveness and Readness probes are not able to detect, that Decision Central is running OK.

              jakubschwan Jakub Schwan
              jakubschwan Jakub Schwan
              Karel Suta Karel Suta
              Karel Suta Karel Suta
              David Ward
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: