Bug 1745494
Summary: | When running remote action with ansible-runner the task ends up in suspended state | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Kenny Tordeurs <ktordeur> |
Component: | Ansible - Configuration Management | Assignee: | Adam Ruzicka <aruzicka> |
Status: | CLOSED ERRATA | QA Contact: | Lukas Pramuk <lpramuk> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.6.0 | CC: | aruzicka, mmccune, pcreech, risantam |
Target Milestone: | 6.7.0 | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-04-14 13:25:28 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Kenny Tordeurs
2019-08-26 08:54:44 UTC
Created redmine issue https://projects.theforeman.org/issues/27834 from this bug Upstream bug assigned to aruzicka Upstream bug assigned to aruzicka Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/27834 has been resolved. VERIFIED. @Satellite 6.7.0 Snap14 tfm-rubygem-foreman_ansible_core-3.0.2-1.el7sat.noarch using the reproducer described in comment#0: 1) Register a host and set it up for REX 2) Assign Satellite Tools repo to the host 3) Schedule REX Ansible Command "yum -y install katello-host-tools-tracer" (or any other package that is available) Job Output -------------------- 1: 2:PLAY [all] ********************************************************************* 3: 4:TASK [Gathering Facts] ********************************************************* 5:ok: [host.example.com] 6: 7:TASK [shell] ******************************************************************* 8:[WARNING]: Consider using the yum module rather than running 'yum'. If you 9:need to use command because yum is insufficient you can add 'warn: false' to 10:this command task or set 'command_warnings=False' in ansible.cfg to get rid of 11:this message. 12:changed: [host.example.com] 13: 14:TASK [debug] ******************************************************************* 15:ok: [host.example.com] => { 16: "out": { ... 147:PLAY RECAP ********************************************************************* 148:host.example.com : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 149:Exit status: 0 -------------------- Task Detail ----------- Label: Actions::RemoteExecution::RunHostJob Status: stopped Result: success ----------- >>> the task even though contains WARNING about yum module finishes successfully (vs. running forever/suspended) and no longer defunct ansible-runner process remains running on Satellite Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:1454 |