From 6e98191ec3f97ea37351881b2ba772c86dde9cd2 Mon Sep 17 00:00:00 2001 From: Alex Welsh Date: Mon, 20 Jul 2026 14:11:46 +0100 Subject: Ensure OpenSearch waits for recovery during upgrade There's actually two fixes here The first waits until the OpenSearch state is healthy before moving on to Dashboards. Otherwise, OpenSearch Dashboards does its internal `.kibana` index migration before OpenSearch has fully recovered. This creates a corrupted `.kibana_1` index, making Dashboard enter an infinite polling loop and fail to start. The second adds retries to the "Create OpenSearch Dashboards Index Pattern" task. Dashboards seems to take a while to start up post-upgrade, I think again, it's doing some internal migrations for the latest version. Without first checking the API is ready, it consistently fails to be ready, and throws 503s by the time we try to create index patterns. Change-Id: Ic06ccc6b7ec22fa1b0cfa2a144878672d314e93e Closes-Bug: #2161333 Signed-off-by: Alex Welsh (cherry picked from commit 79f6f2a049bad1d3cb51ba50981a01f63503a329) --- releasenotes/notes/bug-2161333-aeaa498fccaadf51.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 releasenotes/notes/bug-2161333-aeaa498fccaadf51.yaml (limited to 'releasenotes') diff --git a/releasenotes/notes/bug-2161333-aeaa498fccaadf51.yaml b/releasenotes/notes/bug-2161333-aeaa498fccaadf51.yaml new file mode 100644 index 000000000..226c5a8eb --- /dev/null +++ b/releasenotes/notes/bug-2161333-aeaa498fccaadf51.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Fixes OpenSearch 503 errors on Create OpenSearch Dashboards Index Pattern + task during service upgrade. + `LP#2161333 `__ -- cgit v1.2.3