aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Milewski <vurmil@gmail.com>2026-06-19 17:28:59 +0200
committerPierre Riteau <pierre@stackhpc.com>2026-06-22 15:21:06 +0000
commitc4a5b7309f0202ea3d87af0dc9199495850bc846 (patch)
tree12d549765920fff8c2f46abfcf012a05be9ad6d4
parent3082ed5b28229389bc47bb5ef03a935ec47e4c59 (diff)
downloadkolla-ansible-c4a5b7309f0202ea3d87af0dc9199495850bc846.tar.gz
kolla-ansible-c4a5b7309f0202ea3d87af0dc9199495850bc846.zip
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 <vurmil@gmail.com> (cherry picked from commit e101828d1887522efcd1cf7fae3606efc05f513a)
-rw-r--r--ansible/roles/barbican/defaults/main.yml2
-rw-r--r--releasenotes/notes/bug-2157639-93e313f168b18133.yaml6
2 files changed, 7 insertions, 1 deletions
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 <https://launchpad.net/bugs/2157639>`__