Bug 1710619 - foreman-debug -a emits 2 warnings: Is a directory
Summary: foreman-debug -a emits 2 warnings: Is a directory
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Foreman Debug
Version: 6.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: 6.6.0
Assignee: Lukas Zapletal
QA Contact: Lucie Vrtelova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-15 21:06 UTC by Jan Hutař
Modified: 2019-11-15 19:50 UTC (History)
1 user (show)

Fixed In Version: foreman-1.22.0.1-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-22 19:47:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 26804 0 'Normal' 'Closed' 'foreman-debug -a emits 2 warnings: Is a directory' 2019-11-15 19:45:32 UTC

Description Jan Hutař 2019-05-15 21:06:49 UTC
Description of problem:
`foreman-debug -a` emits 2 warnings when it is running: "/usr/sbin/foreman-debug: line 72: /var/tmp/foreman-debug-2Vruv/: Is a directory"


Version-Release number of selected component (if applicable):
foreman-debug-1.22.0-0.5.RC1.el7sat.noarch
satellite-6.6.0-4.beta.el7sat.noarch


How reproducible:
always


Steps to Reproduce:
1. # foreman-debug -a


Actual results:
[root@satellite ~]# foreman-debug -a
Processing... (takes a while)
/usr/sbin/foreman-debug: line 72: /var/tmp/foreman-debug-2Vruv/: Is a directory
/usr/sbin/foreman-debug: line 73: /var/tmp/foreman-debug-2Vruv/: Is a directory


 HOSTNAME: satellite.nodhcp.local
       OS: redhat
  RELEASE: Red Hat Enterprise Linux Server release 7.6 (Maipo)
  FOREMAN: 1.22.0-RC1
     RUBY: ruby 2.0.0p648 (2015-12-16) [x86_64-linux]
   PUPPET: 5.5.12
  DENIALS: 0


A debug directory has been created: /var/tmp/foreman-debug-2Vruv

To upload a tarball to our secure site, please use the -u option.


Expected results:
These two warnings should not be there


Additional info:
It seems OK on 6.4 (have not checked on 6.5), so this is a regression

Comment 3 Lukas Zapletal 2019-05-16 12:04:11 UTC
Created redmine issue https://projects.theforeman.org/issues/26804 from this bug

Comment 4 Bryan Kearney 2019-05-16 16:03:04 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/26804 has been resolved.

Comment 6 Bryan Kearney 2019-10-22 19:47:36 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, 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-2019:3172


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