lwolf/stolon-chart

"error": "client: etcd cluster is unavailable or misconfigured"

Closed this issue · 4 comments

i get the bellow error


2018-01-10T15:10:36.576Z    ERROR   keeper/keeper.go:648    error retrieving cluster data   {"error": "client: etcd cluster is unavailable or misconfigured"}
2018-01-10T15:10:36.576Z    INFO    postgresql/postgresql.go:264    stopping database
pg_ctl: directory "/stolon-data/postgres" does not exist
2018-01-10T15:10:36.596Z    ERROR   keeper/keeper.go:838    error retrieving cluster data   {"error": "client: etcd cluster is unavailable or misconfigured"}
2018-01-10T15:10:41.610Z    ERROR   keeper/keeper.go:838    error retrieving cluster data   {"error": "client: etcd cluster is unavailable or misconfigured"}
2018-01-10T15:10:46.623Z    ERROR   keeper/keeper.go:838    error retrieving cluster data   {"error": "client: etcd cluster is unavailable or misconfigured"}
2018-01-10T15:10:51.639Z    ERROR   keeper/keeper.go:838    error retrieving cluster data   {"error": "client: etcd cluster is unavailable or misconfigured"}

but this is healthy

kubectl get cs
NAME                 STATUS    MESSAGE              ERROR
scheduler            Healthy   ok
controller-manager   Healthy   ok
etcd-0               Healthy   {"health": "true"}
etcd-1               Healthy   {"health": "true"}
etcd-2               Healthy   {"health": "true"}

i have my etcd endpoints defined in the valyes.yaml like so
endpoints: "https://148.251.81.30:2379,https://136.243.23.162:2379,https://148.251.23.210:2379"

what else can i check or do about this issue ?
thanks

I would try to change the endpoints from https to http

same exact errors even with http

lwolf commented

make sure that etcd is exposed and accessible.
Are you using the main k8s etcd?

lwolf commented

closing due to inactivity