Image Garbage collection trying to delete images in use by stopped containers
Issue
- Images in use by containers are trying to be deleted.
29m 29m 1 kubelet, hostname.example.com Warning ImageGCFailed wanted to free 10924274483, but freed 12059717275 space with errors in image deletion: [rpc error: code = 2 desc = Error response from daemon: {"message":"conflict: unable to delete d574061869e0 (cannot be forced) - image has dependent child images"}, rpc error: code = 2 desc = Error response from daemon: {"message":"conflict: unable to delete 2d0ee6f5687f (must be forced) - image is being used by stopped container 91a615c98324"}, rpc error: code = 2 desc = Error response from daemon: {"message":"conflict: unable to delete 1bb006523da8 (cannot be forced) - image has dependent child images"}, rpc error: code = 2 desc = Error response from daemon: {"message":"conflict: unable to delete a302f24ea505 (must be forced) - image is being used by stopped container 8ff421bb2a28"}, rpc error: code = 2 desc = Error response from daemon: {"message":"conflict: unable to delete 9432fa0f5dd7 (must be forced) - image is being used by stopped container c215a882f305"}, rpc error: code = 2 desc = Error response from daemon: {"message":"conflict: unable to delete 323939c77094 (must be forced) - image is being used by stopped container f1405c234dac"}, rpc error: code = 2 desc = Error response from daemon: {"message":"conflict: unable to delete d58c2b65f4d5 (must be forced) - image is being used by stopped container 0aaec7ec9df2"}, rpc error: code = 2 desc = Error response from daemon: {"message":"conflict: unable to delete 2f4f16d88053 (cannot be forced) - image has dependent child images"}, rpc error: code = 2 desc = Error response from daemon: {"message":"conflict: unable to delete e2c0fc0f653a (cannot be forced) - image has dependent child images"}, rpc error: code = 2 desc = Error response from daemon: {"message":"conflict: unable to delete 428ba2c494e3 (must be forced) - image is being used by stopped container 88cdc1fc9686"}, rpc error: code = 2 desc = Error response from daemon: {"message":"conflict: unable to delete 126d2191e705 (must be forced) - image is being used by stopped container 9c2e292c1eea"}, rpc error: code = 2 desc = Error response from daemon: {"message":"conflict: unable to delete b6ac5e18f8fb (must be forced) - image is being used by stopped container a09246aa976a"}, rpc error: code = 2 desc = Error response from daemon: {"message":"conflict: unable to delete efa5dec035c6 (cannot be forced) - image has dependent child images"}, rpc error: code = 2 desc = Error response from daemon: {"message":"conflict: unable to delete 03e0ed030171 (cannot be forced) - image has dependent child images"}, rpc error: code = 2 desc = Error response from daemon: {"message":"conflict: unable to delete 1fc39aa8d772 (cannot be forced) - image has dependent child images"}, rpc error: code = 2 desc = Error response from daemon: {"message":"conflict: unable to delete 3eae83401792 (must be forced) - image is being used by stopped container 4dc89422458b"}]
Environment
- Openshift Container Platform 3.6 and above
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.