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 2120992 - Running satellite-clone on SAT6.12 fails beacuse it's not supported
Summary: Running satellite-clone on SAT6.12 fails beacuse it's not supported
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Satellite Clone
Version: 6.12.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 6.12.0
Assignee: satellite6-bugs
QA Contact: Ladislav Vasina
URL:
Whiteboard:
Depends On:
Blocks: 2100578 2103099
TreeView+ depends on / blocked
 
Reported: 2022-08-24 09:18 UTC by Ladislav Vasina
Modified: 2022-11-16 13:35 UTC (History)
1 user (show)

Fixed In Version: satellite-clone-3.2.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-16 13:35:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github RedHatSatellite satellite-clone pull 425 0 None Merged Added 6.12 version 2022-08-24 17:09:28 UTC
Red Hat Issue Tracker SAT-12480 0 None None None 2022-08-25 14:20:52 UTC
Red Hat Product Errata RHSA-2022:8506 0 None None None 2022-11-16 13:35:44 UTC

Description Ladislav Vasina 2022-08-24 09:18:53 UTC
Description of problem:
While running satellite-clone on sat6.12 fails with this message.

######################################################################
TASK [satellite-clone : Check for satellite version in metadata file] ************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Satellite version is not supported or found. Only Satellite 6.6, 6.7, 6.8, 6.9, 6.10, 6.11 is supported."}

PLAY RECAP ***********************************************************************************************
localhost                  : ok=13   changed=1    unreachable=0    failed=1    skipped=4    rescued=0    ignored=1   
######################################################################

In my opinion this is happening because there is no 6.12 version added in SUPPORTED_VERSIONS here: https://github.com/RedHatSatellite/satellite-clone/blob/d1938475580a021f1799e5ee638c466a053ede19/library/parse_backup_metadata.py#L21

How reproducible:
Everytime

Steps to Reproduce:
1. Have 6.12 backup on rhel and try to run satellite-clone
2. Satellite-clone will fail


Actual results:
Satellite-clone fails

Expected results:
Satellite-clone should pass

Additional info:

Comment 1 Ladislav Vasina 2022-08-26 06:22:42 UTC
VERIFIED.
Works on satellite6.12 snap8.
My test that I have for satellite-clone passed.
################################################################################################################################
*
* satellite-clone output here
*
TASK [satellite-clone : Run foreman-rake katello:reimport for Satellite - Note that this might take hours] ***
    skipping: [localhost]
    
    PLAY RECAP *********************************************************************
    localhost                  : ok=70   changed=26   unreachable=0    failed=0    skipped=30   rescued=0    ignored=1   
    
    
xxxxxxxxxxxxxxx.redhat.com executing command: satellite-maintain health check  
xxxxxxxxxxxxxxx.sat.rdu2.redhat.com command result:
    Running ForemanMaintain::Scenario::FilteredScenario
    ================================================================================
    Clean old Kernel and initramfs files from tftp-boot:                  [32m [1m[OK] [0m
    --------------------------------------------------------------------------------
    Check number of fact names in database:                               [32m [1m[OK] [0m
    --------------------------------------------------------------------------------
    Check whether all services are running:                               [32m [1m[OK] [0m
    --------------------------------------------------------------------------------
    Check whether all services are running using the ping call:           [32m [1m[OK] [0m
    --------------------------------------------------------------------------------
    Check for paused tasks:                                               [32m [1m[OK] [0m
    --------------------------------------------------------------------------------
    Check whether system is self-registered or not:                       [32m [1m[OK] [0m
    --------------------------------------------------------------------------------
################################################################################################################################

Comment 5 errata-xmlrpc 2022-11-16 13:35:34 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 (Important: Satellite 6.12 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:8506


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