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.

Removed condition on neutron_install_method for Queens as installs are
always from source.

Change-Id: Id3ca9b81d946a07d74157578981c78b2e35f02ff
(cherry picked from commit 1ea1e654a3321882e6cc9ef836085514eefc13bc)
This commit is contained in:
Guilherme Steinmüller 2019-04-02 19:29:52 +00:00 committed by Georgina Shippey
parent 5c41134b71
commit 23c0558ffb

View File

@ -69,6 +69,12 @@
when:
- neutron_services['neutron-dhcp-agent']['group'] in group_names
- 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
- name: Generate neutron agent only Config
config_template:
src: "{{ item.service_conf }}.j2"