Alex Tomic
75088205f1
Change nova_proxy_admin_tenant_name to id
The task manager can be configured with periodic events that check for the existence of running nova instances. The events run via a separate admin connection to nova. Taskmanager.Manager populates the admin client context with the tenant name provided by nova_proxy_admin_tenant_name parameter instead of the uuid, which results in an invalid management url that is composed of the two parameters: <nova_compute_url>/<nova_proxy_admin_tenant_name>. Changing tenant_name to tenant_id results in a valid endpoint. DocImpact deprecating option 'nova_proxy_admin_tenant_name' to 'nova_proxy_admin_tenant_id' Change-Id: Ia1315e41288ab1b24ac402bad15176cb1ae0e5cd Co-Authored-By: Li Ma <skywalker.nick@gmail.com> Closes-Bug: #1289101
Trove
Trove is Database as a Service for Open Stack.
Usage for integration testing
If you'd like to start up a fake Trove API daemon for integration testing with your own tool, run:
Stop the server with:
Tests
To run all tests and PEP8, run tox, like so:
To run just the tests for Python 2.7, run:
To run just PEP8, run:
To generate a coverage report,run:
(note: on some boxes, the results may not be accurate unless you run it twice)
If you want to run only the tests in one file you can use testtools e.g.
Description
Languages
Python
95%
Shell
4.9%