Open jrasell opened 11 months ago
I can see this in 1.7.2 as well. The nomad templates are also quite messed up similar to https://github.com/hashicorp/nomad/issues/16616
Hi @blmhemu; as far as this stated issue goes, it only affects the CLI and the linked issue is a separate, non-related bug.
I understand, but i could not repro #16616 on 1.6, only on 1.7.(2) (Let me know if I should raise another issue)
Also, I assumed templates use the data published by the API and if the API provides wrong info, may be the templates are rendedered with wrong info.
Seeing this with the 1.7.5
CLI too:
Nomad v1.7.5
BuildDate 2024-02-13T15:10:13Z
Revision 5f5d4646198d09b8f4f6cb90fb5d50b53fa328b8
> nomad service list
Service Name Tags
caddy [ingress]
noutaja []
otel-collector [otel]
> nomad service info otel-collector
Job ID Address Tags Node ID Alloc ID
caddy 192.168.1.128:443 [ingress] 06289a2e c7c2a24f
> nomad service info otel-collector
Job ID Address Tags Node ID Alloc ID
noutaja 192.168.1.128:5959 [] 06289a2e 8b8d5f7b
Still relevant^, had me wondering where did I go wrong. @jrasell are you working on this? otherwise I think I can pick this up?
+1 on this, it's a bad issue that seems to have been included in one of the recent releases. breaks our workflow...
Still present in 1.8.1, just ran into this
Nomad version
Issue
The
service info
command returns incorrect results when attempting to perform a simple service lookup within a particular namespace.The list output correctly lists two services registered:
When I go to lookup the
grafana-server
service I get the following result:The API is returning the correct data, so this is a problem with the command.
It seems the bug was introduced within https://github.com/hashicorp/nomad/pull/18836