diff options
author | Michael Polenchuk <mpolenchuk@mirantis.com> | 2017-10-26 12:46:58 +0400 |
---|---|---|
committer | Michael Polenchuk <mpolenchuk@mirantis.com> | 2017-10-26 11:41:19 +0000 |
commit | c75ba4b14bf2b5f2b21ebc8705e2e4e60746f960 (patch) | |
tree | d1ca26c74ccd344cfda1166174838bafba0be74b | |
parent | a64931567c37a2fa551ca21e8382259a3c4814c7 (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>
(cherry picked from commit 9cfa75272ba2fd9abab416db1f22df5989c9959e)
-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 |