Run telemetry states on node 01 firstly
dbsyncs may fail if they are run in parallel
Change-Id: I9b9cecf4a8428dac7fd1992c4814193b1452fe9b
Related-Prod: https://mirantis.jira.com/browse/PROD-18473
diff --git a/src/com/mirantis/mk/Orchestrate.groovy b/src/com/mirantis/mk/Orchestrate.groovy
index ec78d67..f2a0ae2 100644
--- a/src/com/mirantis/mk/Orchestrate.groovy
+++ b/src/com/mirantis/mk/Orchestrate.groovy
@@ -336,26 +336,31 @@
// Install gnocchi server
if (salt.testTarget(master, 'I@gnocchi:server')) {
+ salt.enforceState(master, 'I@gnocchi:server and *01*', 'gnocchi.server')
salt.enforceState(master, 'I@gnocchi:server', 'gnocchi.server')
}
// Install gnocchi statsd
if (salt.testTarget(master, 'I@gnocchi:statsd')) {
+ salt.enforceState(master, 'I@gnocchi:statsd and *01*', 'gnocchi.statsd')
salt.enforceState(master, 'I@gnocchi:statsd', 'gnocchi.statsd')
}
// Install panko server
if (salt.testTarget(master, 'I@panko:server')) {
+ salt.enforceState(master, 'I@panko:server and *01*', 'panko')
salt.enforceState(master, 'I@panko:server', 'panko')
}
// Install ceilometer server
if (salt.testTarget(master, 'I@ceilometer:server')) {
+ salt.enforceState(master, 'I@ceilometer:server and *01*', 'ceilometer')
salt.enforceState(master, 'I@ceilometer:server', 'ceilometer')
}
// Install aodh server
if (salt.testTarget(master, 'I@aodh:server')) {
+ salt.enforceState(master, 'I@aodh:server and *01*', 'aodh')
salt.enforceState(master, 'I@aodh:server', 'aodh')
}
}