openstacksdk/openstack/tests
Monty Taylor 5534590861 Replace catalog-v3.json with keystoneauth fixture
As a first step to having a reusable fixture, replace our
use of catalog-v3.json with a fixture built on top of keystoneauth
token fixtures. Make a catalog containing all of the openstack
services.

There are a bunch of places where we just have some things
hardcoded that change with the auto-generation - like bare-metal
to baremetal. Those are whatever.

There are also places where the test code is requesting an admin
url but in the old catalog the admin and non-admin were
the same, so we were not catching that this was incorrect. Started
to fix this, but it got hairy and it's only a keystone v2 thing
which is on lifesupport. Make the admin and public urls the same
just for ease of landing this patch. We can go back in and make
them different and audit all the v2 keystone codepaths if anyone
decides to care about keystone v2.

There was a bunch of things hardcoded for block-storage which
break when we actually use proxies, which in turn breaks when
we try to properly use a better catalog fixture.

As a followup, we should stop forcing block_storage_api_version=2
because that's absurd, but this is a big enough patch as it is.

Also, volume quota calls were in the image file. Ooops.

Change-Id: I308cd159a5b71c94511f86c9d46bdbc589580c6d
2019-08-20 08:45:53 -04:00
..
ansible Enable ansible module test for keypair to check return data 2019-08-03 20:57:22 +02:00
functional Replace catalog-v3.json with keystoneauth fixture 2019-08-20 08:45:53 -04:00
unit Replace catalog-v3.json with keystoneauth fixture 2019-08-20 08:45:53 -04:00
__init__.py Sync hacking requirement with global requirements 2014-06-11 11:00:42 -07:00
base.py Restore timeout_scaling_factor 2018-09-25 14:05:23 -05:00
fakes.py Update api-ref location 2019-07-22 20:47:57 +02:00