1

Can't find Nomad client, but I can see all servers and I also can find the clients in Consul.

Nomad config

data_dir = "/opt/nomad/data"

server {
  enabled          = true
  bootstrap_expect = 3
  retry_join = ["provider=aws tag_key=Function tag_value=consul_client"]

}

client {
  enabled = true
}

Clients in Consul UI:

enter image description here


Servers in Nomad UI:

enter image description here

Clients in Nomad UI:

enter image description here

So why do I see only one Client in the last screenshot?

Kingindanord
  • 1,754
  • 2
  • 19
  • 48
  • Im having same issue, one of many clients is showing up in consul gui, and consul members list, but not on the nomad GUI clients list. From the cmd prompt on this absent client `nomad server members` does show the servers. i just cant figure out why its not showing up in the nomad gui clients list, as you pointed out above. – blamb Apr 20 '23 at 16:48
  • Ok i figured it out, as you mention, the nomad config was set to an old advertise ip. – blamb Apr 20 '23 at 16:56

2 Answers2

2

figured it out, I should make separate config files for server and client instead of combining them together.

Kingindanord
  • 1,754
  • 2
  • 19
  • 48
0

check the advertise ips on the nomad config file, to make sure they are updated to the correct ip address, e.g. for missing client @10.183.141.53

advertise {
    http = "10.18.41.53:4646"
    rpc = "10.18.41.53:4647"
    serf = "10.18.41.53:4648"
}
blamb
  • 4,220
  • 4
  • 32
  • 50