4c150529b5
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. [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 Change-Id: If2947e7640545cb9a48215afb9b2439fdc33c645 Closes-Bug: 1825966
39 lines
1.2 KiB
INI
39 lines
1.2 KiB
INI
# newton
|
|
###############################################################################
|
|
# [ WARNING ]
|
|
# Configuration file maintained by Juju. Local changes may be overwritten.
|
|
###############################################################################
|
|
[DEFAULT]
|
|
interface_driver = openvswitch
|
|
auth_url = {{ auth_protocol }}://{{ keystone_host }}:{{ auth_port }}/v2.0
|
|
auth_region = {{ region }}
|
|
admin_tenant_name = {{ service_tenant }}
|
|
admin_user = {{ service_username }}
|
|
admin_password = {{ service_password }}
|
|
root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
|
|
handle_internal_only_routers = {{ handle_internal_only_router }}
|
|
{% if plugin == 'n1kv' %}
|
|
l3_agent_manager = neutron.agent.l3_agent.L3NATAgentWithStateReport
|
|
external_network_bridge = br-int
|
|
ovs_use_veth = False
|
|
use_namespaces = True
|
|
{% else %}
|
|
ovs_use_veth = True
|
|
{% endif %}
|
|
{% if external_configuration_new -%}
|
|
gateway_external_network_id =
|
|
external_network_bridge =
|
|
{% elif ext_net_id %}
|
|
gateway_external_network_id = {{ ext_net_id }}
|
|
{% else %}
|
|
# Set default to deprecated external networking config
|
|
external_network_bridge = br-ex
|
|
{% endif -%}
|
|
agent_mode = {{ agent_mode }}
|
|
{% if use_l3ha -%}
|
|
ha_vrrp_health_check_interval = 30
|
|
{% endif -%}
|
|
|
|
[AGENT]
|
|
extensions = fwaas
|