Fix barbican install
barbican-manage db upgrade should be run only on one node at time
to avoid concurrent changes to schema.
Change-Id: I83228e45693cc4efdc6b6ffe575f200bc5aa8035
diff --git a/src/com/mirantis/mk/Orchestrate.groovy b/src/com/mirantis/mk/Orchestrate.groovy
index 7967116..6185dd4 100644
--- a/src/com/mirantis/mk/Orchestrate.groovy
+++ b/src/com/mirantis/mk/Orchestrate.groovy
@@ -290,6 +290,7 @@
// Install barbican server service
if (salt.testTarget(master, 'I@barbican:server')) {
+ salt.enforceState(master, 'I@barbican:server and *01*', 'barbican.server', true)
salt.enforceState(master, 'I@barbican:server', 'barbican.server', true)
}
// Install barbican client