-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dangling file in /var/lib/cni/networks/podman after hard restart #5433
Comments
I'll take this one. |
@Schrottfresse Any chance you can test #5434 and see if this resolves it? |
@mheon I will try to do it the next days. |
We previously attempted to work within CNI to do this, without success. So let's do it manually, instead. We know where the files should live, so we can remove them ourselves instead. This solves issues around sudden reboots where containers do not have time to fully tear themselves down, and leave IP address allocations which, for various reasons, are not stored in tmpfs and persist through reboot. Fixes containers#5433 Signed-off-by: Matthew Heon <[email protected]>
I have the same issue on the centos 8, podman version 1.9.1. Do I need to apply any setting to activate the #5434 ? Thank you Output of
Output of
Package info (e.g. output of
Additional environment details (AWS, VirtualBox, physical, etc.): |
For more detail, there are 4 running containers with dedicated IP settings (10.88.0.2, 10.88.0.3, 10.88.0.4, 10.88.0.5) in my centos 8. After reboots (I use
|
Can you provide the names of the files? Do they prevent you from starting the containers which use those IPs? |
We previously attempted to work within CNI to do this, without success. So let's do it manually, instead. We know where the files should live, so we can remove them ourselves instead. This solves issues around sudden reboots where containers do not have time to fully tear themselves down, and leave IP address allocations which, for various reasons, are not stored in tmpfs and persist through reboot. Fixes containers#5433 Signed-off-by: Matthew Heon <[email protected]>
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
My server restarts hard occasionally (as in I have a brownout because my fuse triggers). When this happens I have the same dangling files reported here and here. Podman has no possibility to clean up.
Steps to reproduce the issue:
Describe the results you received:
Dangling files still in
/var/lib/cni/networks/podman
.Describe the results you expected:
Cleaned up filesystem, no dangling files in
/var/lib/cni/networks/podman
.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
):Additional environment details (AWS, VirtualBox, physical, etc.):
physical server
The text was updated successfully, but these errors were encountered: