After upgrading from
elixir 1.6 and
elixir 1.11 and
mix release, nodes in cluster are no longer auto joining each other.
def start(_, _), do: :net_adm.world()is in
.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"]
but doing a
Node.ping(:"prod@myapp-upgrade-group-another_node")and they will join each other and
Node.listwould returns properly.
There is no
reldirectory in my project now but I did have one for
distillery. This is the biggest difference I can think of.