Exclude fluentd state in installOpenstackCompute
Change-Id: Idac3c614d608694415038d6af4b6272b37dd4964
Partial-Bug: PROD-22977
diff --git a/src/com/mirantis/mk/Orchestrate.groovy b/src/com/mirantis/mk/Orchestrate.groovy
index 1941a89..0450e81 100644
--- a/src/com/mirantis/mk/Orchestrate.groovy
+++ b/src/com/mirantis/mk/Orchestrate.groovy
@@ -509,9 +509,10 @@
def salt_ca_compound = "I@salt:minion:ca:salt_master_ca ${extra_tgt}"
// Enforce highstate asynchronous only on compute nodes which are not glusterfs and not salt ca servers
def hightstateTarget = "${compute_compound} and not ${gluster_compound} and not ${salt_ca_compound}"
+ def excludedStates = "fluentd"
if (salt.testTarget(master, hightstateTarget)) {
retry(2) {
- salt.enforceHighstate(master, hightstateTarget)
+ salt.enforceHighstateWithExclude(master, hightstateTarget, excludedStates)
}
} else {
common.infoMsg("No minions matching highstate target found for target ${hightstateTarget}")
@@ -524,7 +525,7 @@
if ( target == cmp_target ) {
// Enforce highstate one by one on salt ca servers which are compute nodes
retry(2) {
- salt.enforceHighstate(master, target)
+ salt.enforceHighstateWithExclude(master, target, excludedStates)
}
}
}
@@ -537,7 +538,7 @@
if ( target == cmp_target ) {
// Enforce highstate one by one on glusterfs servers which are compute nodes
retry(2) {
- salt.enforceHighstate(master, target)
+ salt.enforceHighstateWithExclude(master, target, excludedStates)
}
}
}