Bug 2082560
| Summary: | satellite-clone missed version rename 7.0 to 6.11 | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Lukas Pramuk <lpramuk> |
| Component: | Satellite Clone | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | CLOSED ERRATA | QA Contact: | Lukas Pramuk <lpramuk> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.11.0 | CC: | egolov, ehelms, pcreech |
| Target Milestone: | 6.11.0 | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | satellite-clone-3.1.0 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-07-05 14:35:32 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: | |||
VERIFIED.
@Satellite 6.11.0 Snap20
satellite-clone-3.1.0-1.el8sat.noarch
1) Create/Have a 6.11.0 backup
2) Copy the backup to a target machine
3) Configure answer file /etc/satellite-clone/satellite-clone-vars.yml
---
satellite_version: 6.11
backup_dir: /tmp/satellite-backup-2022-05-17-13-03-56
enable_repos: False
---
4) Run satellite-clone for 6.11
...
# satellite-clone -y
TASK [satellite-clone : Check for satellite version in metadata file] ****************************************************************************************
Wednesday 18 May 2022 04:39:56 -0400 (0:00:00.057) 0:00:17.601 *********
ok: [sat.example.com]
...
>>> satellite-clone supports 6.11 satellite version
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 (Moderate: Satellite 6.11 Release), 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/RHSA-2022:5498 |
Description of problem: satellite-clone missed version rename 7.0 to 6.11 Version-Release number of selected component (if applicable): @Satellite 6.11.0 Snap19 satellite-clone-3.0.0-1.el7sat.noarch How reproducible: deterministic Steps to Reproduce: 1. Setup answer file and run satellite-clone # satellite-clone -y ... TASK [satellite-clone : Check for satellite version in metadata file] ********************************************************************** Thursday 05 May 2022 16:25:45 -0400 (0:00:00.087) 0:00:15.161 ********** fatal: [sat.example.com]: FAILED! => {"changed": false, "msg": "Satellite version is not supported or found. Only Satellite 6.6, 6.7, 6.8, 6.9, 6.10, 7.0 is supported."} Actual results: 6.11 is not supported version Expected results: 6.11 is supported Additional info: # grep ^SUPPORTED_VERSIONS /usr/share/satellite-clone/library/parse_backup_metadata.py SUPPORTED_VERSIONS = ["6.6", "6.7", "6.8", "6.9", "6.10", "7.0"] # grep ^satellite_maintenance_version: satellite_maintenance_version: '7.0' /usr/share/satellite-clone/roles/satellite-clone/vars/satellite_7.0.yml