jgroups subsystem operation "remove-protocol()" fails with WFLYCTL0171 in EAP 7.0.x
Issue
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
}
The non-deprecated protocol remove() operation also fails with same log 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 taht the above remove-protocol(type=...) operation can be executed successfully in EAP 6.x. Is this a bug in EAP 7.0?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7.0.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.