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 2266600 - ansible callback plugin is not used on ansible-core 2.15+
Summary: ansible callback plugin is not used on ansible-core 2.15+
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Ansible - Configuration Management
Version: 6.12.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 6.12.5
Assignee: satellite6-bugs
QA Contact: Lukas Pramuk
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-02-28 12:55 UTC by Lukas Pramuk
Modified: 2024-04-22 18:51 UTC (History)
5 users (show)

Fixed In Version: foreman-installer-3.3.0.10
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-04-22 18:51:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-23619 0 None None None 2024-02-28 12:57:08 UTC
Red Hat Product Errata RHBA-2024:1958 0 None None None 2024-04-22 18:51:38 UTC

Description Lukas Pramuk 2024-02-28 12:55:48 UTC
Description of problem:
Satellite 6.12.z and 6.11.z callback plugin is skipped from running on ansible-core 2.15 or newer (=RHEL8.9+)
When I downgrade to ansible-core 2.14 callback plugin starts to work with nice "DEPRECATION WARNING"
---
[DEPRECATION WARNING]: [defaults]callback_whitelist option, normalizing names 
to new standard, use callbacks_enabled instead. This feature will be removed 
from ansible-core in version 2.15. Deprecation warnings can be disabled by 
setting deprecation_warnings=False in ansible.cfg.
---
ansible-core 2.15 kept the promise and removed "callback_whitelist"


Version-Release number of selected component (if applicable):
6.12.5.3

How reproducible:
deterministic


Steps to Reproduce:
1. Have Satellite installed on RHEL 8.9+ (or upgrade ansible-core to 2.15+)
2. Run an Ansible role via Satellite
3. Check for config report


Actual results:
Execution works, but there is no report in Satellite

Expected results:
Execution works, reports are uploaded to Satellite

Comment 1 Lukas Pramuk 2024-03-11 11:47:58 UTC
VERIFIED.

@Satellite 6.12.5.3 Snap2
foreman-installer-3.3.0.10-1.el8sat.noarch

by manual reproducer described in comment#0:

1) Have Satellite installed on RHEL 8.9+ (or upgrade ansible-core to 2.15+)
# rpm -q ansible-core
ansible-core-2.15.3-1.el8.x86_64

2) Run an Ansible role via Satellite
# hammer host ansible-roles play --name $(hostname)
Ansible roles are being played. Job ID: 1

3. Check for config report
# hammer config-report list --search host=$(hostname),applied=1
---|----------------------------|---------------------|---------|---------|-----------|--------|------------------|---------|--------
ID | HOST                       | LAST REPORT         | ORIGIN  | APPLIED | RESTARTED | FAILED | RESTART FAILURES | SKIPPED | PENDING
---|----------------------------|---------------------|---------|---------|-----------|--------|------------------|---------|--------
1  | sat.example.com            | 2024/03/11 11:33:39 | Ansible | 1       | 0         | 0      | 0                | 8       | 0      
---|----------------------------|---------------------|---------|---------|-----------|--------|------------------|---------|--------

>>> Ansible callback plugin successfully reports to Satellite

Comment 6 errata-xmlrpc 2024-04-22 18:51:37 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 (Satellite 6.12.5.3 Async 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/RHBA-2024:1958


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