You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to run playbooks/byo/config.yml from release 3.7 branch to install openshift on my all-in-one server. It can't pass the TASK [openshift_service_catalog : wait for api server to be ready].
Executing curl -k "https://apiserver.kube-service-catalog.svc/healthz" get the following result
[root@openshift-master ~]# curl -k https://apiserver.kube-service-catalog.svc/healthz
[+]ping ok
[+]poststarthook/generic-apiserver-start-informers ok
[+]poststarthook/start-service-catalog-apiserver-informers ok
[-]etcd failed: reason withheld
healthz check failed
I checked the health status of my etcd service, the result is
[root@openshift-master ~]# etcdctl -C https://116.56.140.108:2379 --ca-file=/etc/origin/master/master.etcd-ca.crt \
--cert-file=/etc/origin/master/master.etcd-client.crt \
--key-file=/etc/origin/master/master.etcd-client.key cluster-health
member 63b3e6b3f1c410d5 is healthy: got healthy result from https://116.56.140.108:2379
cluster is healthy
And I tried to set and get a value from etcd. It was fine.
I don't know if it is helpful to check etcd state inside the service catalog docker container. But here's the result. It seems that there is no problem for service catalog container visiting the etcd service.
[root@openshift-master ~]# docker exec k8s_apiserver_apiserver-76zv8_kube-service-catalog_4ce365ee-0f96-11e8-be29-000af7b00488_0 curl -k https://116.56.140.108:2379/health --cert /etc/origin/master/master.etcd-client.crt --key /etc/origin/master/master.etcd-client.key
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 18 100 18 0 0 168 0 --:--:-- --:--:-- --:--:-- 168
{"health": "true"}
Inside the container, when executing curl -k https://apiserver.kube-service-catalog.svc/healthz
I0212 01:57:26.336985 1 handler.go:160] service-catalog-apiserver: GET "/healthz" satisfied by nonGoRestful
I0212 01:57:26.337009 1 pathrecorder.go:240] service-catalog-apiserver: "/healthz" satisfied by exact match
I0212 01:57:26.337023 1 run_server.go:136] etcd checker called
E0212 01:57:26.338420 1 run_server.go:145] etcd failed to reach any server
I0212 01:57:26.338432 1 healthz.go:112] healthz check etcd failed: etcd failed to reach any server
I0212 01:57:26.338571 1 wrap.go:42] GET /healthz: (1.699786ms) 500
And here is the etcd log. It keeps complaining about Unavailable.
Feb 12 10:04:00 openshift-master etcd[101639]: failed to receive watch request from gRPC stream ("rpc error: code = Unavailable desc = stream error: stream ID 1; CANCEL")
Feb 12 10:04:00 openshift-master etcd[101639]: failed to receive watch request from gRPC stream ("rpc error: code = Unavailable desc = stream error: stream ID 1; CANCEL")
Feb 12 10:04:00 openshift-master etcd[101639]: failed to receive watch request from gRPC stream ("rpc error: code = Unavailable desc = stream error: stream ID 1; CANCEL")
Feb 12 10:04:00 openshift-master etcd[101639]: failed to receive watch request from gRPC stream ("rpc error: code = Unavailable desc = stream error: stream ID 1; CANCEL")
Feb 12 10:04:00 openshift-master etcd[101639]: failed to receive watch request from gRPC stream ("rpc error: code = Unavailable desc = stream error: stream ID 1; CANCEL")
Feb 12 10:04:00 openshift-master etcd[101639]: failed to receive watch request from gRPC stream ("rpc error: code = Unavailable desc = stream error: stream ID 1; CANCEL")
Feb 12 10:04:00 openshift-master etcd[101639]: failed to receive watch request from gRPC stream ("rpc error: code = Canceled desc = context canceled")
Thanks for your help in advance.
The text was updated successfully, but these errors were encountered:
Description
I am trying to run playbooks/byo/config.yml from release 3.7 branch to install openshift on my all-in-one server. It can't pass the TASK [openshift_service_catalog : wait for api server to be ready].
Version
ansible --version
git describe
Steps To Reproduce
ansible-playbook openshift-ansible/playbooks/byo/config.yml
Expected Results
Playbook config.yml successfully executed?
Observed Results
The playbook failed at TASK [openshift_service_catalog : wait for api server to be ready] as below.
For long output or logs, consider using a gist
Additional Information
Executing
curl -k "https://apiserver.kube-service-catalog.svc/healthz"
get the following resultI checked the health status of my etcd service, the result is
And I tried to set and get a value from etcd. It was fine.
I don't know if it is helpful to check etcd state inside the service catalog docker container. But here's the result. It seems that there is no problem for service catalog container visiting the etcd service.
Inside the container, when executing
curl -k https://apiserver.kube-service-catalog.svc/healthz
And here is the etcd log. It keeps complaining about Unavailable.
Thanks for your help in advance.
The text was updated successfully, but these errors were encountered: