Bug 2013776
| Summary: | Satellite Clone removes all data from /var/lib/pulp if rsync'd separately from the backup | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Samson Wick <swick> |
| Component: | Satellite Clone | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | ON_QA --- | QA Contact: | Satellite QE Team <sat-qe-bz-list> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 6.9.0 | CC: | agadhave, ahumbe, bangelic, ehelms, jbhatia, jpathan, mdolezel, pmendezh, wclark |
| Target Milestone: | Unspecified | Keywords: | Documentation, Triaged |
| Target Release: | Unused | Flags: | mdolezel:
needinfo?
(agadhave) |
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | satellite-clone-3.0.0 | Doc Type: | If docs needed, set a value |
| 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: | |||
|
Description
Samson Wick
2021-10-13 17:42:00 UTC
Following the documentation as currently written leads one to use rsync to restore the Pulp filesystem BEFORE running the satellite-clone utility. That procedure will never work, because satellite-clone uses `foreman-maintain restore ...` to import the data, and `foreman-maintain restore ...` first calls `satellite-installer --reset-data` which resets all databases and the Pulp filesystem (presumably this is done to import the data onto a "blank slate"). If rsyncing the Pulp filesystem is preferable for large deployments vs. collecting that data in the backup, it must be performed after `satellite-clone` has imported other data. I'll change the component of this BZ to "documentation" for now. Please report back if the alternate ordering of the steps resolved the issue, and in that case it should be relatively straightforward to update the documentation with proper ordering of the steps. In case there is some other issue with the modified order, please report back for further evaluation. Thank you, Still trying to simulate the alternate order of steps. Will report back when I have an answer. The fix is already available in downstream satellite versions. Moving to on_qa for verification. |