| Summary: | Undeploy doesn't remove Data content if server is in --admin-only mode | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Abhijit humbe <abhumbe> |
| Component: | CLI | Assignee: | Chao Wang <chaowan> |
| Status: | CLOSED WONTFIX | QA Contact: | Petr Kremensky <pkremens> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.4.6 | CC: | brian.stansberry, cdewolf, chaowan, jboss-set |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-02-22 09:26:13 UTC | Type: | Enhancement |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Abhijit humbe
2016-02-16 09:26:56 UTC
What content in the data directory are you referring to? I assume you mean the deployment content in data/content but I want to clarify. Yes, I am referring to deployment content in data/content directory. I can see the problem is from: https://github.com/jbossas/jboss-eap/blob/144d1d15f94f19914e4230601366adc22473c846/server/src/main/java/org/jboss/as/server/deployment/DeploymentRemoveHandler.java#L76 https://github.com/jbossas/jboss-eap/blob/09a126812c735c23e9d599f71e8f13430f113f3f/controller/src/main/java/org/jboss/as/controller/AbstractOperationContext.java#L897 where the runningMode value is ADMIN_ONLY will bypass that step in DeploymentRemoveHandler.java I can also reproduce this in WildFly clean-obsolete-content task will clean it in background after switching back to normal mode in 10 mins. We consider this as a RFE and will follow up in upstream jira. |