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

[GSS](7.0.z) jgroups subsystem operation remove-protocol(type=...) and protocol=...:remove() fails with WFLYCTL0171

    XMLWordPrintable

Details

    • Hide
      1. Start two nodes JBoss cluster with standalone-ha.xml (or standalone-full-ha.xml)
      2. Make sure that you deploy a web app which has <distributable /> in web.xml and session replication is enabled.
      3. Execute the followingCLI:
        /subsystem=jgroups/stack=udp:remove-protocol(type=FRAG2)
        

        or

        /subsystem=jgroups/stack=udp/protocol=FRAG2:remove()
        
      4. The CLI fails with "WFLYCTL0171: Removing services has lead to unsatisfied dependencies: Service jboss.jgroups.factory.udp.FRAG2 was depended upon by service jboss.jgroups.factory.udp"
      Show
      Start two nodes JBoss cluster with standalone-ha.xml (or standalone-full-ha.xml ) Make sure that you deploy a web app which has <distributable /> in web.xml and session replication is enabled. Execute the followingCLI: /subsystem=jgroups/stack=udp:remove-protocol(type=FRAG2) or /subsystem=jgroups/stack=udp/protocol=FRAG2:remove() The CLI fails with "WFLYCTL0171: Removing services has lead to unsatisfied dependencies: Service jboss.jgroups.factory.udp.FRAG2 was depended upon by service jboss.jgroups.factory.udp"

    Description

      When jgroups subsystem remove-protocol(type=...) operation is executed while EAP 7 is running and the clustering service is active, the CLI fails with "WFLYCTL0171: Removing services has lead to unsatisfied dependencies" in EAP 7.0. For example:

      [standalone@node1:9990 /] /subsystem=jgroups/stack=udp:remove-protocol(type=FRAG2)
      {
          "outcome" => "failed",
          "failure-description" => "WFLYCTL0171: Removing services has lead to unsatisfied dependencies:
      Service jboss.jgroups.factory.udp.FRAG2 was depended upon by service jboss.jgroups.factory.udp",
          "rolled-back" => true
      }
      

      Also, the non-deprecated protocol remove() operation also fails with same WFLYCTL0171 message:

      [standalone@node1:9990 /] /subsystem=jgroups/stack=udp/protocol=FRAG2:remove()
      {
          "outcome" => "failed",
          "failure-description" => "WFLYCTL0171: Removing services has lead to unsatisfied dependencies:
      Service jboss.jgroups.factory.udp.FRAG2 was depended upon by service jboss.jgroups.factory.udp",
          "rolled-back" => true
      }
      

      Note that this issue does not happens in EAP 7.1.0.Alpha. So, a later change, which is incorporated in 7.1.x branch, fixed this issue. Please locate the relevant commit and backport it to 7.0.z branch.

      Attachments

        Activity

          People

            rpelisse@redhat.com Romain Pelisse
            rhn-support-mmiura Masafumi Miura
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: