Bug 1937695

Summary: ironic image "/" cluttered with files
Product: OpenShift Container Platform Reporter: Derek Higgins <derekh>
Component: Bare Metal Hardware ProvisioningAssignee: Derek Higgins <derekh>
Bare Metal Hardware Provisioning sub component: ironic QA Contact: Lubov <lshilin>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium CC: augol, lshilin
Version: 4.7Keywords: Triaged
Target Milestone: ---   
Target Release: 4.7.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 1937693 Environment:
Last Closed: 2021-03-30 04:46:37 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:
Bug Depends On: 1937693    
Bug Blocks:    

Description Derek Higgins 2021-03-11 11:08:33 UTC
+++ This bug was initially created as a clone of Bug #1937693 +++

Description of problem:

The ironic-image root file system is cluttered in files left over from the build system. 

[root@f7fc12b308ad /]# ls -d /tmp* 
/tmp                 /tmpDockerfile                                              /tmpadditional-tags       /tmpcvp-owners.yml      /tmpinspector.ipxe                                /tmpprepare-image.sh  /tmprunironic-conductor.sh
/tmp.git             /tmpDockerfile-openshift-ose-ironic-v4.7.0-202103101156.p0  /tmpatomic-reactor-repos  /tmpdnsmasq.conf.j2     /tmpironic-common.sh                              /tmpprepare-ipxe.sh   /tmprunironic-exporter.sh
/tmp.oit             /tmpLICENSE                                                 /tmpconfigure-ironic.sh   /tmpdualboot.ipxe       /tmpironic-container-v4.7.0-202103101156.p0.json  /tmprundnsmasq.sh     /tmprunironic.sh
/tmpCONTRIBUTING.md  /tmpOWNERS                                                  /tmpcontainer.yaml        /tmphttpd-modules.conf  /tmpironic.conf.j2                                /tmprunhttpd.sh       /tmprunlogwatch.sh
/tmpDCO              /tmpREADME.md                                               /tmpcontent_sets.yml      /tmphttpd.conf          /tmpmain-packages-list.txt                        /tmprunironic-api.sh  /tmprunmariadb.sh

--- Additional comment from Derek Higgins on 2021-03-11 11:07:17 GMT ---

Fixed on Master, I will be proposing a backport to 4.7

Comment 4 Lubov 2021-03-22 15:15:46 UTC
verified on 4.7.0-0.nightly-2021-03-22-025559

[root@master-0-1 /]# ls -d /tmp*
/tmp

Comment 6 errata-xmlrpc 2021-03-30 04:46:37 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: OpenShift Container Platform 4.7.4 security update), 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:0957