Skip to content

[cifmw_helpers] Remove tempfile after including file in cifmw_helpers#3646

Merged
danpawlik merged 1 commit into
openstack-k8s-operators:mainfrom
danpawlik:remove-temp-dir
Feb 2, 2026
Merged

[cifmw_helpers] Remove tempfile after including file in cifmw_helpers#3646
danpawlik merged 1 commit into
openstack-k8s-operators:mainfrom
danpawlik:remove-temp-dir

Conversation

@danpawlik

Copy link
Copy Markdown
Contributor

There is a bug, that when include_file is used, it creates a temporary directory, but after all is done, it is not removed, because temporary dir was done using delegation, and removing without it. By adding delegation, the temporary dir which is created also on delegated host, should be available and can be removed.

@openshift-ci

openshift-ci Bot commented Jan 30, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign valkyrie00 for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@danpawlik danpawlik requested review from a team and karelyatin January 30, 2026 14:08
There is a bug, that when include_file is used, it creates a
temporary directory, but after all is done, it is not removed,
because temporary dir was done using delegation, and removing without
it. By adding delegation, the temporary dir which is created also on
delegated host, should be available and can be removed.

Signed-off-by: Daniel Pawlik <dpawlik@redhat.com>
@danpawlik danpawlik changed the title Remove tempfile after including file in cifmw_helpers [cifmw_helpers] Remove tempfile after including file in cifmw_helpers Jan 30, 2026
@danpawlik danpawlik requested a review from a team February 2, 2026 07:26
@danpawlik danpawlik merged commit 9bb8a76 into openstack-k8s-operators:main Feb 2, 2026
9 checks passed
@danpawlik danpawlik deleted the remove-temp-dir branch February 2, 2026 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants