Bug 2089361

Summary: satellite-clone is broken on RHEL8.6
Product: Red Hat Satellite Reporter: Lukas Pramuk <lpramuk>
Component: Satellite CloneAssignee: Evgeni Golov <egolov>
Status: CLOSED ERRATA QA Contact: Lukas Pramuk <lpramuk>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.11.0CC: egolov
Target Milestone: 6.11.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: satellite-clone-3.1.0-2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-05 14:35:42 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 Lukas Pramuk 2022-05-23 13:52:25 UTC
Description of problem:
satellite-clone is broken on RHEL8.6

Version-Release number of selected component (if applicable):
6.11.0
satellite-clone-3.1.0-1.el8sat.noarch

How reproducible:
deterministic

Steps to Reproduce:
1. Run satellite-clone tool on RHEL8.6

# satellite-clone -y 
Traceback (most recent call last):
  File "/usr/sbin/satellite-clone", line 98, in <module>
    main()
  File "/usr/sbin/satellite-clone", line 82, in main
    from ansible.cli.playbook import PlaybookCLI
ModuleNotFoundError: No module named 'ansible'


Actual results:
fails with traceback

Expected results:
succeeds

Additional info:
caused by transition from ansible-2.9 to ansible-core-2.12 on RHEL8.6

Comment 1 Lukas Pramuk 2022-05-30 12:05:33 UTC
VERIFIED.

@Satellite 6.11.0 Snap22
satellite-clone-3.1.0-2.el8sat.noarch

by the following manual reproducer:

1) Have a 6.11 backup

2) Restore it on RHEL8.6

# satellite-clone -y
...

PLAY RECAP *************************************************************************************************************
localhost                  : ok=71   changed=25   unreachable=0    failed=0    skipped=32   rescued=0    ignored=1   


>>> satellite-clone runs successfully on latest RHEL8

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