etcd fails when kuryr is disabled
Bug #1783963 reported by
Mark Goddard
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
Medium
|
Mark Goddard |
Bug Description
Steps to reproduce:
Enable etcd and not kuryr, then deploy:
enable_etcd: yes
enable_kuryr: no
kolla-ansible deploy
Expected results:
Successful deployment, working etcd.
Actual results:
Successful deployment, but etcd does not work.
This is because the environment variable ETCD_INITIAL_
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_
Changed in kolla-ansible: | |
assignee: | nobody → Mark Goddard (mgoddard) |
importance: | Undecided → Medium |
milestone: | none → rocky-3 |
status: | New → In Progress |
To post a comment you must log in.
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