Bug 1515391
| Summary: | [RFE] Allow satellite-clone to skip/resume some tasks | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Christian Marineau <cmarinea> |
| Component: | Satellite Clone | Assignee: | John Mitsch <jomitsch> |
| Status: | CLOSED ERRATA | QA Contact: | Peter Ondrejka <pondrejk> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2.12 | CC: | jomitsch, mmccune, rjerrido, sthirugn |
| Target Milestone: | Unspecified | Keywords: | FutureFeature |
| Target Release: | Unused | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-02-19 17:23:12 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
Christian Marineau
2017-11-20 17:45:49 UTC
This is actually coming in satellite-clone 1.2.0, you can use --start-at-task and resume from any task. The facts are cache so you won't have to rerun the full playbook (In reply to John Mitsch from comment #1) > This is actually coming in satellite-clone 1.2.0, you can use > --start-at-task and resume from any task. The facts are cache so you won't > have to rerun the full playbook Hi, This is good news! Can we link this BZ with the upstream project somehow so we can track it accordingly? Thanks -Christian We don't have a way to link up upstream issues and downstream BZs (I'm handing it manually), but the PR is here https://github.com/RedHatSatellite/satellite-clone/pull/245 This can be found in 1.2.0 Verified with Maintenance 6, satellite-clone now allows to pick a task to start with and to interactively skip tasks, e.g.: ~]# satellite-clone --start-at-task "Check full backup is present" --step This will initiate satellite-clone. Do you want to proceed? (y/n): y ansible-playbook -i /usr/share/satellite-clone/inventory --start-at-task Check full backup is present --step /usr/share/satellite-clone/satellite-clone-playbook.yml PLAY [satellite6] ****************************************************************************************************************************************** Perform task: TASK: satellite-clone : Check full backup is present (N)o/(y)es/(c)ontinue: y ... Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:0330 |