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

Boot error WFLYCTL0412: Missing cache.keycloak.* services in Openshift Images

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • RH-SSO-7.2.0.CR1
    • RH-SSO-7.2.0.DR2, RH-SSO-7.2.0.ER2
    • OpenShift - xPaaS
    • None

      When I tested out the images with the 7.2.0 DR2 zip, the standalone image worked fine, but the openshift image had a WFLYCTL0412 error during boot:

      DR2 Openshift log:

      15:27:33,597 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "keycloak-server.war")]) - failure description: {
          "WFLYCTL0412: Required services that are not installed:" => [
              "org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions",
              "org.wildfly.clustering.infinispan.cache.keycloak.actionTokens"
          ],
          "WFLYCTL0180: Services with missing/unavailable dependencies" => [
              "jboss.deployment.discovery.\"keycloak-server.war\" is missing [org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.actionTokens]",
              "jboss.naming.context.java.module.auth.auth.ModuleName is missing [org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.actionTokens]",
              "jboss.naming.context.java.app.auth is missing [org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.actionTokens]",
              "jboss.naming.context.java.module.auth.auth is missing [org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.actionTokens]",
              "jboss.concurrent.ee.context.config.auth.auth is missing [org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.actionTokens]",
              "jboss.naming.context.java.module.auth.auth.InstanceName is missing [org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.actionTokens]",
              "jboss.deployment.unit.\"keycloak-server.war\".INSTALL is missing [org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.actionTokens]",
              "jboss.naming.context.java.module.auth.auth.ValidatorFactory is missing [org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.actionTokens]",
              "jboss.naming.context.java.module.auth.auth.Validator is missing [org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.actionTokens]",
              "jboss.deployment.unit.\"keycloak-server.war\".jca.cachedConnectionManagerSetupProcessor is missing [org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.actionTokens]",
              "jboss.naming.context.java.module.auth.auth.InAppClientContainer is missing [org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.actionTokens]",
              "jboss.naming.context.java.app.auth.AppName is missing [org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.actionTokens]",
              "jboss.deployment.unit.\"keycloak-server.war\".ejb3.client-context.registration-service is missing [org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.actionTokens]"
          ]
      }
      

      Since the standalone image worked, I wasn't sure where this problem lay. However, my tests with 7.2.0 ER2 have now revealed more errors, including some in the standalone image.

      ER2 Standalone log:

      16:53:09,258 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "keycloak-server.war")]) - failure description: {
          "WFLYCTL0412: Required services that are not installed:" => [
              "org.wildfly.clustering.infinispan.cache.keycloak.offlineClientSessions",
              "org.wildfly.clustering.infinispan.cache.keycloak.clientSessions"
          ],
          "WFLYCTL0180: Services with missing/unavailable dependencies" => [
              "jboss.deployment.unit.\"keycloak-server.war\".INSTALL is missing [org.wildfly.clustering.infinispan.cache.keycloak.offlineClientSessions, org.wildfly.clustering.infinispan.cache.keycloak.clientSessions]",
              "jboss.deployment.discovery.\"keycloak-server.war\" is missing [org.wildfly.clustering.infinispan.cache.keycloak.offlineClientSessions, org.wildfly.clustering.infinispan.cache.keycloak.clientSessions]",
              "jboss.deployment.unit.\"keycloak-server.war\".ejb3.client-context.registration-service is missing [org.wildfly.clustering.infinispan.cache.keycloak.offlineClientSessions, org.wildfly.clustering.infinispan.cache.keycloak.clientSessions]",
              "jboss.naming.context.java.app.auth is missing [org.wildfly.clustering.infinispan.cache.keycloak.offlineClientSessions, org.wildfly.clustering.infinispan.cache.keycloak.clientSessions]",
              "jboss.naming.context.java.module.auth.auth.InAppClientContainer is missing [org.wildfly.clustering.infinispan.cache.keycloak.offlineClientSessions, org.wildfly.clustering.infinispan.cache.keycloak.clientSessions]",
              "jboss.deployment.unit.\"keycloak-server.war\".jca.cachedConnectionManagerSetupProcessor is missing [org.wildfly.clustering.infinispan.cache.keycloak.offlineClientSessions, org.wildfly.clustering.infinispan.cache.keycloak.clientSessions]",
              "jboss.deployment.unit.\"keycloak-server.war\".batch.job-operator is missing [org.wildfly.clustering.infinispan.cache.keycloak.offlineClientSessions, org.wildfly.clustering.infinispan.cache.keycloak.clientSessions]",
              "jboss.concurrent.ee.context.config.auth.auth is missing [org.wildfly.clustering.infinispan.cache.keycloak.offlineClientSessions, org.wildfly.clustering.infinispan.cache.keycloak.clientSessions]",
              "jboss.naming.context.java.module.auth.auth.InstanceName is missing [org.wildfly.clustering.infinispan.cache.keycloak.offlineClientSessions, org.wildfly.clustering.infinispan.cache.keycloak.clientSessions]",
              "jboss.naming.context.java.app.auth.AppName is missing [org.wildfly.clustering.infinispan.cache.keycloak.offlineClientSessions, org.wildfly.clustering.infinispan.cache.keycloak.clientSessions]",
              "jboss.naming.context.java.module.auth.auth is missing [org.wildfly.clustering.infinispan.cache.keycloak.offlineClientSessions, org.wildfly.clustering.infinispan.cache.keycloak.clientSessions]",
              "jboss.naming.context.java.module.auth.auth.ValidatorFactory is missing [org.wildfly.clustering.infinispan.cache.keycloak.offlineClientSessions, org.wildfly.clustering.infinispan.cache.keycloak.clientSessions]",
              "jboss.deployment.unit.\"keycloak-server.war\".batch.environment is missing [org.wildfly.clustering.infinispan.cache.keycloak.offlineClientSessions, org.wildfly.clustering.infinispan.cache.keycloak.clientSessions]",
              "jboss.naming.context.java.module.auth.auth.Validator is missing [org.wildfly.clustering.infinispan.cache.keycloak.offlineClientSessions, org.wildfly.clustering.infinispan.cache.keycloak.clientSessions]",
              "jboss.naming.context.java.module.auth.auth.ModuleName is missing [org.wildfly.clustering.infinispan.cache.keycloak.offlineClientSessions, org.wildfly.clustering.infinispan.cache.keycloak.clientSessions]"
          ]
      }
      

      ER2 Openshift log:

      16:52:57,172 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "keycloak-server.war")]) - failure description: {
          "WFLYCTL0412: Required services that are not installed:" => [
              "org.wildfly.clustering.infinispan.cache.keycloak.offlineClientSessions",
              "org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions",
              "org.wildfly.clustering.infinispan.cache.keycloak.clientSessions",
              "org.wildfly.clustering.infinispan.cache.keycloak.actionTokens"
          ],
          "WFLYCTL0180: Services with missing/unavailable dependencies" => [
              "jboss.naming.context.java.app.auth.AppName is missing [org.wildfly.clustering.infinispan.cache.keycloak.actionTokens, org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.clientSessions, org.wildfly.clustering.infinispan.cache.keycloak.offlineClientSessions]",
              "jboss.naming.context.java.module.auth.auth is missing [org.wildfly.clustering.infinispan.cache.keycloak.actionTokens, org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.clientSessions, org.wildfly.clustering.infinispan.cache.keycloak.offlineClientSessions]",
              "jboss.naming.context.java.app.auth is missing [org.wildfly.clustering.infinispan.cache.keycloak.actionTokens, org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.clientSessions, org.wildfly.clustering.infinispan.cache.keycloak.offlineClientSessions]",
              "jboss.naming.context.java.module.auth.auth.ValidatorFactory is missing [org.wildfly.clustering.infinispan.cache.keycloak.actionTokens, org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.clientSessions, org.wildfly.clustering.infinispan.cache.keycloak.offlineClientSessions]",
              "jboss.naming.context.java.module.auth.auth.Validator is missing [org.wildfly.clustering.infinispan.cache.keycloak.actionTokens, org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.clientSessions, org.wildfly.clustering.infinispan.cache.keycloak.offlineClientSessions]",
              "jboss.naming.context.java.module.auth.auth.InAppClientContainer is missing [org.wildfly.clustering.infinispan.cache.keycloak.actionTokens, org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.clientSessions, org.wildfly.clustering.infinispan.cache.keycloak.offlineClientSessions]",
              "jboss.concurrent.ee.context.config.auth.auth is missing [org.wildfly.clustering.infinispan.cache.keycloak.actionTokens, org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.clientSessions, org.wildfly.clustering.infinispan.cache.keycloak.offlineClientSessions]",
              "jboss.deployment.discovery.\"keycloak-server.war\" is missing [org.wildfly.clustering.infinispan.cache.keycloak.actionTokens, org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.clientSessions, org.wildfly.clustering.infinispan.cache.keycloak.offlineClientSessions]",
              "jboss.naming.context.java.module.auth.auth.ModuleName is missing [org.wildfly.clustering.infinispan.cache.keycloak.actionTokens, org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.clientSessions, org.wildfly.clustering.infinispan.cache.keycloak.offlineClientSessions]",
              "jboss.deployment.unit.\"keycloak-server.war\".ejb3.client-context.registration-service is missing [org.wildfly.clustering.infinispan.cache.keycloak.actionTokens, org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.clientSessions, org.wildfly.clustering.infinispan.cache.keycloak.offlineClientSessions]",
              "jboss.deployment.unit.\"keycloak-server.war\".jca.cachedConnectionManagerSetupProcessor is missing [org.wildfly.clustering.infinispan.cache.keycloak.actionTokens, org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.clientSessions, org.wildfly.clustering.infinispan.cache.keycloak.offlineClientSessions]",
              "jboss.deployment.unit.\"keycloak-server.war\".INSTALL is missing [org.wildfly.clustering.infinispan.cache.keycloak.actionTokens, org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.clientSessions, org.wildfly.clustering.infinispan.cache.keycloak.offlineClientSessions]",
              "jboss.naming.context.java.module.auth.auth.InstanceName is missing [org.wildfly.clustering.infinispan.cache.keycloak.actionTokens, org.wildfly.clustering.infinispan.cache.keycloak.authenticationSessions, org.wildfly.clustering.infinispan.cache.keycloak.clientSessions, org.wildfly.clustering.infinispan.cache.keycloak.offlineClientSessions]"
          ]
      }
      

      So, we have a bigger problem that needs to be solved. I don't see these cache modules in the keycloak zip, so maybe they're supposed to come from EAP. That doesn't make a lot of sense though, as they have keycloak in their names.

              aszczucz1@redhat.com Alex Szczuczko
              aszczucz1@redhat.com Alex Szczuczko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: