From b7bd6ddd7af6c118e37c979689703343ca85631c Mon Sep 17 00:00:00 2001 From: Fernando Theirs Date: Fri, 9 Apr 2021 14:54:50 -0300 Subject: [PATCH] Download openrc file for subclouds This change sets adminURL as secondary endpoint. When trying to download openrc file for subcloud-N, it is only allowed to use adminURL endpoint. Since publicURL is used by default, it is necessary to go to fallback option. Closes-Bug: 1923884 Signed-off-by: Fernando Theirs Change-Id: Ifd0a32a03a458ea99f8589a524e562220a9f0b74 (cherry picked from commit c308974419d1174df75a6d573e0f3c5a7d80e2ad) --- .../local/local_settings.d/_30_stx_local_settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/starlingx-dashboard/starlingx-dashboard/starlingx_dashboard/local/local_settings.d/_30_stx_local_settings.py b/starlingx-dashboard/starlingx-dashboard/starlingx_dashboard/local/local_settings.d/_30_stx_local_settings.py index cdc1705c..632897e8 100644 --- a/starlingx-dashboard/starlingx-dashboard/starlingx_dashboard/local/local_settings.d/_30_stx_local_settings.py +++ b/starlingx-dashboard/starlingx-dashboard/starlingx_dashboard/local/local_settings.d/_30_stx_local_settings.py @@ -78,6 +78,7 @@ HORIZON_CONFIG["user_home"] = \ "starlingx_dashboard.utils.settings.get_user_home" OPENSTACK_ENDPOINT_TYPE = "adminURL" +SECONDARY_ENDPOINT_TYPE = "adminURL" # Override Django tempory file upload directory # Directory in which upload streamed files will be temporarily saved. A value