Revert "Remove ctl socket ownership"
OVS_CTL file is required by other parts of the init
script.
This reverts commit a9693843d7
.
Change-Id: Ia11dc18e0b13d5fe01918a4c7febb82b19303527
This commit is contained in:
parent
a9693843d7
commit
c3fe19f259
@ -19,6 +19,11 @@ set -ex
|
|||||||
OVS_SOCKET=/run/openvswitch/db.sock
|
OVS_SOCKET=/run/openvswitch/db.sock
|
||||||
chown neutron: ${OVS_SOCKET}
|
chown neutron: ${OVS_SOCKET}
|
||||||
|
|
||||||
|
# This enables the usage of 'ovs-appctl' from neutron pod.
|
||||||
|
OVS_PID=$(cat /run/openvswitch/ovs-vswitchd.pid)
|
||||||
|
OVS_CTL=/run/openvswitch/ovs-vswitchd.${OVS_PID}.ctl
|
||||||
|
chown neutron: ${OVS_CTL}
|
||||||
|
|
||||||
function get_dpdk_config_value {
|
function get_dpdk_config_value {
|
||||||
values=$1
|
values=$1
|
||||||
filter=$2
|
filter=$2
|
||||||
|
Loading…
Reference in New Issue
Block a user