[Bug]: error removing container when no free space is left on filesystem #17198
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Issue Description
When
/var/lib/containers
is located on an XFS filesystem, it is impossible to remove container when no free space is left on that filesystem. Moreover,podman
ends up in a bad state where the container is no longer visible in the summary but the container's storage is left behind.This situation could, for example, be caused by a container that has exhausted its storage - it becomes impossible to remove such container.
In my reproduction the
/var/lib/containers
resides onXFS
filesystem. I have not been able to reproduce this issue withext4
.Steps to reproduce the issue
Steps to reproduce the issue
/var/lib/containers
on an XFS filesystem, set the necessary SELinux attributespodman container ls -a
list, however the disk for/var/lib/containers
is still full which means that the container's storage was left behind:Describe the results you received
Error message when deleting a container, container gone from the list of containers while container storage is left behind.
Describe the results you expected
Container successfully removed.
podman info output
Podman in a container
No
Privileged Or Rootless
Privileged
Upstream Latest Release
Yes
Additional environment details
No response
Additional information
I have been able to reproduce the issue with
XFS
filesystem, but not withext4
filesystem.The text was updated successfully, but these errors were encountered: