Mirantis / Mirantis/cri-dockerd
Calico CNI installation fails with cridocker v0.3.12
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 1.4k
- Forks
- 356
- Avg merge
- 4d 4h
- Merged PRs (30d)
- 3
Description
Expected Behavior
Prior to v0.3.12 we were able to successfully install calico cni provider using the tigera operator to a baremetal kubeadm managed kubernetes cluster.
Actual Behavior
When updating our process to use cri-docker v0.3.12 we see bind errors during calico deployment.
Initially the tigera-operator fails to deploy.
Normal Pulled 15m kubelet Successfully pulled image "<<redacted>>/tigera/operator:v1.32.3" in 21.153634784s (21.153662597s including waiting)
Warning Failed 13m (x12 over 15m) kubelet Error: Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /var/lib/calico
After manually creating the folder /var/lib/calico on the controller node, the tigera operator pod deploys, but calico cni pods fail with
Normal Pulled 2m20s kubelet Successfully pulled image "quay.io/calico/cni:v3.27.0" in 7.987855195s (7.988025596s including waiting)
Warning Failed 35s (x10 over 2m20s) kubelet Error: Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /opt/cni/bin
Normal Pulled 35s (x9 over 2m20s) kubelet Container image "quay.io/calico/cni:v3.27.0" already present on machine
Steps to Reproduce the Problem
- install and configure cri-docker
- Deploy a kubernetes cluster (v1.25.5) on docker
- deploy the tigera-operator (v1.23.3)
Specifications
- Version: kubernetes v1.25.5
- Platform: ubuntu
- Subsystem: cri-docker v0.3.12
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the deployment with cri-dockerd v0.3.12, Kubernetes v1.25.5, Ubuntu, and the Tigera operator, then investigate why the bind sources /var/lib/calico and /opt/cni/bin are absent. Done means the operator and Calico CNI pods deploy successfully without invalid bind-mount errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- devops, infrastructure, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100