Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Install issue #2

Open
chenyukang opened this issue Sep 18, 2021 · 2 comments
Open

Install issue #2

chenyukang opened this issue Sep 18, 2021 · 2 comments

Comments

@chenyukang
Copy link
Member

Follow the doc, when run command line:
sudo crictl runp sandbox_config.json

There will be an error:

FATA[0000] run pod sandbox: rpc error: code = Unknown desc = cri-o configured with cgroupfs cgroup manager, but received systemd slice as parent: pod_123-456.slice
@chenyukang
Copy link
Member Author

Remove the cgroup part in json file, repeat the command will get

FATA[0000] run pod sandbox: rpc error: code = Unknown desc = failed to create pod network sandbox k8s_podsandbox12_redhat.test.crio_redhat-test-crio_1(79a41fceaddb4f0471e971b9b19eaaa49c1f9db7fb5d98e859eefa4be9299e8a): No CNI configuration file in /etc/cni/net.d/. Has your network provider started?

I guess this is because I didn't install containernetworking-plugins.

containernetworking-plugins is a set of configurations, what we need config with this repo?

@hydai
Copy link
Member

hydai commented Oct 1, 2021

Hi @chenyukang
Just install the containernetworking-plugins with apt install containernetworking-plugins.
You don't need to specify the configurations. The default behaviour will take the first configuration file in the set of configurations.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants