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

Toggling Ansible feature on Satellite changes callback plugin to wrong value

XMLWordPrintable

    • 0
    • False
    • Moderate
    • sat-rocket
    • None
    • None
    • None
    • None
    • No

      Description of problem:
      Toggling Ansible feature on Satellite changes callback plugin to wrong value.
      So the callback is failing and no facts are uploaded.

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

      How reproducible:
      deterministic

      Steps to Reproduce:
      1. Check the Ansible callback plugin

      1. grep -rn -e callback: -e _CALLBACK /etc
        /etc/foreman-installer/scenarios.d/satellite-answers.yaml:371: callback: redhat.satellite.foreman
        /etc/foreman-proxy/ansible.env:1:export ANSIBLE_CALLBACK_WHITELIST="redhat.satellite.foreman"
        /etc/foreman-proxy/ansible.env:2:export ANSIBLE_CALLBACKS_ENABLED="redhat.satellite.foreman"

      2. Toggle (disable and enable) Ansible feature

      1. satellite-installer --no-enable-foreman-proxy-plugin-ansible && satellite-installer --enable-foreman-proxy-plugin-ansible

      3. Check the Ansible callback plugin again

      1. grep -rn -e callback: -e _CALLBACK /etc
        /etc/foreman-installer/scenarios.d/satellite-answers.yaml:371: callback: theforeman.foreman.foreman
        /etc/foreman-proxy/ansible.env:1:export ANSIBLE_CALLBACK_WHITELIST="theforeman.foreman.foreman"
        /etc/foreman-proxy/ansible.env:2:export ANSIBLE_CALLBACKS_ENABLED="theforeman.foreman.foreman"

      Actual results:
      callback plugin is set to wrong value and stops to work

      Expected results:
      callback plugin is set to correct value and works

      Additional info:
      For an external Capsule it was fixed by #2245081

              Unassigned Unassigned
              lpramuk Lukas Pramuk
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: