File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -7,4 +7,6 @@ if [[ $(stat -c %a /var/log/kolla/openvswitch) != "755" ]]; then
7
7
chmod 755 /var/log/kolla/openvswitch
8
8
fi
9
9
10
+ chown -R openvswitch:openvswitch /var/log/kolla/openvswitch
11
+
10
12
. /usr/local/bin/kolla_openvswitch_extend_start
Original file line number Diff line number Diff line change 8
8
if [[ $( ovsdb-tool needs-conversion /var/lib/openvswitch/conf.db) == yes ]]; then
9
9
ovsdb-tool convert " /var/lib/openvswitch/conf.db"
10
10
fi
11
+
12
+ if [[ ! -r " /var/log/kolla/openvswitch/ovsdb-server.log" ]]; then
13
+ touch /var/log/kolla/openvswitch/ovsdb-server.log
14
+ chown openvswitch:openvswitch /var/log/kolla/openvswitch/ovsdb-server.log
15
+ fi
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
+ if [[ ! -r " /var/log/kolla/openvswitch/ovs-vswitchd.log" ]]; then
4
+ touch /var/log/kolla/openvswitch/ovs-vswitchd.log
5
+ chown openvswitch:openvswitch /var/log/kolla/openvswitch/ovs-vswitchd.log
6
+ fi
7
+
3
8
modprobe openvswitch
You can’t perform that action at this time.
0 commit comments