Skip to content
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

No cluster leader #42

Open
itsecforu opened this issue Dec 9, 2019 · 1 comment
Open

No cluster leader #42

itsecforu opened this issue Dec 9, 2019 · 1 comment

Comments

@itsecforu
Copy link

Hello. Did everything according to your instructions, but unfortunately nothing works

if i try to get list peers

consul operator raft -list-peers -token=e986a3da-f69d-4d82-b497-cbc0cb382596 Operator "raft" subcommand failed: Unexpected response code: 500 (No cluster leader)

List of pods seems ok:

kubectl get pods NAME READY STATUS RESTARTS AGE consul-1-587bf84975-xv8pb 1/1 Running 0 3d1h consul-2-9c7bcb99b-75dpw 1/1 Running 0 3d1h consul-3-5699d494b8-twd2s 1/1 Running 0 3d1h

If i write kubectl pport forward ( f.e consul-2) ,I see only one under which I indicated

# consul members Node Address Status Type Build Protocol DC Segment worker-2 10.233.33.42:8301 alive server 0.7.2 2 devsecops <all>

Logs say the same thing:

2019/12/09 13:45:52 [ERR] agent: failed to sync remote state: No cluster leader 2019/12/09 13:45:56 [ERR] agent: coordinate update error: No cluster leader 2019/12/09 13:46:23 [ERR] agent: failed to sync remote state: No cluster leader 2019/12/09 13:46:27 [ERR] agent: coordinate update error: No cluster leader 2019/12/09 13:46:54 [ERR] agent: coordinate update error: No cluster leader 2019/12/09 13:46:59 [ERR] agent: failed to sync remote state: No cluster leader 2019/12/09 13:47:20 [ERR] agent: coordinate update error: No cluster leader 2019/12/09 13:47:22 [ERR] agent: failed to sync remote state: No cluster leader 2019/12/09 13:47:46 [ERR] agent: failed to sync remote state: No cluster leader 2019/12/09 13:47:49 [ERR] agent: coordinate update error: No cluster leader 2019/12/09 13:48:13 [ERR] agent: coordinate update error: No cluster leader 2019/12/09 13:48:16 [ERR] agent: failed to sync remote state: No cluster leader

2

UI doesnt work too

3

I hope u will help me ! Thx

@itsecforu
Copy link
Author

no ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant