[Bug 1197490] Kubic 20220322 fails to set up CNI with weave
https://bugzilla.suse.com/show_bug.cgi?id=1197490 https://bugzilla.suse.com/show_bug.cgi?id=1197490#c29 Fabian Vogt <fvogt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(rombert@apache.or | |g) --- Comment #29 from Fabian Vogt <fvogt@suse.com> --- (In reply to Robert Munteanu from comment #28)
(In reply to Fabian Vogt from comment #27)
openQA agrees that weave is fixed: https://openqa.opensuse.org/tests/2282201#step/kubead
Something is still wrong with my Kubic cluster. I upgraded the control plane + workers to 20220405 , and the pods still fail to create. This time the message is
Warning FailedCreatePodSandBox 16m kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed to create pod network sandbox k8s_promtail-sfljk_lmn-system_4828843e-a491-4ee6-bce5- 6a256f2c65cb_0(c14e6bd431ff06ab322887c4b7b17e7cc9c0ea5d39e16a56ee3e5192422511 93): error adding pod lmn-system_promtail-sfljk to CNI network "weave": plugin type="portmap" failed (add): failed to parse config: could not parse prevResult: could not parse prevResult: result type supports [0.3.0 0.3.1 0.4.0] but unmarshalled CNIVersion is "0.1.0"
I am not sure where that is coming from; /etc/cni/net.d/10-weave.conflist looks ok in terms of versions:
{ "cniVersion": "0.3.0", "name": "weave", "plugins": [ { "name": "weave", "type": "weave-net", "hairpinMode": true }, { "type": "portmap", "capabilities": {"portMappings": true}, "snat": true } ] }
I checked and the image that I have locally seems fine:
$ crictl pull registry.opensuse.org/kubic/weave-kube:2.8.1 Image is up to date for registry.opensuse.org/kubic/weave-kube@sha256: 61b541bb0b05ddf8f58e73fb5e53b6a9a44b6c26bda5edc3719f8445f1acb7e0
Do you have any idea about what is going wrong here?
That looks like the used CNI plugin is still the old broken one. Did the weave-init container run and replace it? -- You are receiving this mail because: You are the assignee for the bug.
participants (1)
-
bugzilla_noreply@suse.com