From 84036899c0ec4bde40c6b71e2c8d447bbdb79b0c Mon Sep 17 00:00:00 2001 From: Yifei Xue Date: Sat, 21 Apr 2018 21:38:16 +0800 Subject: Workaround for Tacker in HA scenarios JIRA: - For Tacker service in HA mode, it only generates VIM fernet key on one of the Tacker hosts. This may cause error when a request is been routed to another host. We need to use Barbican and Mistral components. But now OSA did not support Mistral yet. So we add a workaround here to get over this issue. Change-Id: I9aa228ec2ac7011cedb1eb503611ca24c7666caa Signed-off-by: Yifei Xue (cherry picked from commit d7156c0b772ada65ff3d094bd70814bf5b0cb4e7) --- plugins/odl_sfc/roles/setup-odl-sfc/tasks/control-tacker-1.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'plugins/odl_sfc/roles/setup-odl-sfc/tasks/control-tacker-1.yml') diff --git a/plugins/odl_sfc/roles/setup-odl-sfc/tasks/control-tacker-1.yml b/plugins/odl_sfc/roles/setup-odl-sfc/tasks/control-tacker-1.yml index 8fd1109f..f63edeaa 100644 --- a/plugins/odl_sfc/roles/setup-odl-sfc/tasks/control-tacker-1.yml +++ b/plugins/odl_sfc/roles/setup-odl-sfc/tasks/control-tacker-1.yml @@ -5,3 +5,9 @@ name: networking-sfc virtualenv: /openstack/venvs/tacker-{{ os_ver }} when: odl_sfc == "Enable" + +- name: stop the other two tacker servers + service: + name: tacker-server + state: stopped + when: inventory_hostname != groups['tacker_all'][0] -- cgit 1.2.3-korg