testr list-tests fails if compute service is absent in a stack
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
High
|
Matthew Treinish |
Bug Description
testr list-tests will fail if you provide username and password in identity group and compute service is not present in a stack
user@ubuntu:
running=
OS_STDERR_
OS_TEST_
OS_TEST_
${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_
--- import errors ---
Failed to call load_tests:
Traceback (most recent call last):
File "/usr/local/
return load_tests(self, tests, pattern)
File "tempest/
scenario_flavor = scenario_
File "tempest/
_, flavors = self.flavors_
File "tempest/
resp, body = self.get(url)
File "tempest/
return self.request('GET', url, extra_headers, headers)
File "tempest/
headers=
File "tempest/
method, url, headers, body, self.filters)
File "tempest/auth.py", line 150, in auth_request
filters, method, url, headers, body)
File "tempest/auth.py", line 213, in _decorate_request
base_url = self.base_
File "tempest/auth.py", line 306, in base_url
raise exceptions.
EndpointNotFound: Endpoint not found
Details: compute
Non-zero exit code (2) from test listing.
This issue results in me being unable to run tempest tox py27 tests unless I also have a devstack running. Prior to this issue I had tempest py27 running as a part of a continuous integration system that ran the py27 tests of all modules without starting up devstack for this purpose.