Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-3756

[GSS](7.3.z) bash syntax error occurs in keycloak.sh when CONFIG_IS_FINAL is enabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • EAP73 7.3.3.GA
    • None
    • None
    • None
    • Hide

      $ oc new-project test
      $ oc new-app --template eap73-basic-s2i -p APPLICATION_NAME=helloworld -p SOURCE_REPOSITORY_URL=https://github.com/jboss-developer/jboss-eap-quickstarts.git -p CONTEXT_DIR=helloworld -p SOURCE_REPOSITORY_REF=openshift
      $ oc set env dc/helloworld CONFIG_IS_FINAL=true
      $ oc logs -f helloworld-2-qqb7j

      INFO Configuring JGroups cluster traffic encryption protocol to SYM_ENCRYPT.
      INFO Configuring JGroups discovery protocol to dns.DNS_PING
      INFO Using PicketBox SSL configuration.
      /opt/eap/bin/launch/keycloak.sh: line 39: [: ==: unary operator expected  <<<<===
      INFO Access log is disabled, ignoring configuration.
      INFO Running jboss-eap-7/eap73-openjdk8-runtime-openshift-rhel7 image, version 7.3.1
      
      Show
      $ oc new-project test $ oc new-app --template eap73-basic-s2i -p APPLICATION_NAME=helloworld -p SOURCE_REPOSITORY_URL= https://github.com/jboss-developer/jboss-eap-quickstarts.git -p CONTEXT_DIR=helloworld -p SOURCE_REPOSITORY_REF=openshift $ oc set env dc/helloworld CONFIG_IS_FINAL=true $ oc logs -f helloworld-2-qqb7j INFO Configuring JGroups cluster traffic encryption protocol to SYM_ENCRYPT. INFO Configuring JGroups discovery protocol to dns.DNS_PING INFO Using PicketBox SSL configuration. /opt/eap/bin/launch/keycloak.sh: line 39: [: ==: unary operator expected <<<<=== INFO Access log is disabled, ignoring configuration. INFO Running jboss-eap-7/eap73-openjdk8-runtime-openshift-rhel7 image, version 7.3.1

      When CONFIG_IS_FINAL is true, the message "/opt/eap/bin/launch/keycloak.sh: line 39: [: ==: unary operator expected" appears in EAP console log. This message seems harmless, but it should be fixed.

      # oc logs -f echo-2-mlg9c
      INFO Configuring JGroups cluster traffic encryption protocol to SYM_ENCRYPT.
      INFO Configuring JGroups discovery protocol to dns.DNS_PING
      INFO Using PicketBox SSL configuration.
      /opt/eap/bin/launch/keycloak.sh: line 39: [: ==: unary operator expected  <<<===
      INFO Access log is disabled, ignoring configuration.
      INFO Running jboss-eap-7/eap73-openjdk8-runtime-openshift-rhel7 image, version 7.3.1
      

            rpelisse@redhat.com Romain Pelisse
            rhn-support-nagetsum Norito Agetsuma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: