-
Bug
-
Resolution: Won't Do
-
Normal
-
None
-
6.15.0
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
- 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
- satellite-installer --no-enable-foreman-proxy-plugin-ansible && satellite-installer --enable-foreman-proxy-plugin-ansible
3. Check the Ansible callback plugin again
- 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