lwolf / stolon-chart

Kubernetes Helm chart to deploy HA Postgresql cluster based on Stolon
MIT License
105 stars 39 forks source link

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

Closed dimthe closed 6 years ago

dimthe commented 6 years ago

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

royeectu commented 6 years ago

I would try to change the endpoints from https to http

dimthe commented 6 years ago

same exact errors even with http

lwolf commented 6 years ago

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

lwolf commented 6 years ago

closing due to inactivity