From baceca87155ef5f9232b241aad6a942d575fd178 Mon Sep 17 00:00:00 2001 From: Manuel Buil Date: Tue, 6 Feb 2018 16:21:59 +0100 Subject: [PATCH] l3_agent should only appear in computes when dvr When using ovs_dvr, the routing capabilities should be distributed across computes and controller. However, because group_when is a list, the condition was always true and l3_agent was always deployed in the computes. This patch changes the type of group_when so that it gets properly evaluated Change-Id: I39fc50ca25731e44801e4ee32b07c550489f2a39 --- playbooks/os-neutron-install.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/playbooks/os-neutron-install.yml b/playbooks/os-neutron-install.yml index 9e241735e0..43288f7faa 100644 --- a/playbooks/os-neutron-install.yml +++ b/playbooks/os-neutron-install.yml @@ -23,9 +23,7 @@ vars: src_group: "nova_compute" dest_group: "neutron_l3_agent, neutron_metadata_agent" - group_when: - - "neutron_plugin_type == 'ml2.ovs.dvr'" - + group_when: "{{ neutron_plugin_type == 'ml2.ovs.dvr' }}" - name: Prepare MQ/DB services