[ha] Decouple openstack services by roles 91/67691/1
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Wed, 24 Apr 2019 10:53:59 +0000 (14:53 +0400)
committerMichael Polenchuk <mpolenchuk@mirantis.com>
Thu, 25 Apr 2019 10:13:19 +0000 (10:13 +0000)
commit4f0fa64ac58016ce62a6081c1a26bd2f2a222a3c
tree2215643c0cc0d0770d7deb6892c93aba5e96ec77
parentee63c02fff4bba6278201d1c74c5bc5ea1d5cc37
[ha] Decouple openstack services by roles

Deploy the OpenStack API services based on roles to
prevent issues with absent database tables since db_sync
runs only on the nodes with primary role.

Change-Id: I04cf3ce0dd59afd93b8a0dfcf060fbd7e7411c82
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
(cherry picked from commit 07d70f192a8d296ad9a94b992d6d6f41191e290b)
mcp/config/states/openstack_ha