-
Notifications
You must be signed in to change notification settings - Fork 55
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
Tearing down networks should allow an empty netns #64
Comments
@mccv1r0 can you take a look at this? |
Using ocicnitool, things behave as expected: Setting up:
Namespace looks right:
CNI IPAM has 10.21.1.14 as expected:
Teardown:
CNI does IPAM cleanup:
The NetNS wasn't touched by CNI as expected |
We are doing this on the Podman side, and I haven't heard any bug reports on it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If the runtime knows that the network namespace doesn't exist (e.g. because the node has rebooted), it should pass an empty or otherwise invalid netns.
ocicni should accept an empty netns on delete.
This was noticed in cri-o/cri-o#2849
The text was updated successfully, but these errors were encountered: