'podman pod ps' fails with 'no such pod' #14736
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.
/kind bug
Description
listing pods while pods are deleted causes 'pod ps' to fail with exit code 125 and message 'no such pod'
This is much like #12034. However, it seems that in the other bug there was a focus on the deletion and not the 'pod ps' command.
Steps to reproduce the issue:
create 10 pods
delete 10 pods
during deletion do 'podman pod ps'
Describe the results you received:
[ydayagi@fedora ~]$ sudo podman pod ps
Error: pod ea52fce12a3ce0c345aec62737c6e7819c2ced233cf822434706eca4db81c5c9 not found in database: no such pod
Describe the results you expected:
[ydayagi@fedora ~]$ sudo podman pod ps
POD ID NAME STATUS CREATED INFRA ID # OF CONTAINERS
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
: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)
Checked troubleshooting. Did not test latest version.
Additional environment details (AWS, VirtualBox, physical, etc.):
VM with fedora 35
The text was updated successfully, but these errors were encountered: