-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ERR] agent: Coordinate update error: No cluster leader #36
Comments
its because one of the consul replicas must boot with -bootstrap option. if you are using 3 replicas to consul, change to the number of replicas you are using |
Getting the same error:
|
I also have this error. I have everything running in a namespace. Would that affect the label-based discovery, perhaps? I can see pods are running if I select with labels:
I've updated to 1.4.2 of consul, and I'm running on GKE: 1.11.6-gke.3 My consul logs indicate no discovered servers:
I'm not sure what to check at this point. I have the |
I had the same error with a docker hosted consul cluster (not on kubernetes though) and it turned out all of my instances had auto generated the same node ids. As soon as I manually set the node id differently on each instance (using -node-id argument) all was fine. Perhaps something to try. |
I had same issue when running in a different namespace with Consul 1.5.1
|
Got the same error with |
Did somebody solve it? |
Bumped into this issue today. The issue is caused by Affinity Settings. |
Error from consul:
|
This bug has not been resolved in the current version 1.9.1 |
This resolved my issue for a cluster deployed into consul namespace, updated the server json in the configmap manifest to include below as per @e100
|
I've seen this issue occurring for multiple people several times. If on k8s besides setting It didn't matter what was done and re/uninstalls (helm based) Consul would be unable to properly bootstrap and elect a leader until not only all components were removed from the (k8s) cluster but the PVCs and volumes. This note should be in the k8s section btw. cc @gupf0719 |
i have deploy the consul latest version on kubernetes V1.10.0 .but the consul pod's log show these error message:
2018/07/20 11:26:11 [WARN] agent: Check "service:ribbon-consumer" HTTP request failed: Get http://DESKTOP-MCQSJ49:8504/health: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
2018/07/20 11:26:15 [ERR] agent: failed to sync remote state: No cluster leader
2018/07/20 11:26:16 [ERR] agent: Coordinate update error: No cluster leader
the cluster doesnt work correctly.
The text was updated successfully, but these errors were encountered: