StarlingX Horizon plugins for new StarlingX services
Go to file
Yuxing Jiang ed99d3960c Align OS_AUTH_URL in admin-openrc.sh
The admin-openrc.sh can be downloaded from Horizon. This file can be
used for authentication as sysadmin in system controllers. However,
as the keystone public endpoint of region SystemController differs
from the RegionOne. If a user download an RC file of SystemController
and use the OS_AUTH_URL to authenticate, a HTTP 401 Error(The request
you have made requires authentication) will be produced.

In the upstream project, the OS_AUTH_URL is got according to the
"Central Cloud Region" and shown in the view. This commit overwrites
the openrc template, aligns the OS_AUTH_URL in the admin-openrc.sh of
region SystemController with the RegionOne by port replacement. As it
is a specific usage for starlingx rather than a generic usage, it will
not go to the Horizon project.

Test:
1. Choose the "Central Cloud Region" in Horizon as "SystemController"
2. Download the admin-openrc.sh via API Access -> Download OpenStack
RC File
3. Check the OS_AUTH_URL is pointing to then keystone pulic endpoint
of RegionOne
4. Check the keystone pulic endpoint is still correct in the web page

Change-Id: I1f43f79364f5cc7bff382c1ae90a7f8f801abedb
Closes-Bug: 1892090
Signed-off-by: Yuxing Jiang <yuxing.jiang@windriver.com>
2020-08-31 09:35:52 -04:00
doc Switch to newer openstackdocstheme and reno versions 2020-06-04 14:24:43 +02:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-06-04 14:24:43 +02:00
starlingx-dashboard Align OS_AUTH_URL in admin-openrc.sh 2020-08-31 09:35:52 -04:00
.gitignore [Doc] Release Notes Management 2018-09-25 05:44:57 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:52:27 +00:00
.zuul.yaml Tox and Zuul job for the bandit code scan in stx/gui 2020-06-04 14:13:28 +00:00
centos_build_layer.cfg Build layering, add layer build config file 2019-10-15 22:38:09 +08:00
centos_dev_wheels.inc Add the starlingx-dashboard module to dev wheels 2019-03-20 14:09:33 -04:00
centos_pkg_dirs Add starlingx dashboard package 2018-09-04 16:04:49 -04:00
centos_stable_wheels.inc Add starlingx-dashboard to stable wheels for stx-horizon 2019-04-04 22:47:29 -04:00
CONTRIBUTING.rst Cleaning up gui plugin 2019-11-12 17:21:02 -05:00
HACKING.rst Update the URL in doc 2018-09-24 22:26:46 +08:00
LICENSE StarlingX open source release updates 2018-05-20 20:53:11 -07:00
pylint.rc Enable Signature Differs Warning in pylint 2019-03-18 12:06:03 -04:00
test-requirements.txt Merge "Switch to newer openstackdocstheme and reno versions" 2020-06-08 17:55:08 +00:00
tox.ini Tox and Zuul job for the bandit code scan in stx/gui 2020-06-04 14:13:28 +00:00