Bug 1785250
Summary: | When setting foreman_tasks_proxy_batch_trigger to false ansible jobs configured in satellite do not work anymore | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Francisco Peralta <fperalta> |
Component: | Ansible - Configuration Management | Assignee: | Adam Ruzicka <aruzicka> |
Status: | CLOSED ERRATA | QA Contact: | Lukas Pramuk <lpramuk> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.6.0 | CC: | bkearney, dmatoule, pierre-yves.goubet |
Target Milestone: | 6.9.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: | 2021-04-21 13:12:25 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Francisco Peralta
2019-12-19 13:55:26 UTC
Created redmine issue https://projects.theforeman.org/issues/29235 from this bug Upstream bug assigned to aruzicka Upstream bug assigned to aruzicka Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/28612 has been resolved. Fix is in Satellite 6.9 SNAP 1 with tfm-rubygem-foreman_ansible-6.0.0-1.el7sat.noarch VERIFIED.
@Satellite 6.9.0 Snap12
tfm-rubygem-foreman_ansible-6.0.1-1.el7sat.noarch
by the following reproducer:
1) Set up Satellite and 3 hosts for REX
2) Change Settings -> Foreman Tasks -> "Allow Capsule batch tasks" to "No"
3) Run Ansible REX for the 3 hosts
FIX:
>>> all 3 jobs finished successfully at the same time on all hosts
vs.
REPRO:
all 3 jobs failed with:
1:/var/tmp/foreman-ssh-cmd-0fe71302-2942-4e09-8aa3-99ee2bc7a308/script: line 1: ---: command not found
2:/var/tmp/foreman-ssh-cmd-0fe71302-2942-4e09-8aa3-99ee2bc7a308/script: line 2: -: command not found
3:/var/tmp/foreman-ssh-cmd-0fe71302-2942-4e09-8aa3-99ee2bc7a308/script: line 3: tasks:: command not found
4:/var/tmp/foreman-ssh-cmd-0fe71302-2942-4e09-8aa3-99ee2bc7a308/script: line 4: -: command not found
5:Thu Feb 11 18:25:18 EST 2021
6:/var/tmp/foreman-ssh-cmd-0fe71302-2942-4e09-8aa3-99ee2bc7a308/script: line 5: cmd:: command not found
7:/var/tmp/foreman-ssh-cmd-0fe71302-2942-4e09-8aa3-99ee2bc7a308/script: line 7: register:: command not found
8:/var/tmp/foreman-ssh-cmd-0fe71302-2942-4e09-8aa3-99ee2bc7a308/script: line 8: -: command not found
9:Exit status: 127
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 (Moderate: Satellite 6.9 Release), 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-2021:1313 |