From c4a5b7309f0202ea3d87af0dc9199495850bc846 Mon Sep 17 00:00:00 2001 From: Piotr Milewski Date: Fri, 19 Jun 2026 17:28:59 +0200 Subject: Fix stray trailing quote in barbican_api healthcheck Remove a stray trailing quote from the barbican_api healthcheck URL. The quote causes shell parsing failures, incorrectly marking the container as unhealthy. Closes-Bug: #2157639 Change-Id: I3e9b791d0ee2ce54af862f3e30e37e6600a350bd Signed-off-by: Piotr Milewski (cherry picked from commit e101828d1887522efcd1cf7fae3606efc05f513a) --- ansible/roles/barbican/defaults/main.yml | 2 +- releasenotes/notes/bug-2157639-93e313f168b18133.yaml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/bug-2157639-93e313f168b18133.yaml diff --git a/ansible/roles/barbican/defaults/main.yml b/ansible/roles/barbican/defaults/main.yml index 5e1ad0287..9d25bf6ea 100644 --- a/ansible/roles/barbican/defaults/main.yml +++ b/ansible/roles/barbican/defaults/main.yml @@ -109,7 +109,7 @@ barbican_api_healthcheck_test: - >- healthcheck_curl {{ 'https' if barbican_enable_tls_backend | bool else 'http' }}://{{ - api_interface_address | put_address_in_context('url') }}:{{ barbican_api_listen_port }}/healthcheck" + api_interface_address | put_address_in_context('url') }}:{{ barbican_api_listen_port }}/healthcheck barbican_api_healthcheck_timeout: "{{ default_container_healthcheck_timeout }}" barbican_api_healthcheck: interval: "{{ barbican_api_healthcheck_interval }}" diff --git a/releasenotes/notes/bug-2157639-93e313f168b18133.yaml b/releasenotes/notes/bug-2157639-93e313f168b18133.yaml new file mode 100644 index 000000000..f93516f79 --- /dev/null +++ b/releasenotes/notes/bug-2157639-93e313f168b18133.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Fixed a stray trailing quote in the ``barbican_api`` healthcheck + command that caused containers to be falsely reported as unhealthy. + `LP#2157639 `__ -- cgit v1.2.3