Proper chown /run/openvswitch/db.sock under OVN

Change-Id: I7a9e24baacb3ab5768211997d6e9f7c65407bb83
This commit is contained in:
ricolin 2024-04-02 21:38:49 +08:00
parent f30931d026
commit 11121d5f77
4 changed files with 7 additions and 1 deletions

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Neutron
name: neutron
version: 0.3.36
version: 0.3.37
home: https://docs.openstack.org/neutron/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Neutron/OpenStack_Project_Neutron_vertical.png
sources:

View File

@ -17,6 +17,9 @@ limitations under the License.
set -ex
chown ${NEUTRON_USER_UID} /var/lib/neutron/openstack-helm
{{- if (has "ovn" .Values.network.backend) }}
chown ${NEUTRON_USER_UID} /run/openvswitch/db.sock
{{- end }}
{{- if and ( empty .Values.conf.neutron.DEFAULT.host ) ( .Values.pod.use_fqdn.neutron_agent ) }}
mkdir -p /tmp/pod-shared

View File

@ -101,6 +101,8 @@ spec:
command:
- /tmp/neutron-metadata-agent-init.sh
volumeMounts:
- name: run-openvswitch
mountPath: /run/openvswitch
- name: pod-tmp
mountPath: /tmp
- name: neutron-bin

View File

@ -78,4 +78,5 @@ neutron:
- 0.3.34 Update metadata endpoint
- 0.3.35 Do not attach non-existing interfaces to br-ex bridge for OVS agent
- 0.3.36 Enable custom annotations for Openstack pods
- 0.3.37 Proper chown /run/openvswitch/db.sock under OVN
...