Hi all,
I have Nomad running with Consul, and after updating my Nomad servers I have an extra nomad-client service in Consul which did not go away after two weeks now.
Nomad-client services registered in Consul:
Check is showing green in the overview, which seems to be a bug with the latest version. In the details view, the check is shown as failing.
Nomad instances via ‘nomad node status’:
As you can see, the node 192.168.0.76 is not present in Nomad (which is correct), but present in Consul.
Any idea how to get rid of that entry in Consul?
just an observation: if the node is gone and the service is still “green”, it does look dubious.
what is the relevant Consul config for clearing the node once disconnected?
example:
reconnect_timeout = "8h"
leave_on_terminate = true
Agree, does not look great.
The service is green in the overview, but red in the details page
No timeouts explicitly configure, clearing the node is on the default settings.
Any idea how to remove the node/service manually?
Awesome, that worked!
Just for reference, the command to remove the service was
consul services deregister _nomad-client-jxlj2lhyet6iocelcoeccqy3ypzqnt77
Where _nomad-client-jxlj2lhyet6iocelcoeccqy3ypzqnt77is the ID of the service as shown in the UI.
1 Like
system
Closed
October 18, 2025, 10:50am
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.