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

    Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 7.0.1.GA
    • Fix Version/s: 7.1.0.GA
    • Component/s: Cloud
    • Labels:
      None
    • Environment:

      OpenShift

    • Target Release:
    • Fix Build:
      CR1
    • Steps to Reproduce:
      1. Start OpenShift
      2. Import RHDM Images
      3. Run RHDM full template (Decision Central + Kie Server)
    • Workaround Description:
      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"
    • Sprint:
      2018 Week 30-32

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jschwan Jakub Schwan
                  Reporter:
                  jschwan Jakub Schwan
                  Involved:
                  David Ward
                  Tester:
                  Karel Suta
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: