aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMark Goddard <mark@stackhpc.com>2021-08-16 17:03:22 +0100
committerDr. Jens Harbott <harbott@osism.tech>2023-12-05 11:49:42 +0100
commitaf6e1ca4fd3366c1ae936d225b2835e95a4191fc (patch)
tree55604da972ed4a54096f59368617b69b8690952a /etc
parent7112d5f117103845d55abd2a260a63312d43a6ec (diff)
downloadkolla-ansible-af6e1ca4fd3366c1ae936d225b2835e95a4191fc.tar.gz
kolla-ansible-af6e1ca4fd3366c1ae936d225b2835e95a4191fc.zip
Support Ansible max_fail_percentage
This allows us to continue execution until a certain proportion of hosts to fail. This can be useful at scale, where failures are common, and restarting a deployment is time-consuming. The default max failure percentage is 100, keeping the default behaviour. A global max failure percentage may be set via kolla_max_fail_percentage, and individual services may define a max failure percentage via <service>_max_fail_percentage. Note that all hosts in the inventory must be reachable for fact gathering, even those not included in a --limit. Closes-Bug: #1833737 Change-Id: I808474a75c0f0e8b539dc0421374b06cea44be4f
Diffstat (limited to 'etc')
-rw-r--r--etc/kolla/globals.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/kolla/globals.yml b/etc/kolla/globals.yml
index 92d1d7147..3429c2c0e 100644
--- a/etc/kolla/globals.yml
+++ b/etc/kolla/globals.yml
@@ -32,6 +32,12 @@ workaround_ansible_issue_8743: yes
# scenarios with all facts cached (as there is no task to fail).
#kolla_ansible_setup_any_errors_fatal: false
+# This variable may be used to set the maxiumum failure percentage for all
+# plays. More fine-grained control is possible via per-service variables, e.g.
+# nova_max_fail_percentage. The default behaviour is to set a max fail
+# percentage of 100, which is equivalent to not setting it.
+#kolla_max_fail_percentage:
+
###############
# Kolla options
###############