Bug 1265170 - [GSS](6.4.z) Deployments from the domain/data/content folder goes missing after few minutes if the Host controller is started with --backup option.
Summary: [GSS](6.4.z) Deployments from the domain/data/content folder goes missing aft...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Domain Management
Version: 6.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: CR1
: EAP 6.4.7
Assignee: baranowb
QA Contact: Martin Simka
URL:
Whiteboard:
Depends On:
Blocks: eap647-payload
TreeView+ depends on / blocked
 
Reported: 2015-09-22 09:52 UTC by Harshada
Modified: 2019-10-10 10:13 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-01-17 12:01:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBEAP-1561 0 Major Closed Deployments from the domain/data/content folder goes missing after few minutes if the Host controller is started with --... 2017-08-22 19:32:26 UTC
Red Hat Issue Tracker WFCORE-1062 0 Blocker Resolved Deployments from the domain/data/content folder goes missing after few minutes if the Host controller is started with --... 2017-08-22 19:32:26 UTC
Red Hat Knowledge Base (Solution) 1991243 0 None None None 2016-03-08 00:25:09 UTC

Description Harshada 2015-09-22 09:52:03 UTC
Description of problem: Host controller started with --backup option deletes the deployments from the domain/data/content folder after approximately 10 mins. 
The deployment is restored or recreated if the HostController is started. 


Version-Release number of selected component (if applicable): 6.4.x


How reproducible:


Steps to Reproduce:
	
1. Setup domaincontroller 
2. Setup hostcontroller 
3. Start domaincontroller 
4. Start hostcontroller with --backup option.
5. deploy an application using cli or admin console

./jboss-cli.sh --connect --controller=x.x.x.x:9999 --command='deploy /PathToApp/App.war --server-groups=main-server-group'

6. deployments are available under $JBOSS_HOME/domain/data/content

7. Wait for approximately 10 minutes

8. Cached deployments are deleted on hostcontroller (domain/data/content is empty). Following is the logging seen on the console :


++++++++++++++

[Host Controller] 14:20:40,439 INFO  [org.jboss.as.repository] (Host Controller Service Threads - 4) JBAS014903: Content /NotBackedUp/JAR-Folder/EAPs/EAP6/jboss-eap-6.4.3-Patched/domain/data/content/47/1108a27fa1b82e6a92fb56ee25bc76f2625249 is obsolete and will be removed

[Host Controller] 14:20:40,440 INFO  [org.jboss.as.repository] (Host Controller Service Threads - 4) JBAS014901: Content removed from location /NotBackedUp/JAR-Folder/EAPs/EAP6/jboss-eap-6.4.3-Patched/domain/data/content/47/1108a27fa1b82e6a92fb56ee25bc76f2625249/content

++++++++++++++

9. After restarting the Host Controller, the deployment is restored and the cached deployment can now be seen under the Host Controller's domain/data/content folder.

Actual results: Deployment folder form domain/data/content folder gets deleted after approx 10 mins and are restored if the Host Controller is restarted


Expected results: The cached deplpyments folder should never be removed from the HostController's domain/data/content folder.  


Additional info: This does not affect the availability of the application since the applications are also availbale with the assigned server's under their data/content folder.

Comment 3 JBoss JIRA Server 2015-10-20 09:36:34 UTC
ehsavoie Hugonnet <ehugonne> updated the status of jira WFCORE-1062 to Coding In Progress

Comment 4 Emmanuel Hugonnet (ehsavoie) 2015-10-21 11:55:02 UTC
PR: https://github.com/jbossas/jboss-eap/pull/2587

Comment 5 JBoss JIRA Server 2015-10-26 16:51:14 UTC
Brian Stansberry <brian.stansberry> updated the status of jira JBEAP-1561 to Resolved

Comment 7 Jiří Bílek 2016-03-04 09:00:21 UTC
Verified with EAP 6.4.7.CP.CR2.

Comment 8 JBoss JIRA Server 2016-06-14 11:36:55 UTC
Jiri Pallich <jpallich> updated the status of jira JBEAP-1561 to Closed

Comment 9 Petr Penicka 2017-01-17 12:01:31 UTC
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.


Note You need to log in before you can comment on or make changes to this bug.