Skip to content

Conversation

@smartin015
Copy link

Not including the containernetworking-plugins package on Ubuntu Server 20.04 LTS gives the following error when building and running from source:

WARN[0001] Failed to load cached network config: network podman not found in CNI cache, falling back to loading network podman from disk 
WARN[0001] 1 error occurred:
        * plugin type="tuning" failed (delete): failed to find plugin "tuning" in path [/usr/local/libexec/cni /usr/libexec/cni /usr/local/lib/cni /usr/lib/cni /opt/cni/bin]
 
Error: plugin type="bridge" failed (add): failed to find plugin "bridge" in path [/usr/local/libexec/cni /usr/libexec/cni /usr/local/lib/cni /usr/lib/cni /opt/cni/bin]

After sudo apt -y install containernetworking-plugins, this message goes away and I can sucessfully start a container.

Not including the containernetworking-plugins package on Ubuntu Server 20.04 LTS gives the following error when building and running from source:

```
WARN[0001] Failed to load cached network config: network podman not found in CNI cache, falling back to loading network podman from disk 
WARN[0001] 1 error occurred:
        * plugin type="tuning" failed (delete): failed to find plugin "tuning" in path [/usr/local/libexec/cni /usr/libexec/cni /usr/local/lib/cni /usr/lib/cni /opt/cni/bin]
 
Error: plugin type="bridge" failed (add): failed to find plugin "bridge" 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 25, 2023

For newer podman versions we should use netavark and aardvark-dns and only fall back to cni if that is not installed.
So I think it would make more sense to list those over the cni plugins.

@TomSweeneyRedHat
Copy link
Member

@smartin015 thanks for the PR. @lsm5 just updated this same document pretty significantly. I'm not sure you got his changes or not. Lokesh, thoughts?

I concur with @Luap99 , we're moving away from CNI, we should talk about netavark/aardvark-dns unless we're talking about old versions of the code (Podman 3.* and below)

@lsm5
Copy link
Member

lsm5 commented Aug 25, 2023

hmm, do we even have nv / av on 20.04 LTS? https://launchpad.net/ubuntu/+source/netavark

Maybe we'll need separate sections for nv/av and cni ?

@lsm5
Copy link
Member

lsm5 commented Aug 29, 2023

@smartin015 could you please revise your PR to add a separate section for ubuntu 20.04 below the current ubuntu section? We would prefer not to mention cni unless required. Thanks.

@lsm5
Copy link
Member

lsm5 commented Aug 29, 2023

@smartin015 also, please sign your commit to get the DCO task successful. See: https://github.com/containers/podman.io/pull/201/checks?check_run_id=16176897846

lsm5 added a commit to lsm5/podman.io that referenced this pull request Sep 8, 2023
Continuing PR containers#201 from Scott Martin <smartin015@gmail.com>

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
@lsm5
Copy link
Member

lsm5 commented Sep 8, 2023

closing this in favour of #206.

@lsm5 lsm5 closed this Sep 8, 2023
lsm5 added a commit to lsm5/podman.io that referenced this pull request Sep 8, 2023
Continuing PR containers#201.

From: Scott Martin <smartin015@gmail.com>
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
lsm5 added a commit to lsm5/podman.io that referenced this pull request Sep 8, 2023
Continuing PR containers#201.

From: Scott Martin <smartin015@gmail.com>
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants