diff options
author | Michael Polenchuk <mpolenchuk@mirantis.com> | 2017-10-26 12:46:58 +0400 |
---|---|---|
committer | Michael Polenchuk <mpolenchuk@mirantis.com> | 2017-10-26 12:46:58 +0400 |
commit | 9cfa75272ba2fd9abab416db1f22df5989c9959e (patch) | |
tree | d1ca26c74ccd344cfda1166174838bafba0be74b /mcp | |
parent | 6cb5e8ee2deeda4b08cefe8925078410994d084f (diff) |
Run aodh state one by one
Apply aodh state in consecutive order to avoid
a race condition with database synchronization.
Change-Id: I4684fbeaaba2c9780084e0a64fe6453bccfb67e0
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp')
-rwxr-xr-x | mcp/config/states/openstack_ha | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcp/config/states/openstack_ha b/mcp/config/states/openstack_ha index 89733cc91..9237cc00b 100755 --- a/mcp/config/states/openstack_ha +++ b/mcp/config/states/openstack_ha @@ -58,7 +58,7 @@ wait_for 90 "salt -C 'I@mongodb:server and *01*' cmd.run 'mongo localhost:27017/ salt -C 'I@mongodb:server and *01*' cmd.run 'mongo localhost:27017/admin --eval "rs.initiate()"' salt -C 'I@mongodb:server and *01*' state.sls mongodb -salt -I 'aodh:server' state.sls aodh +salt -I 'aodh:server' state.sls aodh -b 1 salt -I 'ceilometer:server' state.sls ceilometer salt -I 'ceilometer:agent' state.sls ceilometer |