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
This commit is contained in:
parent
f7c787974c
commit
1ea1e654a3
@ -80,6 +80,13 @@
|
|||||||
state: link
|
state: link
|
||||||
when: neutron_install_method == 'distro' and ansible_os_family == 'RedHat'
|
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)
|
- name: Preserve original configuration file(s)
|
||||||
command: "cp {{ item.target_f }} {{ item.target_f }}.original"
|
command: "cp {{ item.target_f }} {{ item.target_f }}.original"
|
||||||
args:
|
args:
|
||||||
|
Loading…
Reference in New Issue
Block a user