Open OneCricketeer opened 5 years ago
Here are the configs for the one node that shows those services
Hi there. One debugging step that might provide data is to look at the output of curl localhost:8500/v1/catalog/service/nomad
to see what nodes the service is defined on.
It's hard to tell how exactly you got into this situation, so if you were able to provide reproduction steps, that would be helpful as well.
I can see in the UI the services are defined on pico0
, which are the configuration files that were provided.
I installed each Nomad server and client via https://github.com/brianshumate/ansible-nomad
And, as mentioned, I had use systemctl enable --now nomad
to ensure that nomad started on reboot.
Those were the only changes I remember doing regarding Nomad.
Overview of the Issue
Duplicated service registration of Nomad (and no Nomad icon). Not sure if this is a Consul or Nomad issue...
As shown in the image, I have an extra
nomad
andnomad-client
service on one node, yet not able to debug from where it originates. The same service checks also appear in the appropriately labelled nomad-clients and nomad-servers.Reproduction Steps
After installing the cluster, I think it was working as expected without the extra nomad and nomad-client, but then I was playing around with
systemctl enable --now nomad
, then I remember seeing the extra one.Consul info for both Client and Server
I only have 3 nodes, all servers
Server info
``` agent: check_monitors = 0 check_ttls = 0 checks = 8 services = 9 build: prerelease = revision = version = 1.6.2 consul: acl = disabled bootstrap = false known_datacenters = 1 leader = false leader_addr = 192.168.1.121:8300 server = true raft: applied_index = 133907 commit_index = 133907 fsm_pending = 0 last_contact = 26.883494ms last_log_index = 133907 last_log_term = 1094866 last_snapshot_index = 131138 last_snapshot_term = 1094751 latest_configuration = [{Suffrage:Voter ID:a1bd80bd-e3c1-96b4-d5bc-30e620485b96 Address:192.168.1.122:8300} {Suffrage:Voter ID:29349689-81c8-b1bd-4cec-daa1a894d773 Address:192.168.1.121:8300} {Suffrage:Voter ID:e5049ebb-25b4-fe97-3da5-0d4ee3fe3d33 Address:192.168.1.120:8300}] latest_configuration_index = 40078 num_peers = 2 protocol_version = 3 protocol_version_max = 3 protocol_version_min = 0 snapshot_version_max = 1 snapshot_version_min = 0 state = Follower term = 1094866 runtime: arch = arm64 cpu_count = 4 goroutines = 93 max_procs = 4 os = linux version = go1.12.13 serf_lan: coordinate_resets = 0 encrypted = true event_queue = 0 event_time = 38 failed = 0 health_score = 0 intent_queue = 0 left = 0 member_time = 66 members = 3 query_queue = 0 query_time = 1 serf_wan: coordinate_resets = 0 encrypted = true event_queue = 0 event_time = 1 failed = 0 health_score = 0 intent_queue = 0 left = 0 member_time = 49 members = 3 query_queue = 0 query_time = 1 ```Operating system and Environment details
Ubuntu ARM64
Extra
Only one nomad process is running
And nomad is otherwise healthy