Run keystone.client on first node first
When keystone client is enabled on multiple nodes running this state
simultaneously may lead failures as we can't create the same resources
concurrently.
This patch ensure that we run keystone.client on *01* node first and
than apply it on all nodes.
Change-Id: I8eca31469a74b28cd109dfdc9ba7b6455f932d50
diff --git a/src/com/mirantis/mk/Orchestrate.groovy b/src/com/mirantis/mk/Orchestrate.groovy
index f33e198..c16138e 100644
--- a/src/com/mirantis/mk/Orchestrate.groovy
+++ b/src/com/mirantis/mk/Orchestrate.groovy
@@ -160,7 +160,7 @@
sleep(30)
}
if (salt.testTarget(master, 'I@keystone:client')) {
- salt.enforceState(master, 'I@keystone:client', 'keystone.client', true)
+ salt.enforceState(master, 'I@keystone:client and *01*', 'keystone.client', true)
salt.enforceState(master, 'I@keystone:client', 'keystone.client', true)
}
if (salt.testTarget(master, 'I@keystone:server')) {