Bug 1915394

Summary: [RFE] Adding an option to keep the ansible-runner files on Satellite.
Product: Red Hat Satellite Reporter: Rudnei Bertol Jr. <rbertolj>
Component: Ansible - Configuration ManagementAssignee: aabramov
Status: CLOSED ERRATA QA Contact: Sam Bible <sbible>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.8.0CC: aabramov, oezr, pcreech, wpinheir, zhunting
Target Milestone: 6.11.0Keywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-smart_proxy_ansible-3.3.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-05 14:28:38 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 Rudnei Bertol Jr. 2021-01-12 15:19:35 UTC
Description of problem:

We would like to have the ability to keep the Ansible temporary files on the Satellite for debugging.

We have filled the BZ https://bugzilla.redhat.com/show_bug.cgi?id=1837717 to fix the issue, however, working on some Satellite Ansible cases we realized that we need those files during troubleshooting.

Suggestion:

If possible have an option on settings WebUI or satellite-installer where we could enable it and keep those files on the '/tmp'

Comment 1 Shira Maximov 2021-03-25 10:16:25 UTC
Created redmine issue https://projects.theforeman.org/issues/32205 from this bug

Comment 3 Bryan Kearney 2021-11-04 13:49:37 UTC
Upstream bug assigned to aabramov

Comment 4 Bryan Kearney 2021-11-04 13:49:38 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/32205 has been resolved.

Comment 9 Sam Bible 2022-06-15 18:08:17 UTC
Verified on: Satellite 6.11.0-25.0

Description:
An RFE for an option to be able to retain temporary files associated with a remote execution job.

Steps to verify:
1. Navigate to the Settings portion of Satellite, and the remote execution tab

Expected Results:
There is an option called "Cleanup Working Directories", it defaults to Yes, and when set to No, and a job is run, the temporary files are retained in the /tmp directory on the host machine.

Actual Results:
There is an option called "Cleanup Working Directories", it defaults to Yes, and when set to No, and a job is run, the temporary files are retained in the /tmp directory on the host machine.

Comment 12 errata-xmlrpc 2022-07-05 14:28:38 UTC
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.11 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-2022:5498