Open hpdvanwyk opened 5 years ago
Same issue! I switched the console to Debian in all nodes (Automatically with maintenance script) and kubernetes cluster down completely!!! We installed K8s with RancherOS for zero downtime 😕 Any solution?
sudo ros os version
v1.5.2
tail /var/log/docker.log
Error starting daemon: pid file found, ensure docker is not running or delete /var/run/docker.pid
ls -lAhF /var/run/docker.pid
-rw-r--r-- 1 root root 4 Aug 11 05:07 /var/run/docker.pid
RancherOS Version: (ros os version) v1.5.0
Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.) Virtualbox
RancherOS will sometimes leave a defunct dockerd when switching consoles using
ros console switch something
. The pid file at /var/run/docker.pid is also not cleaned up and the user-docker container is unable to start up. This only seems to happen if Kubernetes has been installed on RancherOS and not on a clean install.Rebooting fixes the problem.
To reproduce in Virtualbox:
cloud-config.yml
Installed using the RancherOS iso with:
rancher-cluster.yml
Now ssh to the rancher machine and switch the console:
After some debugging: