-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
Description of problem:
How reproducible:
Always
Is this issue a regression from an earlier version:
Yes, it works in Satellite 6.16.0
Steps to Reproduce:
--- - name: Simple Ansible Playbook for Localhost hosts: localhost gather_facts: no tasks: - name: Print a message debug: msg: "Hello, localhost!"
Actual behavior:
ansible-playbook job invocation task goes in pending state, and error logged in /var/log/foreman-proxy/proxy.log
2024-10-25T09:25:57 551f371d [I] Started POST /dynflow/tasks/launch 2024-10-25T09:25:57 551f371d [I] Finished POST /dynflow/tasks/launch with 200 (16.2 ms) 2024-10-25T09:25:58 [W] handle_host_event: unknown host localhost for event 'runner_on_start', broadcasting 2024-10-25T09:25:58 [W] handle_host_event: unknown host localhost for event 'runner_on_ok', broadcasting 2024-10-25T09:25:58 [E] error while dispatching request to runner be51d609-4223-4642-9460-111e72332875:NoMethodError undefined method `+' for nil:NilClass: /usr/share/gems/gems/smart_proxy_ansible-3.5.7/lib/smart_proxy_ansible/runner/ansible_runner.rb:152:in `block in handle_broadcast_data' /usr/share/gems/gems/smart_proxy_ansible-3.5.7/lib/smart_proxy_ansible/runner/ansible_runner.rb:150:in `each'
Expected behavior:
ansible-playbook job on the Satellite with "hosts: localhost" against a rhel host should be run successfully
Business Impact / Additional info:
Below fix in smart_proxy_ansible seems to be causing this issue since stream/6.17 has smart_proxy_ansible v3.5.7, while it works in v3.5.6 in Satellite 6.16.