Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1915394 - [RFE] Adding an option to keep the ansible-runner files on Satellite.
Summary: [RFE] Adding an option to keep the ansible-runner files on Satellite.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Ansible - Configuration Management
Version: 6.8.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: 6.11.0
Assignee: aabramov
QA Contact: Sam Bible
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-12 15:19 UTC by Rudnei Bertol Jr.
Modified: 2022-07-05 14:28 UTC (History)
5 users (show)

Fixed In Version: tfm-rubygem-smart_proxy_ansible-3.3.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-05 14:28:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 32205 0 Normal New Adding an option to keep the ansible-runner files on Satellite. 2021-03-25 10:16:26 UTC
Red Hat Bugzilla 1837717 0 unspecified CLOSED Ansible temporary files are not removed from the /tmp directory. 2024-12-20 19:05:22 UTC
Red Hat Product Errata RHSA-2022:5498 0 None None None 2022-07-05 14:28:45 UTC

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


Note You need to log in before you can comment on or make changes to this bug.