Fix controller restart issue 71/64771/2
authorHarry Huang <huangxiangyu5@huawei.com>
Thu, 8 Nov 2018 10:49:27 +0000 (18:49 +0800)
committerHarry Huang <huangxiangyu5@huawei.com>
Fri, 9 Nov 2018 07:43:00 +0000 (07:43 +0000)
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>
deploy/adapters/ansible/roles/setup-openvswitch/templates/controller.j2

index 315e9fb..bdc4d44 100755 (executable)
@@ -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