Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-12549

(7.1.0) Configuration of infinispan cache for legacy security-domain has changed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.1.0.CR1
    • 7.1.0.ER3
    • Security
    • None
    • Hide
      /subsystem=infinispan/cache-container=security:add(start="LAZY")
      /subsystem=infinispan/cache-container=security/local-cache=auth-cache:add(start="LAZY")
      /subsystem=infinispan/cache-container=security/local-cache=auth-cache/eviction=EVICTION:add(max-entries=10000, strategy="LIRS")
      /subsystem=infinispan/cache-container=security/local-cache=auth-cache/expiration=EXPIRATION:add(lifespan=1000)
      /subsystem=security/security-domain=test:add(cache-type=infinispan)
      
      Show
      /subsystem=infinispan/cache-container=security:add(start= "LAZY" ) /subsystem=infinispan/cache-container=security/local-cache=auth-cache:add(start= "LAZY" ) /subsystem=infinispan/cache-container=security/local-cache=auth-cache/eviction=EVICTION:add(max-entries=10000, strategy= "LIRS" ) /subsystem=infinispan/cache-container=security/local-cache=auth-cache/expiration=EXPIRATION:add(lifespan=1000) /subsystem=security/security-domain=test:add(cache-type=infinispan)

      Commands from reproducer are succesful in 7.0. (Actually, in 7.0.7 it fails. This compatibility break in micro version will be tracked by another JIRA)

      In 7.1 these commands fail

      /subsystem=security/security-domain=test:add(cache-type=infinispan)
      {
          "outcome" => "failed",
          "failure-description" => "WFLYCTL0369: Required capabilities are not available:
          org.wildfly.clustering.infinispan.default-cache-configuration.security; There are no known registration points which can provide this capability.",
          "rolled-back" => true
      }
      

      Also fails when copying standalone.xml from 7.0 to 7.1

      09:20:13,820 ERROR [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0362: Capabilities required by resource '/subsystem=security/security-domain=test' are not available:
          org.wildfly.clustering.infinispan.default-cache-configuration.security; Possible registration points for this capability: 
      		/subsystem=infinispan/cache-container=*
      09:20:13,823 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
      

      This JIRA is created based on discussion from [1]

      Setting to blocker as from my Pov it could breaks RFE EAP7-482. Thus need proper triage.

      [1] http://post-office.corp.redhat.com/archives/jboss-support-eap6/2017-July/msg00236.html

            pferraro@redhat.com Paul Ferraro
            mchoma@redhat.com Martin Choma
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: