-
Notifications
You must be signed in to change notification settings - Fork 2k
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 services drop periodically #22427
Comments
I analyze the code in service_client.go, in this code. |
If it's bug, I think the reason is. |
Hi @liuchenrang! Does each one of your Nomad client agents have its own Consul agent? They should not share Consul agents, as described in the Consul configuration docs:
|
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Nomad version
Output from
nomad version
v1.7.7
Operating system and Environment details
Issue
In cluster mode, both client and server are enabled, and the deployment type is service.
The service will be unregistered and automatically registered later
Reproduction steps
1 cluster mode 3 sets.
2 on a single node, client and server are enabled at the same time.
3 deploy 3 sets of whoami
4 consul cluster
Expected Result
Three whoami are stable online.
Actual Result
Periodically drop the line, and soon come online again.
Job file (if appropriate)
Nomad Server logs (if appropriate)
Nomad Client logs (if appropriate)
(edited by @tgross to make syntax legible)
The text was updated successfully, but these errors were encountered: