Cannot remove pod after force remove of container within it #15847
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.
Is this a BUG REPORT or FEATURE REQUEST?
/kind bug
Description
Steps to reproduce the issue:
create pod with container in it (used podman play kube if that matters)
force remove (running) container using podman rm -f
trying to remove pod fails with lock reference to container (even with force)
Describe the results you received:
podman pod ls
POD ID NAME STATUS CREATED INFRA ID # OF CONTAINERS
f8e764f124fe plex-pod Error About an hour ago 841096105af8 1
podman pod rm f8e764f124fe
Error: error freeing lock for container 841096105af849c53471e81e2de84dc1e07694683412bdad4e831d2128561980: no such file or directory
podman pod rm -f f8e764f124fe
Error: error freeing lock for container 841096105af849c53471e81e2de84dc1e07694683412bdad4e831d2128561980: no such file or directory
Describe the results you expected:
Expected pod removal, especially with
-f
, even if the container in it has been forcefully removed.Additional information you deem important (e.g. issue happens only occasionally):
Not much experience using podman pods but could not find any similar bug report.
Output of
podman version
:Output of
podman info
:Package info (e.g. output of
rpm -q podman
orapt list podman
):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)
Latest stable available on my distro.
Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: