Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-20904

A Capsule 6.13 has callback plugin set as theforeman.foreman.foreman which affects ansible facts upload

XMLWordPrintable

    • None
    • None
    • None
    • None

      Description of problem:

      After installing a fresh Capsule 6.13 system and enabling the Ansible feature on it, The callback plugin remains set as "theforeman.foreman.foreman"

      Due to this, even if all ansible role executions would happen fine, foreman_callback will never happen and hence no ansible facts would be uploaded back to satellite via capsule

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

      Red Hat Capsule 6.13.4

      How reproducible:

      Always

      Steps to Reproduce:
      1. Install a Satellite and Capsule 6.13
      2. Enable ansible feature on capsule using # satellite-installer --enable-foreman-proxy-plugin-ansible
      3. Check the callback plugin mentioned in /etc/foreman-proxy/ansible.env and /etc/foreman-installer/scenarios.d/capsule-answers.yaml of capsule server

      Actual results:

      1. grep theforeman /etc/foreman-installer/scenarios.d/capsule-answers.yaml
        callback: theforeman.foreman.foreman
      1. cat /etc/foreman-proxy/ansible.env | grep theforeman
        export ANSIBLE_CALLBACK_WHITELIST="theforeman.foreman.foreman"
        export ANSIBLE_CALLBACKS_ENABLED="theforeman.foreman.foreman"

      Expected results:

      1. grep callback /etc/foreman-installer/scenarios.d/capsule-answers.yaml
        callback: redhat.satellite.foreman
      1. grep CALLBACK /etc/foreman-proxy/ansible.env
        export ANSIBLE_CALLBACK_WHITELIST="redhat.satellite.foreman"
        export ANSIBLE_CALLBACKS_ENABLED="redhat.satellite.foreman"

      Additional info:

      The wrong callback plugin , would still allow the role to run but It will not allow the ansible facts to be uploaded back to satellite as it fails to load.

      ~~
      [WARNING]: Skipping callback plugin 'theforeman.foreman.foreman', unable to
      6:
      load
      ~~

          There are no Sub-Tasks for this issue.

              egolov@redhat.com Evgeni Golov
              jira-bugzilla-migration RH Bugzilla Integration
              Lukas Pramuk Lukas Pramuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: