Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-9206

Restore support for security cache-container w/out a default-cache

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 11.0.0.CR1
    • 11.0.0.Beta1
    • 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)

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              pferraro@redhat.com Paul Ferraro
              pferraro@redhat.com Paul Ferraro
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: