Interrupting a podman pod rm -f PODNAME corrupts pod/container database #15629
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? (leave only one on its own line)
/kind bug
Description
Interrupting a
podman pod rm -f PODNAME
(e.g. with CTRL+C) leaves containers and pod in an inconsistent state.Containers can be removed, but trying to remove the pod itself fails:
Probably similar root cause as #15526?
Steps to reproduce the issue:
Create any pod (ours had about ten containers).
Interrupt a
podman pod rm -f PODNAME
using CTRL+C.Describe the results you received:
Chances are that you now have an un-removable pod.
Describe the results you expected:
Pod and containers are removed successfully.
Additional information you deem important (e.g. issue happens only occasionally):
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)
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
local machine w/o any virtualization
The text was updated successfully, but these errors were encountered: