Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.
This repository was archived by the owner on Oct 11, 2023. It is now read-only.

Using RKE to deploy k8s error on RancherOS #2458

@rootwuj

Description

@rootwuj

RancherOS Version: (ros os version)
v1.4.1-rc2
Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.)
AWS
Docker Version:
17.03.2-ce

Steps to Reproduce:
Built a k8s cluster by RKE, and got some error logs for ./rke up:

rancher@ip-172-31-45-0:~$ ./rke_linux-amd64 up
INFO[0000] Building Kubernetes cluster
INFO[0000] [dialer] Setup tunnel for host [172.31.45.0]
INFO[0000] [dialer] Setup tunnel for host [172.31.43.225]
INFO[0000] [dialer] Setup tunnel for host [172.31.34.146]
INFO[0000] [network] Deploying port listener containers
INFO[0000] [network] Pulling image [rancher/rke-tools:v0.1.13] on host [172.31.34.146]
INFO[0000] [network] Pulling image [rancher/rke-tools:v0.1.13] on host [172.31.45.0]
INFO[0000] [network] Pulling image [rancher/rke-tools:v0.1.13] on host [172.31.43.225]
INFO[0005] [network] Successfully pulled image [rancher/rke-tools:v0.1.13] on host [172.31.45.0]
INFO[0005] [network] Successfully pulled image [rancher/rke-tools:v0.1.13] on host [172.31.34.146]
INFO[0005] [network] Successfully pulled image [rancher/rke-tools:v0.1.13] on host [172.31.43.225]
INFO[0007] [network] Successfully started [rke-etcd-port-listener] container on host [172.31.34.146]
INFO[0007] [network] Successfully started [rke-etcd-port-listener] container on host [172.31.43.225]
INFO[0007] [network] Successfully started [rke-etcd-port-listener] container on host [172.31.45.0]
INFO[0007] [network] Successfully started [rke-cp-port-listener] container on host [172.31.45.0]
INFO[0008] [network] Successfully started [rke-worker-port-listener] container on host [172.31.45.0]
FATA[0057] Error checking if image [rancher/rke-tools:v0.1.13] exists on host [172.31.34.146]: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
rancher@ip-172-31-45-0:~$

I tried to use RancherOS v1.4.0 and I can successfully deploy the k8s cluster.
Also, when the cluster has only one node, it can be deployed successfully.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions