Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2264354

Summary: Support Satellite Clone running on Python 3.12
Product: Red Hat Satellite Reporter: Evgeni Golov <egolov>
Component: Satellite CloneAssignee: Odilon Sousa <osousa>
Status: CLOSED ERRATA QA Contact: Lukas Pramuk <lpramuk>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.13.5CC: lpramuk, osousa, rlavi
Target Milestone: 6.13.7Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: satellite-clone-3.5.0-1.el8sat Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2264876 2265174 2265178 (view as bug list) Environment:
Last Closed: 2024-02-29 20:35:15 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 Evgeni Golov 2024-02-15 07:55:46 UTC
Description of problem:
Ansible will start using Python 3.12 in EL8 when it's updated to 2.16.3-2[1]

We need to ensure satellite-clone uses the right Python as otherwise it won't be able to load Ansible.

[1] https://kojihub.stream.centos.org/koji/buildinfo?buildID=50584

Version-Release number of selected component (if applicable):
6.12/6.13
(in 6.14+ satellite-clone switched to a different way of executing Ansible, thus eliminating this issue)

How reproducible:
100%

Steps to Reproduce:
1. install ansible-core 2.16.3-2 (or newer)
2. satellite-clone

Actual results:
satellite-clone doesn't work

Expected results:
it works

Additional info:
Previously: BZ#2170034
Previously: https://gitlab.cee.redhat.com/satellite/satellite-packaging/-/commit/b5e43bc12589a529779347bd8e36bcafd6711925

Comment 2 Odilon Sousa 2024-02-20 19:58:41 UTC
*** Bug 2265174 has been marked as a duplicate of this bug. ***

Comment 3 Odilon Sousa 2024-02-20 20:07:23 UTC
*** Bug 2265178 has been marked as a duplicate of this bug. ***

Comment 4 Lukas Pramuk 2024-02-27 11:16:25 UTC
VERIFIED. 

@Satellite 6.13.7 Snap2
satellite-clone-3.5.0-1.el8sat.noarch

by the following manual reproducer:

1) Install and run satellite-clone on RHEL8.10

# satellite-clone -y

PLAY [satellite6] **************************************************************

TASK [satellite-clone : Run pre-install check] *********************************
included: /usr/share/satellite-clone/roles/satellite-clone/tasks/pre_install_check.yml for localhost

TASK [satellite-clone : Check if satellite is already installed] ***************
changed: [localhost]
...

>>> the tool is running successfully on RHEL8.10

Comment 9 errata-xmlrpc 2024-02-29 20:35:15 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: Red Hat Satellite 6 security and bug fix update), 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-2024:1061