Setup mongodb master primarily 49/50649/1
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Mon, 15 Jan 2018 15:04:56 +0000 (19:04 +0400)
committerMichael Polenchuk <mpolenchuk@mirantis.com>
Mon, 15 Jan 2018 15:19:43 +0000 (19:19 +0400)
commit97b36af156a059cf2568b046cf5d0871562348ff
treee78407338ac5a19dcc2aa7a58a9d6b4d93eb39b1
parent1ea49591080442d8db86fff60031d3dc41142274
Setup mongodb master primarily

Initiate mongodb master at first to avoid race conditaion with
unwanted master election which causes cluster setup failure.

Change-Id: I6d2f75f3f002849cac3a5f52a7dcfb4646b7822a
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
mcp/config/states/openstack_ha
mcp/config/states/openstack_noha