From 6f536a4f712c890b2c9a2f41fec3d84aa88cce9f Mon Sep 17 00:00:00 2001 From: Will Szumski Date: Mon, 8 Aug 2022 11:10:08 +0100 Subject: 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 Change-Id: Ib684501ba03c386dc5ac71e5cbea05c99f191665 --- ansible/site.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ansible/site.yml') diff --git a/ansible/site.yml b/ansible/site.yml index a8e107179..24133edf1 100644 --- a/ansible/site.yml +++ b/ansible/site.yml @@ -150,6 +150,11 @@ tasks_from: loadbalancer 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 -- cgit v1.2.3