Initialize mongodb cluster 63/41163/1
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Wed, 6 Sep 2017 08:41:07 +0000 (12:41 +0400)
committerMichael Polenchuk <mpolenchuk@mirantis.com>
Wed, 6 Sep 2017 08:47:46 +0000 (12:47 +0400)
commitc9d474cd794044bffeaa091e4bcf33bec4509bc4
tree7b2c687a00c0980f672ccb8aff87c16f635c74f9
parentf26e94914200be045abfd10d63d7120e9e0f6145
Initialize mongodb cluster

* wait for mongodb service ready state
* run rs.initiate() to start a replication set

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