This is because the environment variable ETCD_INITIAL_CLUSTER contains
compute nodes, which are not running etcd.
Compute nodes are in the etcd group to allow for kuryr, which needs etcd
to be running on compute nodes (why???). When kuryr is disabled, etcd is
not deployed on these hosts (using host_in_groups). However, the
ETCD_INITIAL_CLUSTER environment variable always includes all hosts in
the etcd group.
This change sets ETCD_INITIAL_CLUSTER correctly in both cases.
Reviewed: https:/ /review. openstack. org/586479 /git.openstack. org/cgit/ openstack/ kolla-ansible/ commit/ ?id=b9208cd178c ab27438831b0d16 b337c54c53090b
Committed: https:/
Submitter: Zuul
Branch: master
commit b9208cd178cab27 438831b0d16b337 c54c53090b
Author: Mark Goddard <email address hidden>
Date: Thu Jul 26 18:58:25 2018 +0100
Fix etcd when Kuryr is disabled
This is because the environment variable ETCD_INITIAL_ CLUSTER contains
compute nodes, which are not running etcd.
Compute nodes are in the etcd group to allow for kuryr, which needs etcd INITIAL_ CLUSTER environment variable always includes all hosts in
to be running on compute nodes (why???). When kuryr is disabled, etcd is
not deployed on these hosts (using host_in_groups). However, the
ETCD_
the etcd group.
This change sets ETCD_INITIAL_ CLUSTER correctly in both cases.
Change-Id: I11f812d3fdacf0 eeb8236f9a39d67 3aaa480dd26
Closes-Bug: #1783963