Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2082560 - satellite-clone missed version rename 7.0 to 6.11
Summary: satellite-clone missed version rename 7.0 to 6.11
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Satellite Clone
Version: 6.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 6.11.0
Assignee: satellite6-bugs
QA Contact: Lukas Pramuk
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-06 12:20 UTC by Lukas Pramuk
Modified: 2022-07-05 14:35 UTC (History)
3 users (show)

Fixed In Version: satellite-clone-3.1.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-05 14:35:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github RedHatSatellite satellite-clone pull 419 0 None Merged adjust satellite versioning 2022-05-06 14:11:17 UTC
Red Hat Product Errata RHSA-2022:5498 0 None None None 2022-07-05 14:35:58 UTC

Description Lukas Pramuk 2022-05-06 12:20:28 UTC
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

Comment 4 Lukas Pramuk 2022-05-18 09:08:10 UTC
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

Comment 7 errata-xmlrpc 2022-07-05 14:35:32 UTC
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


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