Run dogtag:server in single thread
Replication races are possinble in dogtag during initial setup.
To avoid them run dogtag:server state in one thread.
Change-Id: Ia9c6a05eea204cb2a82637c181f23808f736987d
Related-Prod: PROD-26810
diff --git a/src/com/mirantis/mk/Orchestrate.groovy b/src/com/mirantis/mk/Orchestrate.groovy
index d7f7885..99d9643 100644
--- a/src/com/mirantis/mk/Orchestrate.groovy
+++ b/src/com/mirantis/mk/Orchestrate.groovy
@@ -387,7 +387,8 @@
// Install DogTag server service
salt.enforceStateWithTest([saltId: master, target: "I@dogtag:server:role:master ${extra_tgt}", state: 'dogtag.server', testTargetMatcher: "I@dogtag:server ${extra_tgt}"])
- salt.enforceStateWithTest([saltId: master, target: "I@dogtag:server ${extra_tgt}", state: 'dogtag.server'])
+ // Run dogtag state on slaves in serial to avoid races during replications PROD-26810
+ salt.enforceStateWithTest([saltId: master, target: "I@dogtag:server ${extra_tgt}", state: 'dogtag.server', batch: 1])
// Install barbican server service
salt.enforceStateWithTest([saltId: master, target: "I@barbican:server:role:primary ${extra_tgt}", state: 'barbican.server', testTargetMatcher: "I@barbican:server ${extra_tgt}"])