From 097632ebbfdc77865f82f77107ba261b677d3889 Mon Sep 17 00:00:00 2001 From: Chris Wedgwood Date: Tue, 22 Dec 2020 17:01:37 -0600 Subject: [PATCH] [nova-compute] Enable hostIPC IPC is used by the multipath processes, hostIPC should be set so semaphore operations work between the nova-compute pod and the host. Without this things like `multipath -f ...` stall until timeout. Change-Id: Iaeb6dff2ae934eabf5faddf930ba2029c0698f90 --- nova/Chart.yaml | 2 +- nova/templates/daemonset-compute.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/nova/Chart.yaml b/nova/Chart.yaml index a8245ca0dc..3d02890284 100644 --- a/nova/Chart.yaml +++ b/nova/Chart.yaml @@ -14,7 +14,7 @@ apiVersion: v1 appVersion: v1.0.0 description: OpenStack-Helm Nova name: nova -version: 0.1.4 +version: 0.1.5 home: https://docs.openstack.org/nova/latest/ icon: https://www.openstack.org/themes/openstack/images/project-mascots/Nova/OpenStack_Project_Nova_vertical.png sources: diff --git a/nova/templates/daemonset-compute.yaml b/nova/templates/daemonset-compute.yaml index 38b9b0d9fe..ad7e76581e 100644 --- a/nova/templates/daemonset-compute.yaml +++ b/nova/templates/daemonset-compute.yaml @@ -80,6 +80,7 @@ spec: {{ .Values.labels.agent.compute.node_selector_key }}: {{ .Values.labels.agent.compute.node_selector_value }} hostNetwork: true hostPID: true + hostIPC: true dnsPolicy: ClusterFirstWithHostNet initContainers: {{ tuple $envAll "pod_dependency" $mounts_nova_compute_init | include "helm-toolkit.snippets.kubernetes_entrypoint_init_container" | indent 8 }}