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

EAP is unable to remove cloned full-ha profile

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.1.0.DR8
    • None
    • JMS
    • None

      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 /]
      

            jmesnil1@redhat.com Jeff Mesnil
            mkopecky@redhat.com Marek Kopecky
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: