Merge "ovn: Do not schedule SNAT routers on computes"

This commit is contained in:
Zuul 2020-11-09 15:24:43 +00:00 committed by Gerrit Code Review
commit 1c03c230a3
2 changed files with 12 additions and 3 deletions

View File

@ -27,9 +27,12 @@
- name: Enable chassis as gateway
become: true
command: docker exec openvswitch_vswitchd ovs-vsctl set Open_vSwitch . external-ids:ovn-cms-options="enable-chassis-as-gw"
when:
- inventory_hostname in groups["ovn-controller-network"]
or (inventory_hostname in groups["ovn-controller-compute"] and neutron_ovn_distributed_fip | bool)
when: inventory_hostname in groups["ovn-controller-network"]
- name: Ensure chassis as gateway is disabled where required
become: true
command: docker exec openvswitch_vswitchd ovs-vsctl remove Open_vSwitch . external-ids ovn-cms-options
when: inventory_hostname not in groups["ovn-controller-network"]
- name: Set OVN remote probe interval
become: true

View File

@ -0,0 +1,6 @@
---
fixes:
- |
OVN will no longer schedule SNAT routers on compute nodes
when ``neutron_ovn_distributed_fip`` is enabled.
`LP#1901960 <https://launchpad.net/bugs/1901960>`__