Only set openvswitch hostname for OVN on eligible hosts
This patch addresses a bug where the OVS 'hostname' external-id was being set on ineligible hosts due to undefined group matching statements. Change-Id: I158d6c7da732dada7dc4cf999a2128c02adc189a Closes-Bug: #1790915
This commit is contained in:
parent
2dba515ecb
commit
f97e9ffbba
@ -18,6 +18,9 @@
|
|||||||
command: "ovs-vsctl set open_vswitch . external-ids:hostname='{{ inventory_hostname }}'"
|
command: "ovs-vsctl set open_vswitch . external-ids:hostname='{{ inventory_hostname }}'"
|
||||||
tags:
|
tags:
|
||||||
- ovn-config
|
- ovn-config
|
||||||
|
when:
|
||||||
|
- (neutron_services['neutron-ovn-northd']['group'] in group_names) or
|
||||||
|
(neutron_services['neutron-ovn-controller']['group'] in group_names)
|
||||||
|
|
||||||
- name: Create ovsdb-server Listener
|
- name: Create ovsdb-server Listener
|
||||||
command: "ovs-vsctl set-manager ptcp:6640"
|
command: "ovs-vsctl set-manager ptcp:6640"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user