Bug 786603
Summary: | manageRootDir=true is broken - it isn't removing files at the dest dir level | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Charles Crouch <ccrouch> |
Component: | Provisioning | Assignee: | John Mazzitelli <mazz> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 4.2 | CC: | hbrock, hrupp, mazz, skondkar, spinder |
Target Milestone: | --- | ||
Target Release: | JON 3.0.1 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 784124 | Environment: | |
Last Closed: | 2013-09-03 15:14:37 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 784124 | ||
Bug Blocks: |
Description
Charles Crouch
2012-02-01 21:45:54 UTC
Fix needs to brought back from master and committed to the JON 3.0.1 branch (release/jon3.0.x), checked by engineering and then pushed to MODIFIED state, then finally ON_QA when its available in a build for QE release/jon3.0.x commit: 9eebf13 Moving to ON_QA for testing with JON 3.0.1.GA RC5 or better: https://brewweb.devel.redhat.com//buildinfo?buildID=199114 Verified on JON 3.0.1.GA RC5 (Build Number: dd8a001:fbca611) Deployed a bundle without manageRootDir and other with manageRootDir=true Verified that the initial deployment creates a backup for the existing files in the destination directory and the files are removed from destination directory. Below is the audit trail for initial deployment: DEPLOYMENT DETAILS: Added Files: 1 bundle-file.txt Deleted Files: 2 helloworld.war test.txt Changed Files: 0 Backed Up Files: 2 helloworld.war -> /install/test/.rhqdeployments/10011/backup/helloworld.war test.txt -> /install/test/.rhqdeployments/10011/backup/test.txt Restored Files: 0 Ignored Files: 0 Realized Files: 0 Was Cleaned?: false Errors: 0 Also verified that the manageRootDir=true creates a backup during upgrade. Below is the deployment audit trail: DEPLOYMENT DETAILS: Added Files: 0 Deleted Files: 1 testfile.txt Changed Files: 1 bundle-file.txt Backed Up Files: 1 testfile.txt -> /install/test/.rhqdeployments/10012/backup/testfile.txt Restored Files: 0 Ignored Files: 0 Realized Files: 0 Was Cleaned?: false Errors: 0 Bulk closing of old issues in VERIFIED state. |