Bug 1087711
| Summary: | JMXSubsystemRemove is unsafe | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Ondrej Lukas <olukas> |
| Component: | Domain Management | Assignee: | Kabir Khan <kkhan> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavel Slavicek <pslavice> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.3.0 | CC: | cdewolf, dandread |
| Target Milestone: | DR1 | ||
| Target Release: | EAP 6.4.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
We don't support removing subsystems that provide services that are depended upon by other subsystems. There are many cases where trying this will result in failure. The fact that it works that second time needs investigation, since it doesn't seem like it should. Brain, thanks for the clarification. I tried procedure from Administration and Configuration Guide describing removing this subsystem (Example 10.17. Remove the JMX Subsystem in 10.7.7. Disable Remote Access to the JMX Subsystem). In case we don't support this issue I fill documentation bugzilla about removing this example from the Guide. Using this one as downstream for WFLY-3566. Note: BZ1088348 is one Ondra did for documentation. Verified in EAP 6.4.0.DR1.1. |
JMX subsystem can't be removed on the first calling of CLI command /subsystem=jmx:remove(). However if I call this command again it is successfully removed. Steps to reproduce: 1) (maybe only optional) remove remoting-connector from JMX: /subsystem=jmx/remoting-connector=jmx:remove() 2) remove JMX subsystem: /subsystem=jmx:remove() it fails with: { "outcome" => "failed", "failure-description" => "JBAS014762: Removing services has lead to unsatisfied dependencies: Service jboss.mbean.server was depended upon by service jboss.ws.config", "rolled-back" => true } and server log in console: INFO [org.jboss.as.controller] (management-handler-thread - 1) JBAS014774: Service status report JBAS014775: New missing/unsatisfied dependencies: service jboss.mbean.server (missing) dependents: [service jboss.ws.config] 3) try to remove JMX subsystem again: /subsystem=jmx:remove() leads to: {"outcome" => "success"} and JMX subsystem is removed. I think removing of subsystem should be successful after the first calling of command /subsystem=jmx:remove().