Hello,
I just tried to set up a single node env with v2.0.0-alpha16
rancher server startup
add cluster
add node for etcd, worker node and management
After a few moments the UI shows the following error
[controlPlane] Failed to bring up Control Plane: Failed to verify healthcheck: service [kube-api] is not healthy response code: [403], response body: {“kind”:“Status”,“apiVersion”:“v1”,“metadata”:{},“status”:“Failure”,“message”:“forbidden: User “system:anonymous” cannot get path “/healthz””,“reason”:“Forbidden”,“details”:{},“code”:403}
Can you share what you are doing exactly? Are you adding a cloud host or through docker run? What are the specs of the machine? What OS/kernel/Docker version are you using?
I´m using Ubuntu 16.04 with 4.4.0-87-generic with docker 17.12.0-ce, but also tried 17.03 before.
I chose to create a rke cluster and select to setup nodes later. Then I add a custom node via docker run using for etcd, management as well as worker-node.
Just to clarify, rancher server and agent run on the same host.
The first time, disabled IPv6 solved my problem. But since, same. I tried to install and clean and re-install again rancher/preview. Always same error.
Now i am with alpha 24.
Error :
[controlPlane] Failed to bring up Control Plane: Failed to verify healthcheck: service [kube-apiserver] is not healthy response code: [403], response body: {“kind”:“Status”,“apiVersion”:“v1”,“metadata”:{},“status”:“Failure”,“message”:“forbidden: User “system:anonymous” cannot get path “/healthz””,“reason”:“Forbidden”,“details”:{},“code”:403}
will try it. thanks for sharing. will come with updates but i would appreciate a lot if you would come back with updates in case you find the solution! thanks a lot.
I cleanedup something and advance to another issue
2018/05/04 19:52:03 [ERROR] cluster [c-skwp5] provisioning: [workerPlane] Failed to bring up Worker Plane: Failed to verify healthcheck: Failed to check https://localhost:10250/healthz for service [kubelet] on host [172.27.2.219]: Get https://localhost:10250/healthz: dial tcp 127.0.0.1:10250: getsockopt: connection refused