Bug #27834
closedWhen running remote action with ansible-runner the task ends up in suspended state
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1745494
Description of problem:
Actions::RemoteExecution::RunHostJob to install katello-host-tools-tracer package via ansible-runner method for 2 hosts (via Ansible commands), the task ends up in suspended state.
~~
3: Actions::ProxyAction (suspended) [ 0.01s / 0.01s ]
~~
Version-Release number of selected component (if applicable):
satellite-6.6.0-5.beta.el7sat.noarch
How reproducible:
100%
Steps to Reproduce:
1. https://access.redhat.com/documentation/en-us/red_hat_satellite/6.6-beta/html-single/managing_hosts/index#sect-Configuring_Ansible_Runner
2. Try to install a package on some hosts via Ansible
3.
Actual results:
Task ends up in suspended state
Expected results:
Task to finish
Additional info:
Changing it back to the ansible-playbook method works without issues.
Updated by Adam Ruzicka over 4 years ago
- Subject changed from When running remote action with ansible-runner the task ends up in suspended state to When running remote action with ansible-runner the task ends up in suspended state
When running a shell script through ansible, which runs yum, ansible tries to be smart and suggest the usage of yum module. However this hint message has different shape than what we expect and it makes our side crash.
Updated by The Foreman Bot over 4 years ago
- Status changed from New to Ready For Testing
- Assignee set to Adam Ruzicka
- Pull request https://github.com/theforeman/foreman_ansible/pull/301 added
Updated by The Foreman Bot over 4 years ago
- Fixed in Releases foreman-ansible 3.0.8 added
Updated by Anonymous over 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_ansible|582dd6475d369621ef6ce0df85990390b960ba52.