From 9f5e397f3b4e97642aec16ee746ce6d118a6649b Mon Sep 17 00:00:00 2001 From: Mitya_Eremeev Date: Tue, 8 Feb 2022 19:36:53 +0300 Subject: [PATCH] Host of compute ironic service equals pod name. If compute ironic pod migrates to another host, old compute ironic service is not deleted and in 'down' status forever. Unless it's deleted manually. New compute ironic service is created successfuly and in 'up' status. This error behavior is due to host of compute ironic service equals node name because of host networking. The patch disables host networking which solves the issue. Story: #2009843 Task: #44446 Change-Id: Iec86be4961cbf3a74c8028cd981ed2a9f6584add --- nova/Chart.yaml | 2 +- nova/templates/statefulset-compute-ironic.yaml | 1 - releasenotes/notes/nova.yaml | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nova/Chart.yaml b/nova/Chart.yaml index e3f25fc40d..023058aca2 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.2.31 +version: 0.2.32 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/statefulset-compute-ironic.yaml b/nova/templates/statefulset-compute-ironic.yaml index b400e203f8..377555d669 100644 --- a/nova/templates/statefulset-compute-ironic.yaml +++ b/nova/templates/statefulset-compute-ironic.yaml @@ -53,7 +53,6 @@ spec: {{ .Values.labels.agent.compute_ironic.node_selector_key }}: {{ .Values.labels.agent.compute_ironic.node_selector_value }} securityContext: runAsUser: 0 - hostNetwork: true hostPID: true dnsPolicy: ClusterFirstWithHostNet initContainers: diff --git a/releasenotes/notes/nova.yaml b/releasenotes/notes/nova.yaml index 775ffc656d..518af5ec96 100644 --- a/releasenotes/notes/nova.yaml +++ b/releasenotes/notes/nova.yaml @@ -52,4 +52,5 @@ nova: - 0.2.29 Remove ssh-config - 0.2.30 Improve health probe logging - 0.2.31 Update oslo messaging get_transport + - 0.2.32 Host of ironic compute service equals pod name ...