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

messaging-activemq resources are not recursively removed.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Done
    • None
    • 11.0.0.Alpha1
    • JMS
    • None

    Description

      Description:
      EAP is unable to remove cloned full-ha profile. This is regression against EAP 7.1.0.DR5. "clone" management operation was introduced in EAP7-35

      Steps to reproduce:

      1. ./domain.sh
      2. ./jboss-cli.sh -c
      3. /profile=full-ha:clone(to-profile=cli-clone-profile-first-full-ha)
      4. /profile=cli-clone-profile-first-full-ha:remove

      Actual results:

      [mkopecky@dhcp-10-40-5-171 bin]$ ./jboss-cli.sh -c
      [domain@localhost:9990 /] /profile=full-ha:clone(to-profile=cli-clone-profile-first-full-ha)
      {
          "outcome" => "success",
          "result" => undefined,
          "server-groups" => undefined
      }
      [domain@localhost:9990 /] /profile=cli-clone-profile-first-full-ha:remove
      {
          "outcome" => "failed",
          "failure-description" => {"domain-failure-description" => "WFLYCTL0368: Cannot remove capability 'org.wildfly.clustering.jgroups.default-channel-factory' from context 'profile=cli-clone-profile-first-full-ha' as it is required by other capabilities:
      capability 'org.wildfly.messaging.activemq.broadcast-group.channel-factory.bg-group1' requires it for attribute 'jgroups-stack' at address '/profile=cli-clone-profile-first-full-ha/subsystem=messaging-activemq/server=default/broadcast-group=bg-group1'
      capability 'org.wildfly.messaging.activemq.discovery-group.channel-factory.dg-group1' requires it for attribute 'jgroups-stack' at address '/profile=cli-clone-profile-first-full-ha/subsystem=messaging-activemq/server=default/discovery-group=dg-group1'"},
          "rolled-back" => true
      }
      [domain@localhost:9990 /]
      

      Attachments

        Issue Links

          Activity

            People

              jmesnil1@redhat.com Jeff Mesnil
              jmesnil1@redhat.com Jeff Mesnil
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: