python-tempestconf/config_tempest
Chi Wai Chan 3366caea2c
Fix compute, volume, and share endpoint discovery.
The endpoint discovery mechanism in compute, volume, and share use
no_port_cut_url to cut the URLs after the version (including the
version) if port is not present.  However, when the port is present, the
no_port_cut_url method sets the top_level to True when calling do_get
method. This causes the do_get method also cut the top_level_path of the
URLs because by default the top_level_path is set to "". This behavior
is not desired because different clouds maybe have endpoints with
different top_level_path other than "". Instead of using
no_port_cut_url, we can use utils.get_base_url to properly cut the URLs
after and including the version.

Story: #2010968
Task: #49109
Change-Id: I221b6267afce90b8b7e22d468f0824c9365f4a91
2023-12-12 15:22:55 +08:00
..
services Fix compute, volume, and share endpoint discovery. 2023-12-12 15:22:55 +08:00
tests Fix compute, volume, and share endpoint discovery. 2023-12-12 15:22:55 +08:00
__init__.py Refactored python-tempestconf to work with devstack 2017-01-18 17:47:00 +05:30
accounts.py Replace git.openstack.org URLs with opendev.org URLs 2019-04-23 13:15:29 +02:00
clients.py Fix and improve SSL configuration 2020-12-08 15:04:12 +00:00
constants.py Update default cirros version to 0.5.2 2021-04-28 09:23:36 -04:00
credentials.py fix: un-hardcode v3 credentials 2023-08-21 11:29:06 +00:00
flavors.py Allow to specify min flavor memory and disk size 2019-03-29 10:14:05 +00:00
main.py fix: un-hardcode v3 credentials 2023-08-21 11:29:06 +00:00
profile.py Replace yaml.load() with yaml.safe_load() 2020-03-09 10:24:11 +01:00
tempest_conf.py Change class variables to instance variables 2022-11-24 08:56:45 +00:00
users.py Support Admin admin user and role 2023-09-18 10:15:25 +02:00
utils.py Create utils.py 2018-08-13 11:57:14 +02:00