Docker Community Forums

Share and learn in the Docker community.

When I installed the UCP, logs error:Node irtaam01 is not ready yet


(Yorkwu1977) #1

I install UPC according to official documents.

 docker container run --rm -it --name ucp \
-v /var/run/docker.sock:/var/run/docker.sock \
docker/ucp:3.0.5 install \
--host-address 192.166.220.120 \
--interactive 

final display error info:

INFO[0012] Deploying UCP Service...                     
ERRO[0701] Unable to successfully setup local node. Run "docker logs ucp-reconcile" for more details 
FATA[0701] reconcile exited with non-zero status: 1    

so I read logs:

{"level":"info","msg":"Waiting for kubernetes node irtaam01 to become ready","time":"2018-10-17T09:39:52Z"}
{"level":"info","msg":"Node irtaam01 is not ready yet, waiting","time":"2018-10-17T09:39:52Z"}
{"level":"info","msg":"Node irtaam01 is not ready yet, waiting","time":"2018-10-17T09:39:54Z"}
{"level":"info","msg":"Node irtaam01 is not ready yet, waiting","time":"2018-10-17T09:39:56Z"}

Where is the problem? thanks very much!


#2

MAC: I am facing the same issue. Here are the steps I followed:

a) I created a fresh node (docker-machine create node1)
b) ran into /var/lib/kubelet mount problem (fixed it on the node by creating and running a script as mentioned here: (https://success.docker.com/article/install-ucp-3-on-old-distro)
c) had to mention this option “–pod-cidr 192.168.0.0/24”

and yet facing the same problem:

cluster",“time”:“2019-01-07T21:01:58Z”}
{“level”:“info”,“msg”:“successfully reconciled state of Concurrent [eNZi Worker x86_64 service eNZi Worker s390x service] component”,“time”:“2019-01-07T21:01:58Z”}
{“level”:“info”,“msg”:“successfully reconciled state of eNZi API x86_64 service component. This component will enable eNZi API servers on x86_64 linux nodes if they are added to the cluster”,“time”:“2019-01-07T21:02:01Z”}
{“level”:“info”,“msg”:“successfully reconciled state of Concurrent [eNZi API x86_64 service eNZi API s390x service] component”,“time”:“2019-01-07T21:02:01Z”}
{“level”:“info”,“msg”:“successfully reconciled state of [etcd Exclusive RethinkDB Concurrent [eNZi Secret Kubernetes API Server] Concurrent [Swarm-Classic Manager Concurrent [eNZi API x86_64 service eNZi API s390x service] Concurrent [eNZi Worker x86_64 service eNZi Worker s390x service] Kubernetes Scheduler Kubernetes Controller Manager]] component”,“time”:“2019-01-07T21:02:01Z”}
{“level”:“info”,“msg”:“Reconciling state of component UCP Controller”,“time”:“2019-01-07T21:02:01Z”}
{“level”:“info”,“msg”:“Reconciling state of component Kubernetes CNI Plugin”,“time”:“2019-01-07T21:02:15Z”}
{“level”:“info”,“msg”:“Deploying addon calico”,“time”:“2019-01-07T21:02:15Z”}
{“level”:“info”,“msg”:“Waiting for kubernetes node node1 to become ready”,“time”:“2019-01-07T21:02:23Z”}
{“level”:“info”,“msg”:“Node node1 is not ready yet, waiting”,“time”:“2019-01-07T21:02:25Z”}
{“level”:“info”,“msg”:“Node node1 is not ready yet, waiting”,“time”:“2019-01-07T21:02:27Z”}
{“level”:“info”,“msg”:“Node node1 is not ready yet, waiting”,“time”:“2019-01-07T21:02:29Z”}
{“level”:“info”,“msg”:“Node node1 is not ready yet, waiting”,“time”:“2019-01-07T21:02:31Z”}
{“level”:“info”,“msg”:“Node node1 is not ready yet, waiting”,“time”:“2019-01-07T21:02:33Z”}