summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-etcd
diff options
context:
space:
mode:
authorMichael Gugino <mgugino@redhat.com>2018-02-12 12:22:32 -0500
committerMichael Gugino <mgugino@redhat.com>2018-02-12 12:22:32 -0500
commita043ba9e9951d091f66d00ed88ad05b66c3f3c63 (patch)
tree790a014325faca3096fac0045e341e584455760c /playbooks/openshift-etcd
parentb7cc4a8414f7aa51fab0898ec23cefa7717b62b2 (diff)
downloadopenshift-a043ba9e9951d091f66d00ed88ad05b66c3f3c63.tar.gz
openshift-a043ba9e9951d091f66d00ed88ad05b66c3f3c63.tar.bz2
openshift-a043ba9e9951d091f66d00ed88ad05b66c3f3c63.tar.xz
openshift-a043ba9e9951d091f66d00ed88ad05b66c3f3c63.zip
Fix etcd scaleup plays
This commit ensures that only the proper host groups have sanity checks run during etcd scaleup. This commit also adds additional debugging statements to sanity_checks.py to make it easier to debug when an error occurs. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1543771
Diffstat (limited to 'playbooks/openshift-etcd')
-rw-r--r--playbooks/openshift-etcd/scaleup.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/playbooks/openshift-etcd/scaleup.yml b/playbooks/openshift-etcd/scaleup.yml
index 3e2fca8d4..1b2229baa 100644
--- a/playbooks/openshift-etcd/scaleup.yml
+++ b/playbooks/openshift-etcd/scaleup.yml
@@ -45,6 +45,7 @@
vars:
skip_version: True
l_init_fact_hosts: "oo_masters_to_config:oo_etcd_to_config:oo_lb_to_config:oo_new_etcd_to_config"
+ l_sanity_check_hosts: "{{ groups['oo_new_etcd_to_config'] | union(groups['oo_masters_to_config']) | union(groups['oo_etcd_to_config']) }}"
l_openshift_version_set_hosts: "all:!all"
l_openshift_version_check_hosts: "all:!all"
when: