set hugepage mount point permission for nova when using dpdk
Change-Id: Ic4b6e8aac5a4c6b6398e5ef03fa9608c43f766ed
This commit is contained in:
parent
558ed90132
commit
e15d449f0f
openvswitch/templates/bin
releasenotes/notes
@ -25,6 +25,7 @@ OVS_PID=/run/openvswitch/ovs-vswitchd.pid
|
|||||||
{{- if .Values.conf.ovs_dpdk.enabled }}
|
{{- if .Values.conf.ovs_dpdk.enabled }}
|
||||||
mkdir -p /run/openvswitch/{{ .Values.conf.ovs_dpdk.vhostuser_socket_dir }}
|
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 }} /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 }}
|
{{- end }}
|
||||||
|
|
||||||
function start () {
|
function start () {
|
||||||
|
4
releasenotes/notes/openvswitch-5c0d74ca4f420e56.yaml
Normal file
4
releasenotes/notes/openvswitch-5c0d74ca4f420e56.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
openvswitch:
|
||||||
|
- Set nova user as owner for hugepages mount path
|
||||||
|
...
|
Loading…
x
Reference in New Issue
Block a user