Wind River Support Network

HomeDefectsLINCD-9160
Fixed

LINCD-9160 : nerdctl: WARN reported when create nerdctl network

Created: May 6, 2022    Updated: Jul 3, 2022
Resolved Date: Jun 5, 2022
Found In Version: 10.22.21.0
Fix Version: 10.22.24.0
Severity: Standard
Applicable for: Wind River Linux CD
Component/s: Userspace

Description

~# nerdctl network create n1
WARN[0000] Failed to detect whether "/opt/cni/bin/firewall" is newer than v1.1.0 error="failed to guess the version of \"/opt/cni/bin/firewall\": failed to parse \"version unknown\" (line 1 of stderr=\"CNI firewall plugin version unknown\\n\") as a semver: Invalid Semantic Version"
WARN[0000] To isolate bridge networks, CNI plugin "firewall" (>= 1.1.0), or CNI plugin "isolation" (deprecated) needs to be installed in CNI_PATH ("/opt/cni/bin"), see https://github.com/containernetworking/plugins
1
~# nerdctl network ls
NETWORK ID NAME FILE
0 bridge
1 n1 /etc/cni/net.d/nerdctl-n1.conflist
host
none

Steps to Reproduce

1) setup.sh
--machine intel-x86-64 --dl-layers --distro wrlinux --templates feature/nerdctl --dl-layers

2). ./environment-setup-x86_64-wrlinuxsdk-linux
  . ./oe-init-build-env build_test
  
3) bitbake wrlinux-image-std

4) boot the target and run commands per problem description
Live chat
Online