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

Smart Router image is not started because of missing logging.sh

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.4.0.GA
    • 7.4.0.GA
    • Cloud
    • None
    • OpenShift 3.11, template with Smart Router OpenShift deployment (e.g. prod template)

    • 2019 Week 26-28

      Smart router image is not started because of missing /opt/rhpam-smartrouter/bin/launch/logging.sh file. See the debug log of smart router container:

      ++ log_info 'Script debugging is enabled, allowing bash commands and their arguments to be printed as they are executed'
      ++ local 'message=Script debugging is enabled, allowing bash commands and their arguments to be printed as they are executed'
      ++ echo -e 'INFO Script debugging is enabled, allowing bash commands and their arguments to be printed as they are executed'
      INFO Script debugging is enabled, allowing bash commands and their arguments to be printed as they are executed
      + '[' true = true ']'
      + set -x
      + SHOW_JVM_SETTINGS=-XshowSettings:properties
      + log_info 'Script debugging is enabled, allowing bash commands and their arguments to be printed as they are executed'
      + local 'message=Script debugging is enabled, allowing bash commands and their arguments to be printed as they are executed'
      + echo -e 'INFO Script debugging is enabled, allowing bash commands and their arguments to be printed as they are executed'
      INFO Script debugging is enabled, allowing bash commands and their arguments to be printed as they are executed
      + log_info 'JVM settings debug is enabled.'
      + local 'message=JVM settings debug is enabled.'
      + echo -e 'INFO JVM settings debug is enabled.'
      INFO JVM settings debug is enabled.
      + CONFIGURE_SCRIPTS=(${LAUNCH_DIR}/jboss-kie-smartrouter.sh)
      + source /opt/rhpam-smartrouter/launch/configure.sh
      ++ source /opt/rhpam-smartrouter/launch/logging.sh
      ++++ type -t log_warning
      +++ '[' -z function ']'
      ++ executeModules preConfigure
      ++ for module in ${CONFIGURE_SCRIPTS[@]}
      ++ prepareModule
      ++ unset -f preConfigure
      ++ unset -f configure
      ++ unset -f postConfigure
      ++ unset -f prepareEnv
      ++ unset -f preConfigureEnv
      ++ unset -f configureEnv
      ++ unset -f postConfigureEnv
      ++ executeModule /opt/rhpam-smartrouter/launch/jboss-kie-smartrouter.sh preConfigure
      ++ source /opt/rhpam-smartrouter/launch/jboss-kie-smartrouter.sh
      +++ source /opt/rhpam-smartrouter/launch/launch-common.sh
      +++ source /opt/rhpam-smartrouter/launch/logging.sh
      +++++ type -t log_warning
      ++++ '[' -z function ']'
      +++ source /opt/rhpam-smartrouter/bin/launch/jboss-kie-common.sh
      ++++ source /opt/rhpam-smartrouter/bin/launch/logging.sh
      /opt/rhpam-smartrouter/bin/launch/jboss-kie-common.sh: line 3: /opt/rhpam-smartrouter/bin/launch/logging.sh: No such file or directory
      

      This issue is probably caused by changes done in KIECLOUD-237 where was added logging.sh to the jboss-kie-common.sh - see commit

            rhn-support-zanini Ricardo Zanini Fernandes
            jakubschwan Jakub Schwan
            Jakub Schwan Jakub Schwan
            Jakub Schwan Jakub Schwan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: