Bug 2216209

Summary: /tmp isn't properly cleaned after image conversion due to amp_tmp_dir variable being overriden by subsequente declaration
Product: Red Hat OpenStack Reporter: David Hill <dhill>
Component: tripleo-ansibleAssignee: Brent Eagles <beagles>
Status: NEW --- QA Contact: Joe H. Rahme <jhakimra>
Severity: low Docs Contact:
Priority: low    
Version: 16.2 (Train)CC: averdagu, beagles, gthiemon, ssiddiqui, tkajinam
Target Milestone: zstreamKeywords: Triaged
Target Release: ---Flags: ifrangs: needinfo? (beagles)
Hardware: x86_64   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.