Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-2438

Keycloak pod fails to bootstrap in proxy based environment due to RH-SSO 7.5.0 GA

XMLWordPrintable

    • False
    • False
    • Hide

      1. Login to proxy based cluster ( ocp 4.8/4.9 )
      2. Install CRW 2.13 operator
      3. Create CRW instance with cheCluster
      At the creation of keycloak pod , pod fails to bootstrap

      Show
      1. Login to proxy based cluster ( ocp 4.8/4.9 ) 2. Install CRW 2.13 operator 3. Create CRW instance with cheCluster At the creation of keycloak pod , pod fails to bootstrap

      CRW 2.13 installation is failing on proxy based environment . Keycloak pod keeps restarting with message

      0;33mWARN No password defined for JGroups cluster. AUTH protocol will be disabled. Please define JGROUPS_CLUSTER_PASSWORD.
      WARN Environment variable OPENSHIFT_KUBE_PING_NAMESPACE undefined. Clustering will be unavailable. Please refer to the documentation for configuration.
      INFO Configuring JGroups discovery protocol to kubernetes.KUBE_PING
      INFO Using PicketBox SSL configuration.
      INFO Configuring JGroups cluster traffic encryption protocol to SYM_ENCRYPT.
      WARN Detected missing JGroups encryption configuration, the communication within the cluster WILL NOT be encrypted.
      Exception in thread "main" org.jboss.modules.ModuleLoadException: Error loading module from /opt/eap/modules/system/layers/base/org/aesh/main/module.xml
      	at org.jboss.modules.xml.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:337)
      	at org.jboss.modules.xml.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:293)
      	at org.jboss.modules.xml.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:254)
      	at org.jboss.modules.LocalModuleFinder.parseModuleXmlFile(LocalModuleFinder.java:250)
      	at org.jboss.modules.LocalModuleFinder.lambda$findModule$1(LocalModuleFinder.java:195)
      	at org.jboss.modules.LocalModuleFinder$$Lambda$8/0x00000000b45e1690.run(Unknown Source)
      	at java.base/java.security.AccessController.doPrivileged(AccessController.java:774)
      	at org.jboss.modules.LocalModuleFinder.findModule(LocalModuleFinder.java:195)
      	at org.jboss.modules.ModuleLoader.findModule0(ModuleLoader.java:700)
      	at org.jboss.modules.ModuleLoader.findModule(ModuleLoader.java:693)
      	at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:503)
      	at org.jboss.modules.DelegatingModuleLoader.preloadModule(DelegatingModuleLoader.java:57)
      	at org.jboss.modules.Module.addPaths(Module.java:1274)
      	at org.jboss.modules.Module.link(Module.java:1644)
      	at org.jboss.modules.Module.relinkIfNecessary(Module.java:1672)
      	at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:303)
      	at org.jboss.modules.Main.main(Main.java:371)
      Caused by: org.jboss.modules.xml.XmlPullParserException: Failed to resolve artifact 'org.aesh:aesh-extensions:1.8.0.redhat-00001' (position: END_TAG seen ...    <artifact name="org.aesh:aesh-extensions:1.8.0.redhat-00001"/>... @29:71) 
      	at org.jboss.modules.xml.ModuleXmlParser.parseArtifact(ModuleXmlParser.java:1050)
      	at org.jboss.modules.xml.ModuleXmlParser.parseResources(ModuleXmlParser.java:937)
      	at org.jboss.modules.xml.ModuleXmlParser.parseModuleContents(ModuleXmlParser.java:697)
      	at org.jboss.modules.xml.ModuleXmlParser.parseDocument(ModuleXmlParser.java:469)
      	at org.jboss.modules.xml.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:335)
      	... 16 more
      

      This is known issue of RH-SSO 7.5.0 GA and can be seen - https://issues.redhat.com/browse/CIAM-1269 and documented as known issue as well - https://access.redhat.com/solutions/6485431

      Keycloak pod is using this image -
      registry.redhat.io/rh-sso-7/sso75-openj9-openshift-rhel8@sha256:31bf3937c4cd8d00555bf00f4fc6e42b02796da72165c3f0245e62fc199664e8


      It states - This is a known Bug to be fixed on the next release from RH SSO: 7.5.1

              abazko Anatolii Bazko
              yogitakulkarni Yogita Kulkarni (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: