Uploaded image for project: 'RH-SSO'
  1. RH-SSO
  2. RHSSO-2313

RH-SSO pod crashes when adding SSO_HOSTNAME environment variable

    XMLWordPrintable

Details

    • False
    • None
    • False
    • User Experience
    • Hide

      RH-SSO 7.5

          1.  Deploy RH-SSO with sso75-x509-https template and pass SSO_HOSTNAME environment variable

       oc new-app --template=sso75-x509-https \
        -p SSO_HOSTNAME="rh-sso-server.openshift.example.com"

          2.  Observe the pod logs

       

      RH-SSO 7.6

           1.  Deploy RH-SSO with sso76-ocp4-x509-https template and pass SSO_HOSTNAME environment variable

      oc new-app --template=sso76-ocp4-x509-https \
        -p SSO_HOSTNAME="rh-sso-server.openshift.example.com"

           2.  Observe the pod logs

       

      Show
      RH-SSO 7.5     1.  Deploy RH-SSO with sso75-x509-https template and pass SSO_HOSTNAME environment variable oc new -app --template=sso75-x509-https \ -p SSO_HOSTNAME= "rh-sso-server.openshift.example.com"     2.  Observe the pod logs   RH-SSO 7.6      1.  Deploy RH-SSO with sso76-ocp4-x509-https template and pass SSO_HOSTNAME environment variable oc new -app --template=sso76-ocp4-x509-https \ -p SSO_HOSTNAME= "rh-sso-server.openshift.example.com"      2.  Observe the pod logs  
    • CIAM Sprint 32

    Description

      Environment :  Issue is observed in latest image of RH-SSO 7.5 and RH-SSO 7.6

      In template based installation of RH-SSO, pod crashes when adding SSO_HOSTNAME environment variable.

      Error Observed:

      INFO Running rh-sso-7/sso75-openshift-rhel8 image, version 7.5
      /opt/eap/bin/launch/keycloak-spi.sh: line 86: requested_hostname: readonly variable
      

      The error seems to be coming from the fix for RHSSO-2017

      SCRIPT_DEBUG=true logs

      + log_info 'Running rh-sso-7/sso75-openshift-rhel8 image, version 7.5'
      + local 'message=Running rh-sso-7/sso75-openshift-rhel8 image, version 7.5'
      + echo -e 'INFO Running rh-sso-7/sso75-openshift-rhel8 image, version 7.5'
      INFO Running rh-sso-7/sso75-openshift-rhel8 image, version 7.5
      + trap clean_shutdown TERM
      + '[' -n rh-sso-server.openshift.example.com ']'
      + set_server_hostname_spi_to_fixed rh-sso-server.openshift.example.com
      + '[' -n rh-sso-server.openshift.example.com ']'
      + '[' 1 -ne 1 ']'
      + local -r requested_hostname=rh-sso-server.openshift.example.com
      ++ escape_sed_rhs_interpolated_characters rh-sso-server.openshift.example.com
      ++ [[ 1 -eq 1 ]]
      ++ input=rh-sso-server.openshift.example.com
      ++ input=rh-sso-server.openshift.example.com
      ++ echo rh-sso-server.openshift.example.com
      + requested_hostname=rh-sso-server.openshift.example.com
      /opt/eap/bin/launch/keycloak-spi.sh: line 86: requested_hostname: readonly variable
      

       

       

      Attachments

        Activity

          People

            rhn-jlieskov Ján Lieskovský
            rhn-support-rissingh Rishabh Singh
            Votes:
            5 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: