--registry=in_memory
, it works fine, master is elected, i can start tasks via Marathon.--registry=replicated_log
) the cluster fails to elect a master:https://gist.github.com/mitel/67acd44408f4d51af192
EDIT
: apparently the problem was the firewall. Applied an allow-all type of rule to all my security groups and now i have a stable master. Once i figure out what was blocking the communication i'll post it here.
Discovered that mesos masters also initiate connections to other masters on 5050. After adding the egress rule to the master's security group, the cluster is stable, master election happens as expected. firewall rules
UPDATE: for those who try to build an internal firewall between the various components of mesos/zk/.. - don't do it. better to design the security as in Mesosphere's DCOS