Project

General

Profile

Actions

Bug #27834

closed

When running remote action with ansible-runner the task ends up in suspended state

Added by Adam Ruzicka over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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.

Actions #1

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.

Actions #2

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
Actions #3

Updated by The Foreman Bot over 4 years ago

  • Fixed in Releases foreman-ansible 3.0.8 added
Actions #4

Updated by Anonymous over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF