From 78a321d9c23d42a955efe76e10785e0afefac70d Mon Sep 17 00:00:00 2001 From: Harry Huang Date: Thu, 8 Nov 2018 18:49:27 +0800 Subject: Fix controller restart issue JIRA: COMPASS-620 Configuration for lxcbr0 is missing because interfaces file is overwritten during setup of openvswitch. Add configuration of lxcbr0 in setup-openvswitch. Change-Id: I7eadc3fb9ccfd05608d57c4de0a451ba2dceab60 Signed-off-by: Harry Huang (cherry picked from commit 102bb6775c60fefca3c88d6f582f520384636f9f) --- deploy/adapters/ansible/roles/setup-openvswitch/templates/controller.j2 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'deploy/adapters') diff --git a/deploy/adapters/ansible/roles/setup-openvswitch/templates/controller.j2 b/deploy/adapters/ansible/roles/setup-openvswitch/templates/controller.j2 index 315e9fb9..bdc4d447 100755 --- a/deploy/adapters/ansible/roles/setup-openvswitch/templates/controller.j2 +++ b/deploy/adapters/ansible/roles/setup-openvswitch/templates/controller.j2 @@ -86,3 +86,5 @@ iface br-storage inet static bridge_ports {{ intf_storage }} address {{ ip_settings[inventory_hostname]["storage"]["ip"] }} netmask 255.255.255.0 + +source /etc/network/interfaces.d/*.cfg -- cgit 1.2.3-korg