podman rmi error 'image not known' even if the image is present on host #25997
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-info
Need info from reporter
triaged
Issue has been triaged
Issue Description
The image is being pulled, having 'pull failure' due to timeout. This may be due to multiple reasons primarily image being large and slow network.
The image is actually pulled and present on the host. However, when immediately tried to remove using 'podman rmi' command, below error is sent in the response:
"image not known".
When I checked the documentation, I found that the image written to the disk in two steps with hard lock acquired, where processes like rmi needs to gain the lock to remove the image otherwise it throws 'image not known' error.
Steps to reproduce the issue
Steps to reproduce the issue
This has to be done via some script to make it happen as quick as possible to reproduce the issue.
Describe the results you received
The result of 'podman rmi' was 'image not known' and image was actually present on the host.
Describe the results you expected
The expected result was removal of image successfully.
podman info output
If you are unable to run podman info for any reason, please provide the podman version, operating system and its version and the architecture you are running.
Podman in a container
Yes
Privileged Or Rootless
Privileged
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered: