From 1ea1e654a3321882e6cc9ef836085514eefc13bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guilherme=20Steinm=C3=BCller?= Date: Tue, 2 Apr 2019 19:29:52 +0000 Subject: [PATCH] Create symlink to neutron-keepalived-state-change Neutron tries to hit up neutron-keepalived-state-change bin and looks for it in /usr/local/bin. The workaround for this is to create a symlink of the bin file inside the venv to the place neutron expects. Change-Id: Id3ca9b81d946a07d74157578981c78b2e35f02ff --- tasks/neutron_post_install.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tasks/neutron_post_install.yml b/tasks/neutron_post_install.yml index 71328205..a6e454e1 100644 --- a/tasks/neutron_post_install.yml +++ b/tasks/neutron_post_install.yml @@ -80,6 +80,13 @@ state: link when: neutron_install_method == 'distro' and ansible_os_family == 'RedHat' +- name: Create symlink to neutron-keepalived-state-change + file: + src: "{{ neutron_bin }}/neutron-keepalived-state-change" + dest: "/usr/local/bin/neutron-keepalived-state-change" + state: link + when: neutron_install_method == 'source' + - name: Preserve original configuration file(s) command: "cp {{ item.target_f }} {{ item.target_f }}.original" args: