After upgrading from elixir 1.6 and distillery to elixir 1.11 and mix release, nodes in cluster are no longer auto joining each other.
-
def start(_, _), do: :net_adm.world()is indefmoudle MyApp.application -
.hosts.erlangis loaded properly and contains all IPs
iex(prod@myapp-upgrade-group-wfs3)2> :net_adm.host_file
[:"10.152.0.56", :"10.152.15.238", :"10.152.0.20", :"10.152.0.17"]
-
Node.listreturns[]but doing aNode.ping(:"prod@myapp-upgrade-group-another_node")and they will join each other andNode.listwould returns properly. -
There is no
reldirectory in my project now but I did have one fordistillery. This is the biggest difference I can think of.






















