diff --git a/openvswitch/templates/bin/_openvswitch-vswitchd.sh.tpl b/openvswitch/templates/bin/_openvswitch-vswitchd.sh.tpl index dad613c31..d32d2ec9e 100644 --- a/openvswitch/templates/bin/_openvswitch-vswitchd.sh.tpl +++ b/openvswitch/templates/bin/_openvswitch-vswitchd.sh.tpl @@ -25,6 +25,7 @@ OVS_PID=/run/openvswitch/ovs-vswitchd.pid {{- if .Values.conf.ovs_dpdk.enabled }} mkdir -p /run/openvswitch/{{ .Values.conf.ovs_dpdk.vhostuser_socket_dir }} chown {{ .Values.pod.user.nova.uid }}.{{ .Values.pod.user.nova.uid }} /run/openvswitch/{{ .Values.conf.ovs_dpdk.vhostuser_socket_dir }} +chown {{ .Values.pod.user.nova.uid }}.{{ .Values.pod.user.nova.uid }} {{ .Values.conf.ovs_dpdk.hugepages_mountpath }} {{- end }} function start () { diff --git a/releasenotes/notes/openvswitch-5c0d74ca4f420e56.yaml b/releasenotes/notes/openvswitch-5c0d74ca4f420e56.yaml new file mode 100644 index 000000000..fdd62d4a1 --- /dev/null +++ b/releasenotes/notes/openvswitch-5c0d74ca4f420e56.yaml @@ -0,0 +1,4 @@ +--- +openvswitch: + - Set nova user as owner for hugepages mount path +...