Wind River Support Network

HomeDefectsLINCD-7271
Fixed

LINCD-7271 : [nodistro] podman run failed in nodistro image

Created: Nov 5, 2021    Updated: Nov 29, 2021
Resolved Date: Nov 28, 2021
Found In Version: 10.21.45.0
Fix Version: 10.21.48.0
Severity: Standard
Applicable for: Wind River Linux CD
Component/s: Userspace

Description

1, setup.sh --machine intel-x86-64 --dl-layers --distro nodistro --templates feature/podman
2, . ./environment-setup-x86_64-wrlinuxsdk-linux  && . ./oe-init-build-env build
3, vim conf/local.conf
LICENSE_FLAGS_WHITELIST += " commercial_windriver"
4, bitbake core-image-base
5, boot the target
# podman run -dt --name hello-podman -p 9998:80 pek-lpdfs01:5000/hello-podman:latest
Trying to pull pek-lpdfs01:5000/hello-podman:latest...
Getting image source signatures
Copying blob sha256:a17e64cfe253e4f55c326740c8fffd1812a09257d96be959a5db2ecf8624c63f
Copying blob sha256:dd216fb866ab77d3c00319e8afe01669f25ab75f99d1e292aff134aaaed8f48e
Copying blob sha256:e1288088c7a8274e84793b282640a49a8b90b8b364ea5d593887ff43ecaff0e0
Copying blob sha256:1ab2bdfe97783562315f98f94c0769b1897a05f7b0395ca1520ebee08666703b
Copying blob sha256:dd216fb866ab77d3c00319e8afe01669f25ab75f99d1e292aff134aaaed8f48e
Copying config sha256:0996fd7680d8dbff663dcb3e387e8e2b330db0fb347fefc70ae545ef6128f3d1
Writing manifest to image destination
Storing signatures
time="2021-11-05T06:26:24Z" level=error msg="error loading cached network config: network \"podman\" not found in CNI cache"
time="2021-11-05T06:26:24Z" level=warning msg="falling back to loading from existing plugins on disk"
Error: error configuring network namespace for container 67e0efbf66dbcf6cfa4063ed1331c1773f0ddb9e2b3fbf7ad7ae47063e62f3ea: error adding pod hello-podman_hello-podman to CNI network "podman": failed to make veth pair: operation not supported

Workaround

N/A

Steps to Reproduce

1) setup.sh

/lpg-build/cdc/fast_prod/WRLINUX_MASTER_WR/MASTER_WR_GIT/wrlinux-10/setup.sh    --machine intel-x86-64 --dl-layers --distro nodistro --templates feature/LAMP feature/aws feature/gcc-sanitizers feature/gperftools feature/grpc feature/ipv6 feature/krb5 feature/lttng feature/mariadb feature/network-bond-libteam feature/nfsd feature/ntp feature/opencv feature/package-management feature/pam-faillock feature/podman feature/python-tkinter feature/sftp-server feature/snmp feature/software-entropy feature/stig feature/sysklogd feature/system-stats feature/target-toolchain feature/tcpslice feature/xfce --layers meta-filesystems meta-iot-cloud meta-security-compliance meta-virtualization --dl-layers

2). ./environment-setup-x86_64-wrlinuxsdk-linux

3). ./oe-init-build-env build_test

4) vim conf/local.conf
LICENSE_FLAGS_WHITELIST += " commercial_windriver"

5) bitbake core-image-base

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