Skip to content
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

Fix: Deleting multiple networks stops at first delete fail #1592

Closed
wants to merge 1 commit into from

Conversation

yzxiu
Copy link
Contributor

@yzxiu yzxiu commented Dec 2, 2022

fixing #1587

 ~ nerdctl network create deleteme --gateway 10.10.11.1 --subnet 10.10.11.0/24
f9d6cec6deabf54691804bb7c1bf02ad7f461ab07f31a18398495b9de1cabf28

 ~ nerdctl network ls                                                         
NETWORK ID      NAME               FILE
                k8s-pod-network    /etc/cni/net.d/10-calico.conflist
17f29b073143    bridge             /etc/cni/net.d/nerdctl-bridge.conflist
f9d6cec6deab    deleteme           /etc/cni/net.d/nerdctl-deleteme.conflist
                host               
                none

 ~ nerdctl network rm host k8s-pod-network test deleteme
Error: pseudo network "host" cannot be removed
Error: k8s-pod-network is managed outside nerdctl and cannot be removed
Error: No such network: test
deleteme

Signed-off-by: yaozhenxiu 946666800@qq.com

Signed-off-by: yaozhenxiu <946666800@qq.com>
@fahedouch
Copy link
Member

@yzxiu do you need some help ?

@yzxiu
Copy link
Contributor Author

yzxiu commented Dec 7, 2022

@fahedouch thanks, I thought the issue would be fixed here #1581, but it doesn't seem to be.
I seem to have found some bugs, I will submit them.

@yzxiu
Copy link
Contributor Author

yzxiu commented Dec 7, 2022

I don't know how to reopen the pr...
new pr #1618

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants