Bug 2216209 - /tmp isn't properly cleaned after image conversion due to amp_tmp_dir variable being overriden by subsequente declaration [NEEDINFO]
Summary: /tmp isn't properly cleaned after image conversion due to amp_tmp_dir variabl...
Keywords:
Status: NEW
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: tripleo-ansible
Version: 16.2 (Train)
Hardware: x86_64
OS: All
low
low
Target Milestone: zstream
: ---
Assignee: Brent Eagles
QA Contact: Joe H. Rahme
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-20 13:58 UTC by David Hill
Modified: 2023-08-08 17:14 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:
ifrangs: needinfo? (beagles)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 886495 0 None NEW Avoid duplicate temporary director creation 2023-06-20 13:58:30 UTC
Red Hat Issue Tracker OSP-25905 0 None None None 2023-06-20 14:01:35 UTC

Description David Hill 2023-06-20 13:58:11 UTC
Description of problem:
/tmp isn't properly cleaned after image conversion due to amp_tmp_dir variable being overriden by subsequente declaration.  The following patch might be enough to fix all of those issues.   Worse case, we create a tmp folder uselessly but delete it at the end.

https://review.opendev.org/c/openstack/tripleo-ansible/+/886495

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Brent Eagles 2023-07-04 12:24:47 UTC
Nice catch and thanks for the patch.


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