
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
python-tempestconf
Overview
python-tempestconf will automatically generate the tempest configuration based on your cloud.
- Free software: Apache license
- Documentation: https://docs.opendev.org/openinfra/python-tempestconf/latest/
- Source: https://opendev.org/openinfra/python-tempestconf
- Bugs: https://storyboard.openstack.org/#!/project/912
- Release notes: https://docs.opendev.org/openinfra/python-tempestconf/latest/releasenotes
Description
Languages
Python
99.8%
Jinja
0.2%