aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2018-11-08 18:49:27 +0800
committerHarry Huang <huangxiangyu5@huawei.com>2018-11-09 07:43:00 +0000
commit102bb6775c60fefca3c88d6f582f520384636f9f (patch)
tree8b7eac857eb44167ae61ea6b5fd55f44f33412a1 /deploy/adapters/ansible
parentcb25247cf23d560b774236401217e8b53da1da4c (diff)
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 <huangxiangyu5@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible')
-rwxr-xr-xdeploy/adapters/ansible/roles/setup-openvswitch/templates/controller.j22
1 files changed, 2 insertions, 0 deletions
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