Bug 1934110
| Summary: | Foreman callback is always used | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Adam Ruzicka <aruzicka> |
| Component: | Ansible - Configuration Management | Assignee: | Adam Ruzicka <aruzicka> |
| Status: | CLOSED ERRATA | QA Contact: | Danny Synk <dsynk> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.9.0 | CC: | oezr |
| Target Milestone: | 6.10.0 | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ansible-collection-redhat-satellite-2.1.0 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-11-16 14:10:12 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
Adam Ruzicka
2021-03-02 14:24:20 UTC
Created redmine issue https://projects.theforeman.org/issues/32020 from this bug Upstream bug assigned to aruzicka Upstream bug assigned to aruzicka Steps to Test:
1. Register a content host to Satellite and configure it for remote execution using the Global Registration Template.
2. In the Satellite webUI, increase the Ansible verbosity to Level 4 using the Administer > Settings > Ansible > Default verbosity level setting.
3. In the Satellit webUI, navigate to Hosts > All Hosts > [hostname] and click the "Schedule remote job" button.
4. On the job invocation page, set the job category to "Ansible Commands" and enter "ls -la" in the "command" field.
5. Click the "Submit" button.
Expected Results:
The foreman notification callback is not loaded, and the job completes faster than a Satellite that does use this callback.
Actual Results:
The foreman notification callback is not loaded, and the job completes faster than a Satellite that does use this callback.
On Satellite 6.10.0, snap 5, the job completes in 11 seconds, and the output contains the following line:
output: "[WARNING]: Skipping callback plugin 'theforeman.foreman.foreman', unable
to\r\nload\n"
On Satellite 6.9.3, snap 3, the same job completes in 31 seconds, and the output contains the following line:
output: 'Loading callback plugin foreman of type notification, v2.0 from /usr/lib/python2.7/site-packages/ansible/plugins/callback/foreman.pyc
Verified on Satellite 6.10, snap 5 (tfm-rubygem-foreman_ansible-6.3.0-1.el7sat.noarch).
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.10 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-2021:4702 |