Project

General

Profile

Actions

Bug #35585

closed

Unable to enable callback plugin per-template

Added by Nofar Alfassi almost 2 years ago. Updated about 1 year ago.


Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2116369

Description of problem:

After the fix for https://bugzilla.redhat.com/show_bug.cgi?id=1934110 went in (in 6.10), it's not possible to upload reports to Satellite for cloned roles.

The option to set a cloned role in "Administer -> Remote Execution Features -> ansible_run_host" is not valid since only one role (cloned or not) would have that
"ability", so it would be better to add a flag to every job template to enable it
(that way it could be inherited or not when cloned).

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

How reproducible:

Always

Steps to Reproduce:
1. Clone: "Ansible Roles - Ansible Default" template [1]
2. Run: the new template
3. "WARNING: Callback disabled by environment. Disabling the Foreman callback plugin"

Actual results:

Foreman callback plugin is not enabled and report is not uploaded to Satellite.

Expected results:

Foreman callback plugin is enabled if set and report is uploaded to Satellite.

Additional info:


Subtasks 1 (0 open1 closed)

Foreman - Feature #35726: Add pagelet mountpoints to form template to make it extensible in pluginsClosedNofar AlfassiActions

Related issues 2 (0 open2 closed)

Related to Ansible - Bug #36298: Fix default playbook for running Ansible roles has Ansible callback disabledClosedNofar AlfassiActions
Related to Ansible - Bug #36299: The migration for adding the new ansible_callback_enabled column is failing on nightly Katello ClosedNofar AlfassiActions
Actions

Also available in: Atom PDF