Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disk cleanup of qcow2.xz files on macOS #14697

Closed
benoitf opened this issue Jun 22, 2022 · 1 comment · Fixed by #14900
Closed

disk cleanup of qcow2.xz files on macOS #14697

benoitf opened this issue Jun 22, 2022 · 1 comment · Fixed by #14900
Assignees
Labels
Good First Issue This issue would be a good issue for a first time contributor to undertake. kind/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. machine

Comments

@benoitf
Copy link
Contributor

benoitf commented Jun 22, 2022

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)

/kind feature

Description

I'm creating/stopping/deleting/ podman machines quite often.
But then I noticed that in the folder

$HOME/.local/share/containers/podman/machine/qemu/

I've several files

654M Jun  9 09:34 fedora-coreos-36.20220511.dev.0-qemu.x86_64.qcow2.xz
677M Jun 17 11:23 fedora-coreos-36.20220605.2.0-qemu.x86_64.qcow2.xz
626M Jun 22 11:43 fedora-coreos-36.20220618.2.0-qemu.x86_64.qcow2.xz

I would expect that when podman is downloading a new .xz file, it cleans up the previous files as this folder is continuously growing

Steps to reproduce the issue:

  1. create machines for one week and then you'll notice many files have been downloaded

Describe the results you received:
many .xz files taking disk storage

Describe the results you expected:
only latest .xz should be kept

Additional information you deem important (e.g. issue happens only occasionally):

Output of podman version:

podman version 4.1.1

Output of podman info --debug:

(paste your output here)

Package info (e.g. output of rpm -q podman or apt list podman):

(paste your output here)

Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)

Yes/No

Additional environment details (AWS, VirtualBox, physical, etc.):

@openshift-ci openshift-ci bot added the kind/feature Categorizes issue or PR as related to a new feature. label Jun 22, 2022
@Luap99 Luap99 added the machine label Jun 22, 2022
@baude
Copy link
Member

baude commented Jun 22, 2022

good idea @benoitf

@baude baude added the Good First Issue This issue would be a good issue for a first time contributor to undertake. label Jun 22, 2022
@ashley-cui ashley-cui self-assigned this Jun 30, 2022
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 20, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Good First Issue This issue would be a good issue for a first time contributor to undertake. kind/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. machine
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants