Project

General

Profile

Actions

Bug #22934

closed

Clean-up the remote_execution_{local,remote}_dir by defualt

Added by Ivan Necas over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1553932

Description of problem:
Running a REX job with ssh default template leaves a small /var/tmp/foreman-ssh-cmd-* directory that is never deleted.

REX job should be able remove that dir once it finishes all other activity.

Steps to Reproduce:
1. Run a REX job with "Run Command - SSH Default through SSH" template (other templates might create similar dirs as well)
2. Check new dir under /var/tmp/ created

Actual results:
there is a new dir

Expected results:
there shouldnt be such a new dir

It should be possibe to achieve the current behaviour, mainly for debugging purposes, via REX settings.

Additional info:

Actions #1

Updated by Anonymous over 5 years ago

  • Subject changed from Clean-up the remote_execution_{local,remote}_dir by defualt to Clean-up the remote_execution_{local,remote}_dir by defualt
  • Status changed from New to Assigned
Actions #2

Updated by The Foreman Bot over 5 years ago

  • Status changed from Assigned to Ready For Testing
  • Assignee set to Anonymous
  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/338 added
Actions #3

Updated by Anonymous over 5 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF