containers / podman

Podman: A tool for managing OCI containers and pods.
https://podman.io
Apache License 2.0
23.27k stars 2.37k forks source link

WARN[0000] Error validating CNI config file(s) #20213

Closed thefonso closed 12 months ago

thefonso commented 1 year ago

Issue Description

Describe your issue

When I run... podman-compose -p penpot -f docker-compose.yaml up -d ...I am greeted with the following output...

Steps to reproduce the issue

Steps to reproduce the issue

  1. podman-compose -p penpot -f docker-compose.yaml up -d

Describe the results you received

Describe the results you received

podman-compose version: 1.0.6 [‘podman’, ‘–version’, ‘’] using podman version: 3.4.4 ** excluding: set() [‘podman’, ‘ps’, ‘–filter’, ‘label=io.podman.compose.project=penpot’, ‘-a’, ‘–format’, ‘{{ index .Labels “io.podman.compose.config-hash”}}’] WARN[0000] Error validating CNI config file /home/unclefonso/.config/cni/net.d/penpot.conflist: [plugin bridge does not support config version “1.0.0” plugin portmap does not support config version “1.0.0” plugin firewall does not support config version “1.0.0” plugin tuning does not support config version “1.0.0”] [‘podman’, ‘network’, ‘exists’, ‘penpot_penpot’] WARN[0000] Error validating CNI config file /home/unclefonso/.config/cni/net.d/penpot.conflist: [plugin bridge does not support config version “1.0.0” plugin portmap does not support config version “1.0.0” plugin firewall does not support config version “1.0.0” plugin tuning does not support config version “1.0.0”] podman run --name=penpot_penpot-exporter_1 -d --label io.podman.compose.config-hash=87c50c428bb9ce353f1b26ad58e829ec3317dc50d90cb734d8cdab1b621e0010 --label io.podman.compose.project=penpot --label io.podman.compose.version=1.0.6 --label PODMAN_SYSTEMD_UNIT=podman-compose@penpot.service --label com.docker.compose.project=penpot --label com.docker.compose.project.working_dir=/home/unclefonso/myapps/penpot/docker/images --label com.docker.compose.project.config_files=docker-compose.yaml --label com.docker.compose.container-number=1 --label com.docker.compose.service=penpot-exporter -e PENPOT_PUBLIC_URI=http://penpot-frontend -e PENPOT_REDIS_URI=redis://penpot-redis/0 --net penpot_penpot --network-alias penpot-exporter --restart always penpotapp/exporter:latest WARN[0000] Error validating CNI config file /home/unclefonso/.config/cni/net.d/penpot.conflist: [plugin bridge does not support config version “1.0.0” plugin portmap does not support config version “1.0.0” plugin firewall does not support config version “1.0.0” plugin tuning does not support config version “1.0.0”] Error: short-name “penpotapp/exporter:latest” did not resolve to an alias and no unqualified-search registries are defined in “/etc/containers/registries.conf” exit code: 125 podman start penpot_penpot-exporter_1 WARN[0000] Error validating CNI config file /home/unclefonso/.config/cni/net.d/penpot.conflist: [plugin bridge does not support config version “1.0.0” plugin portmap does not support config version “1.0.0” plugin firewall does not support config version “1.0.0” plugin tuning does not support config version “1.0.0”] Error: no container with name or ID “penpot_penpot-exporter_1” found: no such container exit code: 125 podman volume inspect penpot_penpot_postgres_v15 || podman volume create penpot_penpot_postgres_v15 [‘podman’, ‘volume’, ‘inspect’, ‘penpot_penpot_postgres_v15’]

Describe the results you expected

Describe the results you expected

No errors

podman info output

If you are unable to run podman info for any reason, please provide the podman version, operating system and its version and the architecture you are running.

Podman in a container

No

Privileged Or Rootless

None

Upstream Latest Release

Yes

Additional environment details

Additional environment details

podman version 4.6.2

Pop!-OS 22.04 (Ubuntu 22.04)

$ podman info --debug host: arch: amd64 buildahVersion: 1.31.2 cgroupControllers:

Additional information

Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting

Luap99 commented 12 months ago

Upstream did never create cni config files with version 1.0.0 set. This looks like a problem with your old 3.4.4 podman build in ubuntu: https://bugs.launchpad.net/ubuntu/+source/libpod/+bug/2024394

I suggest you delete the config and if you stick to 4.6.2 version then it should work.

thefonso commented 12 months ago

@Luap99 ah so you are saying just delete the files inside ~/.config/cni/ ??

Luap99 commented 12 months ago

yes

aheilmaier commented 9 months ago

delete of ~/.config/cni/ also worked for me with podman 5.0.0-dev