]
Jeff Mesnil updated WFLY-7333:
------------------------------
Summary: messaging-activemq resources are not recursively removed. (was: EAP is
unable to remove cloned full-ha profile)
messaging-activemq resources are not recursively removed.
---------------------------------------------------------
Key: WFLY-7333
URL:
https://issues.jboss.org/browse/WFLY-7333
Project: WildFly
Issue Type: Bug
Components: JMS
Reporter: Jeff Mesnil
Assignee: Jeff Mesnil
Priority: Blocker
*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:*
# ./domain.sh
# ./jboss-cli.sh -c
# /profile=full-ha:clone(to-profile=cli-clone-profile-first-full-ha)
# /profile=cli-clone-profile-first-full-ha:remove
*Actual results:*
{noformat}
[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 /]
{noformat}