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 2150108

Summary: Satellite-clone not working if ansible-core 2.13 is installed
Product: Red Hat Satellite Reporter: Odilon Sousa <osousa>
Component: Satellite CloneAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Griffin Sullivan <gsulliva>
Severity: high Docs Contact:
Priority: high    
Version: 6.12.0CC: ahumbe, dhjoshi, egolov, gsulliva, juwatts, lpramuk, lvrtelov
Target Milestone: 6.12.1Keywords: AutomationBlocker, Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: satellite-clone-3.2.0-2.el8sat Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2142514 Environment:
Last Closed: 2023-01-18 14:53:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 2 Griffin Sullivan 2022-12-15 17:54:38 UTC
Verified on 6.12.1 snap 1

satellite-clone is running successfully with ansible-core 2.13.

Steps to Reproduce:
1) Set up prerequisites for running satellite-clone on a RHEL8.6 machine
2) Install satellite-clone
3) Check versions:
      # rpm -qa satellite-clone ansible-core
      satellite-clone-3.2.0-2.el8sat.noarch
      ansible-core-2.13.3-1.el8.x86_64
4) # satellite-clone -y

Results:
satellite-clone ran successfully.


Note:
I got a failure at 

TASK [satellite-clone : Test Satellite] ******************************************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["hammer", "ping"], "delta": "0:00:58.997593", "end": "2022-12-15 12:33:59.310704", "msg": "non-zero return code", "rc": 1, "start": "2022-12-15 12:33:00.313111", "stderr": "", "stderr_lines": [], "stdout": "database:         \n    Status:          ok\n    Server Response: Duration: 1ms\ncandlepin:        \n    Status:          ok\n    Server Response: Duration: 20977ms\ncandlepin_auth:   \n    Status:          ok\n    Server Response: Duration: 2302ms\ncandlepin_events: \n    Status:          ok\n    message:         0 Processed, 0 Failed\n    Server Response: Duration: 1ms\nkatello_events:   \n    Status:          ok\n    message:         0 Processed, 0 Failed\n    Server Response: Duration: 21ms\npulp3:            \n    Status:          ok\n    Server Response: Duration: 2581ms\npulp3_content:    \n    Status:          ok\n    Server Response: Duration: 918ms\nforeman_tasks:    \n    Status:          FAIL\n    Server Response: Message: The Dynflow world was not initialized yet. If your plugin uses it, make sure to call Rails.application.dynflow.require! in some initializer", "stdout_lines": ["database:         ", "    Status:          ok", "    Server Response: Duration: 1ms", "candlepin:        ", "    Status:          ok", "    Server Response: Duration: 20977ms", "candlepin_auth:   ", "    Status:          ok", "    Server Response: Duration: 2302ms", "candlepin_events: ", "    Status:          ok", "    message:         0 Processed, 0 Failed", "    Server Response: Duration: 1ms", "katello_events:   ", "    Status:          ok", "    message:         0 Processed, 0 Failed", "    Server Response: Duration: 21ms", "pulp3:            ", "    Status:          ok", "    Server Response: Duration: 2581ms", "pulp3_content:    ", "    Status:          ok", "    Server Response: Duration: 918ms", "foreman_tasks:    ", "    Status:          FAIL", "    Server Response: Message: The Dynflow world was not initialized yet. If your plugin uses it, make sure to call Rails.application.dynflow.require! in some initializer"]}

I imagine that this is unrelated to this specific BZ. Does this needs it's own separate BZ or is this a failure in my setup?

Comment 10 Lukas Pramuk 2023-01-10 18:11:23 UTC
@gsulliva 

This is know issue, foreman-tasks are taking long to start. (pls no private verification comments)

satellite-clone should use adaptive waiting for services to start, similar what foreman-maintain has

So, pls file a new BZ in this spirit. Thanks

Comment 11 Lukas Pramuk 2023-01-10 18:12:29 UTC
comment#10 is response to the question raised in comment#2

Comment 14 errata-xmlrpc 2023-01-18 14:53:14 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 (Critical: Satellite 6.12.1 Async Security 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-2023:0261

Comment 15 Red Hat Bugzilla 2023-09-19 04:31:03 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days