From 5373f58781a944ed6ac843e029f941b41605de74 Mon Sep 17 00:00:00 2001
From: Pierre Blanc <pierre.blanc@ormuco.com>
Date: Mon, 15 Jan 2018 09:24:29 -0500
Subject: [PATCH] Update network_label_regex on trove templates

Presently the taskmanager failed during a creation
of a trove cluster.

During the network ip checks, it didn't match the network.

The idea is to configure it to match all network name.
Finally this configuration is the same as for trove.conf.

Closes-bug: #1743395
Change-Id: I9284501424e6daa7d33d1590994bf231de71edd9
---
 ansible/roles/trove/templates/trove-taskmanager.conf.j2 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ansible/roles/trove/templates/trove-taskmanager.conf.j2 b/ansible/roles/trove/templates/trove-taskmanager.conf.j2
index 3f35dc3e1c..1d74b8157d 100644
--- a/ansible/roles/trove/templates/trove-taskmanager.conf.j2
+++ b/ansible/roles/trove/templates/trove-taskmanager.conf.j2
@@ -20,6 +20,8 @@ trove_endpoint_type = internalURL
 
 network_driver = trove.network.neutron.NeutronDriver
 
+network_label_regex = .*
+
 [database]
 connection = mysql+pymysql://{{ trove_database_user }}:{{ trove_database_password }}@{{ trove_database_address }}/{{ trove_database_name }}
 max_retries = -1
-- 
GitLab