Merge "set hugepage mount point permission for nova when using dpdk"

This commit is contained in:
Zuul 2025-01-17 18:28:02 +00:00 committed by Gerrit Code Review
commit 45c22402a7
2 changed files with 5 additions and 0 deletions

View File

@ -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 () {

View File

@ -0,0 +1,4 @@
---
openvswitch:
- Set nova user as owner for hugepages mount path
...