summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2018-01-24 15:47:43 -0500
committerRussell Teague <rteague@redhat.com>2018-01-24 20:25:01 -0500
commitbe039d3d89d8869d2463c428e0eda5272702cf66 (patch)
tree5b8f1c02cca5b9b1a545d5c51d4e3fbf9a60e26c
parenteccd64e9451f40978455dfd0792fd350e2f09135 (diff)
downloadopenshift-be039d3d89d8869d2463c428e0eda5272702cf66.tar.gz
openshift-be039d3d89d8869d2463c428e0eda5272702cf66.tar.bz2
openshift-be039d3d89d8869d2463c428e0eda5272702cf66.tar.xz
openshift-be039d3d89d8869d2463c428e0eda5272702cf66.zip
[1530403] Improve etcd group error message
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1530403
-rw-r--r--playbooks/init/evaluate_groups.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/playbooks/init/evaluate_groups.yml b/playbooks/init/evaluate_groups.yml
index 924ae481a..e8bf1892c 100644
--- a/playbooks/init/evaluate_groups.yml
+++ b/playbooks/init/evaluate_groups.yml
@@ -45,7 +45,11 @@
- name: Evaluate groups - Fail if no etcd hosts group is defined
fail:
msg: >
- Running etcd as an embedded service is no longer supported.
+ Running etcd as an embedded service is no longer supported. If this is a
+ new install please define an 'etcd' group with either one, three or five
+ hosts. These hosts may be the same hosts as your masters. If this is an
+ upgrade please see https://docs.openshift.com/container-platform/latest/install_config/upgrading/migrating_embedded_etcd.html
+ for documentation on how to migrate from embedded to external etcd.
when:
- g_etcd_hosts | default([]) | length not in [5,3,1]
- not (openshift_node_bootstrap | default(False))