Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-3594

Allow disabling of Kie server embedded healthcheck

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.12.0.GA
    • 7.10.1.GA
    • Cloud
    • None
    • False
    • False
    • ER1
    • Undefined
    • Hide

      Deploy rhpam-authoring environment using Kie operator.
      Set JAVA_OPTS_APPEND to -Dorg.kie.controller.ping.alive.disable=true
      =>
      Kie server healthcheck in Business central is still active

      Show
      Deploy rhpam-authoring environment using Kie operator. Set JAVA_OPTS_APPEND to -Dorg.kie.controller.ping.alive.disable=true => Kie server healthcheck in Business central is still active
    • 2021 Week 28-30 (from Jul 12)

    Description

      Kie server embedded healthcheck [1] is disabled when env variable KIE_SERVER_CONTROLLER_OPENSHIFT_ENABLED is set to true. That is correct as for OpenShiftStartupStrategy we rely on ConfigMaps to retrieve Kie server information.

      However when KIE_SERVER_CONTROLLER_OPENSHIFT_ENABLED is set to false (for example for ControllerBasedStartupStrategy) we need to be able to disable healthcheck too. Current implementation [2] enforces enablement of the healthcheck for ControllerBasedStartupStrategy (it is not possible to disable it even when user specify -Dorg.kie.controller.ping.alive.disable=true in JAVA_OPTS_APPEND).

      The org.kie.controller.ping.alive.disable should be set just for OpenShiftStartupStrategy, for any other strategy it shouldn't be set.

      [1] https://github.com/kiegroup/droolsjbpm-integration/blob/7.52.0.Final/kie-server-parent/kie-server-controller/kie-server-controller-impl/src/main/java/org/kie/server/controller/impl/KieServerHealthCheckControllerImpl.java
      [2] https://github.com/jboss-container-images/jboss-kie-modules/blob/rhpam-7.10.1.GA/jboss-kie-workbench/added/launch/jboss-kie-workbench.sh#L186

      Attachments

        Activity

          People

            rhn-support-fspolti Filippe Spolti
            ksuta Karel Suta
            Karel Suta Karel Suta
            Karel Suta Karel Suta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: