Hi Team i am facing issue trying out nomad and looking for help
I have created 3 server node and 3 client nodes on ubuntu 24 VM’s , my all 3 master node are able to talk to each other however client nodes are not able to connect with server nodes. (please note that i am trying with bare minimum, No Consul , No Docker installed - only client server communication)
and yes i can ping from each other, as they all are in the same network.
ubuntu24@master1:~$ nomad server members
Name Address Port Status Leader Raft Version Build Datacenter Region
master1.global 192.168.64.10 4648 alive false 3 1.8.3 dc1 global
master2.global 192.168.64.11 4648 alive false 3 1.8.3 dc1 global
master3.global 192.168.64.12 4648 alive true 3 1.8.3 dc1 global
my server configuration looks like this
server {
enabled = true
bootstrap_expect = 3
server_join {
retry_join = ["192.168.64.10", "192.168.64.11", "192.168.64.12"]
retry_max = 3
retry_interval = "5s"
}
}
bind_addr = "0.0.0.0"
data_dir = "/opt/nomad"
log_level = "INFO"
leave_on_interrupt = true
leave_on_terminate = true
and my client configuration looks like this
client {
enabled = true
servers = ["192.168.64.10:4647,192.168.64.11:4647,192.168.64.12:4647"]
}
bind_addr = "0.0.0.0"
data_dir = "/opt/nomad/data"
# Optional logging configuration
log_level = "INFO"
Nomad version details
ubuntu24@master1:~$ nomad -v
Nomad v1.8.3
BuildDate 2024-08-13T07:37:30Z
Revision 63b636e5cbaca312cf6ea63e040f445f05f00478
My service logs are showing this
Aug 27 13:38:24 worker1 nomad[1834]: 2024-08-27T13:38:24.583Z [WARN] client.server_mgr: no servers available
Aug 27 13:38:24 worker1 nomad[1834]: 2024-08-27T13:38:24.869Z [WARN] client.server_mgr: no servers available
Aug 27 13:38:24 worker1 nomad[1834]: 2024-08-27T13:38:24.869Z [ERROR] client.rpc: error performing RPC to server, deadline exceeded, cannot retry: error="no servers" rpc=Node.Register
Aug 27 13:38:24 worker1 nomad[1834]: 2024-08-27T13:38:24.871Z [ERROR] client: error discovering nomad servers: error="client.consul: unable to query Consul datacenters: Get \"http://127.0.0.1:8500/v1/catalog/d>
Every help appreciated, thanks in advance