Open scalp42 opened 4 years ago
Hi @scalp42
Thanks for bringing this up. I'm adding a new consul-nomad
tag to have the teams discuss this and see where to go from here.
We'll post any updates here! Best, Jono
Hi! Any update on that issue? It would be great to see the more informative output here, indeed.
Hi Team, I am also facing these warnings. Any information will be great.
$ sudo journalctl -u consul -f
Feb 24 07:30:47 ip-172-16-0-180 consul[5513]: 2022-02-24T07:30:47.641Z [WARN] agent: Check is now critical: check=_nomad-check-40cb96b8d5f0ac5bf3cb66480ffed5e8f9089fe8
Feb 24 07:31:02 ip-172-16-0-180 consul[5513]: 2022-02-24T07:31:02.642Z [WARN] agent: Check is now critical: check=_nomad-check-40cb96b8d5f0ac5bf3cb66480ffed5e8f9089fe8
Feb 24 07:31:17 ip-172-16-0-180 consul[5513]: 2022-02-24T07:31:17.643Z [WARN] agent: Check is now critical: check=_nomad-check-40cb96b8d5f0ac5bf3cb66480ffed5e8f9089fe8
Although a service has reference of its health checks, a check does not know about its service when these logs are emitted. It's not impossible to pass the service ID through but it seems like non-trivial effort.
We could accept community contributions for this feature (or can discuss more detail with anyone willing to try this) but our team won't be prioritizing this at the moment.
Is there at-least a way to lookup what this check is for through nomad or the nomad api?
Hi folks,
When Nomad service registered in Consu fails, the Consul logs lack information regarding the service itself:
Unfortunately in this scenario, we have no idea which service/task is failing. Would it be possible to add the extra information? I believe it would help a lot with debugging in general.
We noticed that when a service is healthy, we do get a bit of extra information that includes the job and task name:
Let us know if there's a way to map those generic
_nomad-check-UUID
to an actual service.Thanks in advance!