Greetings!
I'm running NodeFabric across three AZs at AWS us-east. They are registered at atlas, and all services are happy.
I've installed the Nomad agent on each of those boxes and started them as servers. They appear happy on the console. While I told them to register at Atlas, I don't see any evidence of that at Atlas - that said, I see no errors reported.
I created a Ubuntu server; installed docker, consul, and nomad. I've started the consul agent as client on this box, and:
ubuntu@ip-10-3-32-133:~$ sudo consul members
Node Address Status Type Build Protocol DC
Back in the Consul WebUI, I now show "Docker.1" as a Node with 0 Services reporting. The agent reports alive and reachable in the Serf Health Status.
Now I'm starting to get excited...
I fire up nomad in client mode. In DEBUG, ,I see fingerprinting confirm consul, and then complain about reading the interface speed, then setting to default. It reports finding docker, but complains privileged containers are disabled.
Finally, it shows, "client: available drivers [docker exec]"
It sits for a few seconds and reports:
[ERR] client: failed to register node: rpc error: EOF
Simultaneously, over on the Nomad server console, I see:
Nomad client and server configs follow; much thanks in advance - hoping this is painfully obvious.
Server Config example (currently manually wired on each box):
[ec2-user@ip-10-3-10-100 ~]$ cat nomadServer_b.conf
bind_addr = "0.0.0.0"
data_dir = "/var/lib/nomad"
advertise {
# We need to specify our host's IP because we can't
# advertise 0.0.0.0 to other nodes in our cluster.
}
server {
enabled = true
bootstrap_expect = 3
}
atlas {
infrastructure = REDACTED
token = REDACTED
join = true
}
Nomad Client Config:
ubuntu@ip-10-3-32-133:~$ cat nomadClient_32.133.conf
bind_addr = "10.3.32.133"
data_dir = "/var/lib/nomad"
log_level = "DEBUG"
advertise {
# We need to specify our host's IP because we can't
# advertise 0.0.0.0 to other nodes in our cluster.
}
client {
enabled = true
encrypt = "REDACTED"
node_class = "worker.small"
network_speed = 1000
}