Previously there were multiple IP on the server that could start nomad normally, but I found that it was not bound to the IP I wanted, so I disabled it and left only one IP I wanted, but when I restarted nomad, it made a mistake
Error starting agent: client setup failed: fingerprinting failed: Error while detecting network interface during fingerprinting: No default interface found
I deleted the data directory and bound the IP without any effect,Still reporting an error, I would like to consult how I should let him start normally in this situation
# ip r
default via 10.104.1.129 dev bond0
10.104.1.128/25 dev bond0 proto kernel scope link src 10.104.1.130
169.254.0.0/16 dev bond0 scope link metric 1008
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.104.1.129 0.0.0.0 UG 0 0 0 bond0
10.104.1.128 0.0.0.0 255.255.255.128 U 0 0 0 bond0
169.254.0.0 0.0.0.0 255.255.0.0 U 1008 0 0 bond0
172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0
B:
# ip r
default via 10.104.1.129 dev bond0
10.104.1.128/25 dev bond0 proto kernel scope link src 10.104.1.158
169.254.0.0/16 dev bond0 scope link metric 1008
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1
172.26.64.0/20 dev nomad proto kernel scope link src 172.26.64.1
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.104.1.129 0.0.0.0 UG 0 0 0 bond0
10.104.1.128 0.0.0.0 255.255.255.128 U 0 0 0 bond0
169.254.0.0 0.0.0.0 255.255.0.0 U 1008 0 0 bond0
172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0
172.26.64.0 0.0.0.0 255.255.240.0 U 0 0 0 nomad
Hi @x602 that Check failure output is originating from Consul. Is the Nomad Client agent configured to register services with a local Consul agent on the same node? Can you show as much of your Nomad job definition as you can? Seeing the network and service blocks may help.