kubernetes: K8s 1.11.6 fails to install : Requires: kubernetes-cni = 0.6.0
What happened:
When deploying K8s 1.11.6, we get an error: Requires: kubernetes-cni = 0.6.0
- we are required to lock down on K8s 1.11.6 and thus cannot move to K8s 1.11.9
/usr/bin/yum --noplugins install -y kubelet-1.11.6* kubeadm-1.11.6* kubectl-1.11.6* --disableexcludes=kubernetes
Resolving Dependencies
--> Running transaction check
---> Package kubeadm.x86_64 0:1.11.6-0 will be installed
--> Processing Dependency: kubernetes-cni >= 0.6.0 for package: kubeadm-1.11.6-0.x86_64
---> Package kubectl.x86_64 0:1.11.6-0 will be installed
---> Package kubelet.x86_64 0:1.11.6-0 will be installed
--> Processing Dependency: kubernetes-cni = 0.6.0 for package: kubelet-1.11.6-0.x86_64
--> Running transaction check
---> Package kubelet.x86_64 0:1.11.6-0 will be installed
--> Processing Dependency: kubernetes-cni = 0.6.0 for package: kubelet-1.11.6-0.x86_64
---> Package kubernetes-cni.x86_64 0:0.7.5-0 will be installed
--> Finished Dependency Resolution
Error: Package: kubelet-1.11.6-0.x86_64 (kubernetes)
Requires: kubernetes-cni = 0.6.0
Available: kubernetes-cni-0.3.0.1-0.07a8a2.x86_64 (kubernetes)
kubernetes-cni = 0.3.0.1-0.07a8a2
Available: kubernetes-cni-0.5.1-0.x86_64 (kubernetes)
kubernetes-cni = 0.5.1-0
Available: kubernetes-cni-0.5.1-1.x86_64 (kubernetes)
kubernetes-cni = 0.5.1-1
Available: kubernetes-cni-0.6.0-0.x86_64 (kubernetes)
kubernetes-cni = 0.6.0-0
Installing: kubernetes-cni-0.7.5-0.x86_64 (kubernetes)
kubernetes-cni = 0.7.5-0
You could try using --skip-broken to work around the problem
What you expected to happen:
K8s 1.11.6 to install clean
How to reproduce it (as minimally and precisely as possible): /usr/bin/yum --noplugins install -y kubelet-1.11.6* kubeadm-1.11.6* kubectl-1.11.6* --disableexcludes=kubernetes
Anything else we need to know?:
- we are required to lock down on K8s 1.11.6 and thus cannot move to K8s 1.11.9
Environment:
- Kubernetes version (use
kubectl version): 1.11.6 - Cloud provider or hardware configuration: on-premise
- OS (e.g:
cat /etc/os-release): NAME=“Red Hat Enterprise Linux Server” VERSION=“7.6 (Maipo)” - Kernel (e.g.
uname -a): x86_64 GNU/Linux - Install tools:
- Others:
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 40 (16 by maintainers)
Commits related to this issue
- Update cni to 0.7.5 Kubernetes 1.11.x now depends on CNI 0.7.5. See details at https://github.com/kubernetes/kubernetes/issues/75701. — committed to cloudboss/keights by rjosephwright 5 years ago
- Update cni to 0.7.5 Kubernetes 1.11.x now depends on CNI 0.7.5. See details at https://github.com/kubernetes/kubernetes/issues/75701. — committed to cloudboss/keights by rjosephwright 5 years ago
- Update cni to 0.7.5 Kubernetes 1.11.x now depends on CNI 0.7.5. See details at https://github.com/kubernetes/kubernetes/issues/75701. — committed to cloudboss/keights by rjosephwright 5 years ago
I posted a comment on that topic (pending moderator approval apparently) however it has been open since April 3rd and hasn’t hasn’t had any discussion since the 8th. It is now April 16th with this github issue being open since March 25th.
This issue MUST be moved forward, if it is not we are going to start seeing 3rd party packages being built.
try:
and then:
progress on this issue is blocked by deeper problems. the packages are claimed as “best effort” until further notice.
Also the APT repository is affected. It seems someone changed the version string of
kubernetes-cnifrom0.6.0to0.6.0-00without actually updating the dependency fields in packages likekubeadm.This gives errors like below;
Totally true, because the following breakdown shows the APT dependencies are set wrong:
And
= 0.6.0does not match to any version currently available.Please fix ASAP.