786906d559
If you want to have vrrp watch the external networking interface today, the option ha_vrrp_health_check_interval [1] detects a failure it re-triggers the transitional change - which works if the external physical interface fails because the ping will fail. In fact, we've tried to enable it before [2], but then we had to revert it [3] due to instability issues [4] in previous releases of OpenStack. Maybe the previous instability issue [4] was caused by another keepalived issue mentioned in the comment [5], now I have tested this option again, it works. This is how neutron allows monitoring southbound network today, so I would suggest we add this capability into the charm again. This is a patch for charm-neutron-openvswitch side to support enable-dvr-snat=True option which allows running gateway components on compute nodes (as of 19.04 charms, see [6]) [1] https://docs.openstack.org/ocata/networking-guide/ \ deploy-ovs-ha-vrrp.html#keepalived-vrrp-health-check [2] https://review.opendev.org/#/c/601533/ [3] https://review.opendev.org/#/c/603347/ [4] https://bugs.launchpad.net/neutron/+bug/1793102 [5] https://bugs.launchpad.net/neutron/+bug/1793102/comments/5 [6] https://bugs.launchpad.net/charm-neutron-openvswitch/+bug/1808045 Change-Id: Ic7e751dd876cc67805e841e109a4f955ad80be47 Closes-Bug: 1825966
17 lines
553 B
INI
17 lines
553 B
INI
###############################################################################
|
|
# [ WARNING ]
|
|
# Configuration file maintained by Juju. Local changes may be overwritten.
|
|
# {{ restart_trigger_l3agent }}
|
|
###############################################################################
|
|
|
|
[DEFAULT]
|
|
interface_driver = openvswitch
|
|
agent_mode = {{ agent_mode }}
|
|
{% if external_configuration_new -%}
|
|
gateway_external_network_id =
|
|
external_network_bridge =
|
|
{% endif %}
|
|
{% if use_l3ha and agent_mode == 'dvr_snat' -%}
|
|
ha_vrrp_health_check_interval = 30
|
|
{% endif %}
|