summaryrefslogtreecommitdiffstats
path: root/playbooks/common
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-09-14 16:00:04 -0400
committerGitHub <noreply@github.com>2017-09-14 16:00:04 -0400
commit5638c2eed8ee3429b957b9c70b72691d69de1678 (patch)
tree7cfc392f559ac6d62bbb33bc7a7ec43e6ec989aa /playbooks/common
parent2f951f399343292d7c7746acc16ae8d74e043f62 (diff)
parent3fc499fe3a1549f994ab13b0ebb5d4bba8c2c9cf (diff)
downloadopenshift-5638c2eed8ee3429b957b9c70b72691d69de1678.tar.gz
openshift-5638c2eed8ee3429b957b9c70b72691d69de1678.tar.bz2
openshift-5638c2eed8ee3429b957b9c70b72691d69de1678.tar.xz
openshift-5638c2eed8ee3429b957b9c70b72691d69de1678.zip
Merge pull request #5360 from sdodson/embedded-etcd
Clarify requirement of having etcd group
Diffstat (limited to 'playbooks/common')
-rw-r--r--playbooks/common/openshift-cluster/evaluate_groups.yml11
1 files changed, 7 insertions, 4 deletions
diff --git a/playbooks/common/openshift-cluster/evaluate_groups.yml b/playbooks/common/openshift-cluster/evaluate_groups.yml
index 16a733899..e55b2f964 100644
--- a/playbooks/common/openshift-cluster/evaluate_groups.yml
+++ b/playbooks/common/openshift-cluster/evaluate_groups.yml
@@ -43,11 +43,14 @@
- name: Evaluate groups - Fail if no etcd hosts group is defined
fail:
msg: >
- No etcd hosts defined. Running an all-in-one master is deprecated and
- will no longer be supported in a future upgrade.
+ Running etcd as an embedded service is no longer supported. If this is a
+ new install please define an 'etcd' group with either one or three
+ hosts. These hosts may be the same hosts as your masters. If this is an
+ upgrade you may set openshift_master_unsupported_embedded_etcd=true
+ until a migration playbook becomes available.
when:
- - g_etcd_hosts | default([]) | length == 0
- - not openshift_master_unsupported_all_in_one | default(False)
+ - g_etcd_hosts | default([]) | length not in [3,1]
+ - not openshift_master_unsupported_embedded_etcd | default(False)
- not openshift_node_bootstrap | default(False)
- name: Evaluate oo_all_hosts