From 6cebb49da6a1b4535914198d7dae00a96d009062 Mon Sep 17 00:00:00 2001 From: Lucas de Ataides Date: Mon, 4 Mar 2024 21:20:04 -0300 Subject: [PATCH] Add readiness probe initial delay to some charts In some environments, the readiness probe for the cinder-api, glance-api and heat-api are failing, but the liveness probes are not. This change adds a initialDelaySeconds value to the readiness probes of these deployments. Change-Id: Id3859cee9a2827f9c1fda9dcdca0a23879eb45d4 Signed-off-by: Lucas de Ataides --- cinder/Chart.yaml | 2 +- cinder/templates/deployment-api.yaml | 1 + glance/Chart.yaml | 2 +- glance/templates/deployment-api.yaml | 1 + heat/Chart.yaml | 2 +- heat/templates/deployment-api.yaml | 1 + releasenotes/notes/cinder.yaml | 1 + releasenotes/notes/glance.yaml | 1 + releasenotes/notes/heat.yaml | 1 + 9 files changed, 9 insertions(+), 3 deletions(-) diff --git a/cinder/Chart.yaml b/cinder/Chart.yaml index 827fa2b07a..8056455c9e 100644 --- a/cinder/Chart.yaml +++ b/cinder/Chart.yaml @@ -14,7 +14,7 @@ apiVersion: v1 appVersion: v1.0.0 description: OpenStack-Helm Cinder name: cinder -version: 0.3.19 +version: 0.3.20 home: https://docs.openstack.org/cinder/latest/ icon: https://www.openstack.org/themes/openstack/images/project-mascots/Cinder/OpenStack_Project_Cinder_vertical.png sources: diff --git a/cinder/templates/deployment-api.yaml b/cinder/templates/deployment-api.yaml index 9c9e16d5b6..641ed3b4aa 100644 --- a/cinder/templates/deployment-api.yaml +++ b/cinder/templates/deployment-api.yaml @@ -100,6 +100,7 @@ spec: scheme: {{ tuple "volume" "service" "api" . | include "helm-toolkit.endpoints.keystone_endpoint_scheme_lookup" | upper }} path: / port: {{ tuple "volume" "service" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }} + initialDelaySeconds: 30 livenessProbe: httpGet: scheme: {{ tuple "volume" "service" "api" . | include "helm-toolkit.endpoints.keystone_endpoint_scheme_lookup" | upper }} diff --git a/glance/Chart.yaml b/glance/Chart.yaml index 56f9d7266d..f1b43edbf1 100644 --- a/glance/Chart.yaml +++ b/glance/Chart.yaml @@ -14,7 +14,7 @@ apiVersion: v1 appVersion: v1.0.0 description: OpenStack-Helm Glance name: glance -version: 0.4.19 +version: 0.4.20 home: https://docs.openstack.org/glance/latest/ icon: https://www.openstack.org/themes/openstack/images/project-mascots/Glance/OpenStack_Project_Glance_vertical.png sources: diff --git a/glance/templates/deployment-api.yaml b/glance/templates/deployment-api.yaml index 10d691e445..e836a61fce 100644 --- a/glance/templates/deployment-api.yaml +++ b/glance/templates/deployment-api.yaml @@ -153,6 +153,7 @@ spec: readinessProbe: tcpSocket: port: {{ tuple "image" "service" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }} + initialDelaySeconds: 30 command: - /tmp/nginx.sh - start diff --git a/heat/Chart.yaml b/heat/Chart.yaml index 0e647a2820..c7ca592201 100644 --- a/heat/Chart.yaml +++ b/heat/Chart.yaml @@ -14,7 +14,7 @@ apiVersion: v1 appVersion: v1.0.0 description: OpenStack-Helm Heat name: heat -version: 0.3.11 +version: 0.3.12 home: https://docs.openstack.org/heat/latest/ icon: https://www.openstack.org/themes/openstack/images/project-mascots/Heat/OpenStack_Project_Heat_vertical.png sources: diff --git a/heat/templates/deployment-api.yaml b/heat/templates/deployment-api.yaml index 2eb72218e1..05f8feaeb6 100644 --- a/heat/templates/deployment-api.yaml +++ b/heat/templates/deployment-api.yaml @@ -85,6 +85,7 @@ spec: scheme: {{ tuple "orchestration" "service" "api" . | include "helm-toolkit.endpoints.keystone_endpoint_scheme_lookup" | upper }} path: / port: {{ tuple "orchestration" "service" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }} + initialDelaySeconds: 30 livenessProbe: httpGet: scheme: {{ tuple "orchestration" "service" "api" . | include "helm-toolkit.endpoints.keystone_endpoint_scheme_lookup" | upper }} diff --git a/releasenotes/notes/cinder.yaml b/releasenotes/notes/cinder.yaml index 519aa80aa9..249889a1bc 100644 --- a/releasenotes/notes/cinder.yaml +++ b/releasenotes/notes/cinder.yaml @@ -69,4 +69,5 @@ cinder: - 0.3.17 Use uWSGI for API service - 0.3.18 Enable custom annotations for Openstack pods - 0.3.19 Add 2024.1 overrides + - 0.3.20 Add readiness probe initial delay ... diff --git a/releasenotes/notes/glance.yaml b/releasenotes/notes/glance.yaml index aae3cae11d..70433f7511 100644 --- a/releasenotes/notes/glance.yaml +++ b/releasenotes/notes/glance.yaml @@ -53,4 +53,5 @@ glance: - 0.4.17 Update Ceph images to Jammy and Reef 18.2.1 - 0.4.18 Enable custom annotations for Openstack pods - 0.4.19 Add 2024.1 overrides + - 0.4.20 Add readiness probe initial delay ... diff --git a/releasenotes/notes/heat.yaml b/releasenotes/notes/heat.yaml index 55900e69cf..4d3a78e6ba 100644 --- a/releasenotes/notes/heat.yaml +++ b/releasenotes/notes/heat.yaml @@ -37,4 +37,5 @@ heat: - 0.3.9 Uses uWSGI for API services - 0.3.10 Enable custom annotations for Openstack pods - 0.3.11 Add 2024.1 overrides + - 0.3.12 Add readiness probe initial delay ...