Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1194251

Summary: After failed to deploy, remain deployment information in JBOSS_HOME/{standalone|domaine}/data/content directory
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Kenjiro Nakayama <knakayam>
Component: Domain ManagementAssignee: Chao Wang <chaowan>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Simka <msimka>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: brian.stansberry, chaowan, dandread, jason.greene, msimka, myarboro, tkubota
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
ause: In some situations if a deployment fails to deploy, the addition of the deployment content to the content repository will not be reverted. Consequence: Deployment content for flawed deployment archives can accumulate in the EAP content repository, wasting disk space. Fix: EAP now periodically runs a background process that checks for and removes content in the repository that is not referenced in the configuration model. Result: If an archive fails to deploy and it's content remains in the repository, the garbage collection protocol will remove it within 5 to 10 minutes.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-19 12:40:03 UTC 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:

Description Kenjiro Nakayama 2015-02-19 12:08:05 UTC
Description of problem:
===

- After failed to deploy, remain deployment information in JBOSS_HOME/{standalone|domaine}/data/content directory 
- Please see following reproduce steps.

How reproducible:
===

Steps to Reproduce:
1. Fail to deploy application via jboss-cli
2. Find deployment info in JBOSS_HOME/{standalone|domaine}/data/content, but there are no standalone.xml in <deployments> tag.
3. Fix deployment and success to deploy.
4. Find "new" deployment info in JBOSS_HOME/{standalone|domaine}/data/content, and the old deployment info will be still there.

- I know that as we changed application in step-3, its hash value was changed. And then, old info is remained in JBOSS_HOME/{standalone|domaine}/data/content. But I think it always happens and should be fixed.

Actual results:

- The deployment information which created when deploy was failed remains in JBOSS_HOME/{standalone|domaine}/data/content.

Expected results:

- The deployment information which created when deploy was failed should be removed if the deploy is failed.

Comment 3 Brian Stansberry 2015-03-25 18:43:58 UTC
The fix for https://bugzilla.redhat.com/show_bug.cgi?id=1018026 is designed to cover this general category of problems by periodically running a garbage collection protocol.

Comment 6 Martin Simka 2015-03-26 18:06:29 UTC
EAP triggers :clean-obsolete-content() every 5 minutes. All unused content is marked as obsolete on first run, all marked stuff is removed on second run.

Verified on EAP 6.4.0.CR1

Comment 8 Red Hat Bugzilla 2023-09-14 02:55:03 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days