From 6d8a25f8f80fd267cf357f4c2e59793b80a88569 Mon Sep 17 00:00:00 2001 From: Franciszek Przewozny Date: Fri, 19 Jul 2024 12:41:57 +0200 Subject: [PATCH] Add /v3 suffix to OPENSTACK_KEYSTONE_URL Change I60162b54bc06e158534d29311d4474b34750c64d removed the '/v3' suffix from horizon_keystone_url variable, but the version is needed for some operations. This patch fixes the "Change password" Horizon function until Horizon bug #2073639 is resolved. Closes-Bug: #2073159 Change-Id: I6ff46b47e9109d0757f2e5ce8019ba591b9892e1 (cherry picked from commit c0db4ac425756315497439cbaf1b4691f91b69e5) (cherry picked from commit e8aa5d212441d3030b6a6224eccc5676f0574d67) --- ansible/roles/horizon/templates/local_settings.j2 | 3 ++- releasenotes/notes/bug-2073159-c54c773c72c8fb11.yaml | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/bug-2073159-c54c773c72c8fb11.yaml diff --git a/ansible/roles/horizon/templates/local_settings.j2 b/ansible/roles/horizon/templates/local_settings.j2 index b4fbbf99d5..f035029dc2 100644 --- a/ansible/roles/horizon/templates/local_settings.j2 +++ b/ansible/roles/horizon/templates/local_settings.j2 @@ -206,7 +206,8 @@ AVAILABLE_REGIONS = [ OPENSTACK_HOST = "{{ kolla_internal_fqdn }}" -OPENSTACK_KEYSTONE_URL = "{{ horizon_keystone_url }}" +# TODO(fprzewozn): URL /v3 suffix is required until Horizon bug #2073639 is resolved +OPENSTACK_KEYSTONE_URL = "{{ horizon_keystone_url }}/v3" OPENSTACK_KEYSTONE_DEFAULT_ROLE = "{{ keystone_default_user_role }}" {% if enable_keystone_federation | bool %} diff --git a/releasenotes/notes/bug-2073159-c54c773c72c8fb11.yaml b/releasenotes/notes/bug-2073159-c54c773c72c8fb11.yaml new file mode 100644 index 0000000000..15d7087780 --- /dev/null +++ b/releasenotes/notes/bug-2073159-c54c773c72c8fb11.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Fixes behaviour of Change Password screen in Horizon until + `bug #2073639 `__ is resolved. + `LP#2073159 `__