Skip to content
This repository has been archived by the owner on Feb 10, 2022. It is now read-only.

missing cniVersion in Flannelconf #372

Closed
obeyler opened this issue Feb 22, 2020 · 0 comments
Closed

missing cniVersion in Flannelconf #372

obeyler opened this issue Feb 22, 2020 · 0 comments

Comments

@obeyler
Copy link
Contributor

obeyler commented Feb 22, 2020

cniVersion is missing in current flannel conf inside cfcr

see documentation of flannel
https://github.com/coreos/flannel/blob/960b3243b9a7faccdfe7b3c09097105e68030ea7/Documentation/kube-flannel.yml#L106-L111

and the implementation in CFCR:

{
"name": "flannel-network",
"plugins": [

see also this bug in ref:
flannel-io/flannel#1178
containerd/containerd#4012
(many thanks @fuweid )
flannel-io/flannel#1186

please rename also the CNI_VERSION to CNI_PLUGIN_VERSION

CNI_PACKAGE="cni-plugins"
CNI_VERSION="0.7.1"
tar -xzf cni/${CNI_PACKAGE}-amd64-${CNI_VERSION}.tgz -C ${BOSH_INSTALL_TARGET}/bin/
mkdir -p utillocal

as CNI_VERSION != CNI_PLUGIN_VERSION
cni plugin version 0.7.1 => cni version 0.3.1

What happened:
The cniVersion is missing so on the containerd is not able to finish properly the sandbox network
so on the result is lot of instability in docker or in containerd

time="2020-02-11T10:34:26.460462685Z" level=error msg="StopPodSandbox for \"38e9c87cf8515b4771a05efc2617298034d27cfd920df62b03deda34a548774a\" failed" error="failed to destroy network for sandbox \"38e9c87cf8515b4771a05efc2617298034d27cfd920df62b03deda34a548774a\": invalid version \"\": the version is empty"
time="2020-02-11T10:35:54.546984702Z" level=error msg="StopPodSandbox for \"486b5f22fb4782d02b633f0108fa6eafdde3c5996f0e2a8f3e6a39ae4929e779\" failed" error="failed to destroy network for sandbox \"486b5f22fb4782d02b633f0108fa6eafdde3c5996f0e2a8f3e6a39ae4929e779\": invalid version \"\": the version is empty"

Environment:
CFCR 0.36

obeyler pushed a commit to orange-cloudfoundry/kubo-release that referenced this issue Feb 24, 2020
svrc pushed a commit that referenced this issue Mar 1, 2020
* fix issue #372

* fix issue #373

* fix issues/374

* fix issues/375

* fix issues/376
@obeyler obeyler closed this as completed Mar 11, 2020
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