Skip to content

nerdctl system prune --all doesn't work without "firewall" plugin #1310

@nakamorichi

Description

@nakamorichi

Description

Not exactly sure if this is a bug, but I tried running nerdctl system prune --all in k3s, and got following error:

FATA[0000] needs CNI plugin "firewall" to be installed in CNI_PATH ("/var/lib/rancher/k3s/data/current/bin"), see https://github.com/containernetworking/plugins/releases: exec: "/var/lib/rancher/k3s/data/current/bin/firewall": stat /var/lib/rancher/k3s/data/current/bin/firewall: no such file or directory

nerdctl version output:

WARN[0000] unable to determine buildctl version: exec: "buildctl": executable file not found in $PATH
WARN[0000] unable to determine runc version: exec: "runc": executable file not found in $PATH
Client:
 Version:	v0.22.2
 OS/Arch:	linux/amd64
 Git commit:	2899222cb0715f1e5ffe356d10c3439ee8ee3ba4
 builctl:
  Version:

Server:
 containerd:
  Version:	v1.6.6-k3s1
  GitCommit:
 runc:
  Version:

Steps to reproduce the issue

run nerdctl system prune --all in k3s setup.

Describe the results you received and expected

nerdctl system prune --all should complete without errors.

What version of nerdctl are you using?

v0.22.2

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

No response

Host information

Client:
Namespace: k8s.io
Debug Mode: false

Server:
Server Version: v1.6.6-k3s1
Storage Driver: stargz
Logging Driver: json-file
Cgroup Driver: systemd
Cgroup Version: 2
Plugins:
Log: fluentd journald json-file
Storage: stargz
Security Options:
apparmor
seccomp
Profile: default
cgroupns
Kernel Version: 5.8.0-33-generic
Operating System: Ubuntu 20.04 LTS
OSType: linux
Architecture: x86_64
CPUs: 16
Total Memory: 31.26GiB
Name: my-cluster
ID: b7ee670e-fe5e-442d-aeeb-3906bc4c1016

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions