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

consul server: Missing check 'serfHealth' registration #14515

Open
chymy opened this issue Sep 8, 2022 · 4 comments
Open

consul server: Missing check 'serfHealth' registration #14515

chymy opened this issue Sep 8, 2022 · 4 comments
Labels
type/question Not an "enhancement" or "bug". Please post on discuss.hashicorp

Comments

@chymy
Copy link

chymy commented Sep 8, 2022

Consul server continuously reports the following error:

[ERR] http: Request PUT /v1/session/create, error: rpc error making call: Missing check 'serfHealth' registration
...

it can't recover until it restart.
According to the code, I don't know why reconcilemember didn't execute successfully

Consul info for both Client and Server

consul version: 1.6.2

@chymy
Copy link
Author

chymy commented Sep 8, 2022

@rboyer

@jkirschner-hashicorp
Copy link
Contributor

Hi @chymy,

Can you provide more details on the JSON request body payload that being sent with the create session endpoint call (/v1/session/create)? Is serfHealth being included in the array of checks in that payload?

Is this something that you observe in more recent versions of Consul?

@jkirschner-hashicorp jkirschner-hashicorp added type/question Not an "enhancement" or "bug". Please post on discuss.hashicorp waiting-reply Waiting on response from Original Poster or another individual in the thread labels Sep 29, 2022
@github-actions github-actions bot removed the waiting-reply Waiting on response from Original Poster or another individual in the thread label Sep 29, 2022
@chymy
Copy link
Author

chymy commented Sep 30, 2022

@chymy
Copy link
Author

chymy commented Sep 30, 2022

I suspect that the node is always in the Leaving state, which causes the reconcilemember function to be unable to execute all the time, as a result, the node serfHealth cannot be registered. For details, refer to serf:#662 and #6882

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/question Not an "enhancement" or "bug". Please post on discuss.hashicorp
Projects
None yet
Development

No branches or pull requests

2 participants