aboutsummaryrefslogtreecommitdiff
path: root/ansible/site.yml
diff options
context:
space:
mode:
authorWill Szumski <will@stackhpc.com>2022-08-08 11:10:08 +0100
committerMark Goddard <mark@stackhpc.com>2023-02-13 11:45:53 +0000
commit6f536a4f712c890b2c9a2f41fec3d84aa88cce9f (patch)
treec8302894117c4c055b327d3e5781b2a7d4b74581 /ansible/site.yml
parentbea45356137dc5a6e1c43b2440461b8744b5464c (diff)
downloadkolla-ansible-6f536a4f712c890b2c9a2f41fec3d84aa88cce9f.tar.gz
kolla-ansible-6f536a4f712c890b2c9a2f41fec3d84aa88cce9f.zip
Put etcd behind HTTP loadbalancer
etcd-compatible tooz drivers do not support multiple endpoints via backend_url. We can put a loadbalancer in front of etcd and configure backend_url to use the VIP instead. The issue with hard coding the first host is that we break coordination if we take this host offline. In the case of cinder, we would not be able to perform any volume related operations. Co-Authored-By: Mark Goddard <mark@stackhpc.com> Change-Id: Ib684501ba03c386dc5ac71e5cbea05c99f191665
Diffstat (limited to 'ansible/site.yml')
-rw-r--r--ansible/site.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/ansible/site.yml b/ansible/site.yml
index a8e107179..24133edf1 100644
--- a/ansible/site.yml
+++ b/ansible/site.yml
@@ -151,6 +151,11 @@
tags: designate
when: enable_designate | bool
- include_role:
+ name: etcd
+ tasks_from: loadbalancer
+ tags: etcd
+ when: enable_etcd | bool
+ - include_role:
name: freezer
tasks_from: loadbalancer
tags: freezer