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

Deleting multiple networks stops at first delete fail #1587

Closed
Mihai22125 opened this issue Dec 1, 2022 · 1 comment
Closed

Deleting multiple networks stops at first delete fail #1587

Mihai22125 opened this issue Dec 1, 2022 · 1 comment
Labels
area/network bug Something isn't working good first issue Good for newcomers

Comments

@Mihai22125
Copy link
Contributor

Description

nerdctl network rm NETWORK [NETWORK...] stops executing at first network delete fail and prints the error message instead of trying to delete all networks from the list.

Steps to reproduce the issue

  1. nerdctl network create deleteme --gateway 10.10.11.1 --subnet 10.10.11.0/24
  2. nerdctl network ls
root@6518fb9254d2:/home/containerd/nerdctl# _output/nerdctl network ls
NETWORK ID      NAME        FILE
17f29b073143    bridge      /etc/cni/net.d/nerdctl-bridge.conflist
f9d6cec6deab    deleteme    /etc/cni/net.d/nerdctl-deleteme.conflist
                host        
                none  
  1. nerdctl network rm test deleteme
FATA[0000] no such network test 

Describe the results you received and expected

Result received:

  • error message from deleting the first network from the list

Result expected:

  • error message from deleting the first network from the list
  • output of deleting the second network from the list

What version of nerdctl are you using?

v1.0.0

Are you using a variant of nerdctl? (e.g., Rancher Desktop)

No response

Host information

No response

@fahedouch
Copy link
Member

closed by #1618 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/network bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants