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

Error validating CNI config file #19463

Closed
mluhmann opened this issue Aug 1, 2023 · 1 comment
Closed

Error validating CNI config file #19463

mluhmann opened this issue Aug 1, 2023 · 1 comment
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@mluhmann
Copy link

mluhmann commented Aug 1, 2023

I am relating to the following issue:
#13396

I am not able to install any CNI related packages on my system, but all the comments are miss-leading and do not solving the real issue. It looks like Podman is still searching for these config files even if netavark is used. In my opinion that shouldn't be the case and the warnings are quite annoying.

WARN[0000] Error validating CNI config file /etc/cni/net.d/deps_default.conflist: [failed to find plugin "bridge" in path [/usr/local/libexec/cni /usr/libexec/cni /usr/local/lib/cni /usr/lib/cni /opt/cni/bin] failed to find plugin "portmap" in path [/usr/local/libexec/cni /usr/libexec/cni /usr/local/lib/cni /usr/lib/cni /opt/cni/bin] failed to find plugin "firewall" in path [/usr/local/libexec/cni /usr/libexec/cni /usr/local/lib/cni /usr/lib/cni /opt/cni/bin] failed to find plugin "tuning" in path [/usr/local/libexec/cni /usr/libexec/cni /usr/local/lib/cni /usr/lib/cni /opt/cni/bin]]

@Luap99
Copy link
Member

Luap99 commented Aug 1, 2023

Please provide the information as requested in the bug template.

In general this means your system is not configured correctly. You used podman before which means we keep using CNI to avoid breaking configs. If you then remove the cni plugins then of course it will not work.
podman info --format {{.Host.NetworkBackend}} will tell you what backend is used and it will likely show you CNI in that case.

If you want to migrate to netavark you should run podman system reset to start from a clean state.

@Luap99 Luap99 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 1, 2023
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Oct 31, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

No branches or pull requests

2 participants