crunw icon indicating copy to clipboard operation
crunw copied to clipboard

Install issue

Open chenyukang opened this issue 4 years ago • 2 comments

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 avatar Sep 18 '21 05:09 chenyukang

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?

chenyukang avatar Sep 18 '21 05:09 chenyukang

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.

hydai avatar Oct 01 '21 04:10 hydai