-
Notifications
You must be signed in to change notification settings - Fork 51
K8s setup broken after updating to 1.0.0-0.8.gitb2dafda.el7 #68
Comments
K8s packages before yum update
Here are the RPM packages after the yum update
|
@derekwaynecarr do you have any suggestion for this issue? This is the Vagrant box what used to be https://github.com/LalatenduMohanty/centos7-container-app-vagrant-box |
"kubectl get nodes" on a fresh install of k8s works fine. So it looks like the update is broken. Thanks to @navidshaikh for the finding. * vagrant init centos/7
* sudo yum install kubernetes
* sudo yum install etcd
* sudo systemctl enable etcd kube-apiserver kube-controller-manager kube-scheduler
* sudo systemctl enable kube-proxy kubelet
* sudo systemctl enable docker
* sudo reboot
[vagrant@localhost ~]$ kubectl get nodes
NAME LABELS STATUS
127.0.0.1 kubernetes.io/hostname=127.0.0.1 Ready
|
I did a fresh build with the latest packages. We thought issue might get resolved as the new image would have freshly installed k8s packages. But in the new box we are getting another issue i.e. cc @navidshaikh
|
So it seems that kube-apiserver is not opening any port with the new k8s rpms. Port list before update
After update + reboot
|
@LalatenduMohanty : I tried reproducing the issue and figured the The reason docker service is failing because there are multiple entries of
Once
|
@LalatenduMohanty : I think multiple entries of |
@navidshaikh Yes, this issue is present with https://cbs.centos.org/koji/taskinfo?taskID=18983 . Thats the build I have done to see if the issue is not occurring with fresh installation of k8s package. Lets track the issue at #69 and lets track this issue after we do yum update i.e. updating the kubernetes packages |
@navidshaikh Also with respect to the initial "yum update" issue, below steps fixes it
Thanks to @aveshagarwal for pointing that out. Because etcd most likely might be having data using v1beta1/2 (older than v1beta3) whereas the latest in rhel/centos/atomic can only understand v1beta3 and v1. |
Closing the issue as in the newer builds we are not seeing this. |
K8s setup is broken after updating to latest k8ns bits of CentOS7 i.e. kubernetes 0:1.0.0-0.8.gitb2dafda.el7
The latest build of the atomicapp vagrant box is used [1] for reproducing this issue.
[1] https://cbs.centos.org/koji/taskinfo?taskID=16911 or you can use https://atlas.hashicorp.com/atomicapp/boxes/dev-testing
Steps to reproduce:
Restarting the service does not help
After yum update, I rebooted the machine and got below error
Looks like port 8080 is not available in the vagrant box
The text was updated successfully, but these errors were encountered: