From edf0a25ca2e78658f06a2394a4ded60b49232bca Mon Sep 17 00:00:00 2001 From: Erik Berg Date: Thu, 8 Aug 2019 10:37:40 +0200 Subject: [PATCH] l3 agent on network_hosts do dvr_snat, anywhere else dvr With the change in queens of moving the neutron agents from containers onto the network_hosts, if those hosts happen to also be your nova_computes, VM's without a floating ip would lose north/south network. Checking for physical_host_group could make this patch work for neutron_agents_containers on pike aswell, if we want to backport it that far. Change-Id: I6bb24a8719b3902d6f510c70705cdb63076a1a08 Signed-off-by: Erik Berg --- vars/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/main.yml b/vars/main.yml index 8e8f505a..181fd899 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -173,7 +173,7 @@ neutron_plugins: drivers_type: "{{ neutron_ml2_drivers_type }}" l2_population: "{{ neutron_l2_population }}" mechanisms: "openvswitch" - l3_agent_mode: "{% if 'nova_compute' in group_names %}dvr{% else %}dvr_snat{% endif %}" + l3_agent_mode: "{% if 'network_hosts' in group_names %}dvr_snat{% else %}dvr{% endif %}" router_distributed: True plugin_conf_ini_overrides: "{{ neutron_ml2_conf_ini_overrides }}" plugin_core: ml2