Client type was designed to allow the auth module to consume
the official keystone client for tests based on the official clients.
Scenario tests have been migrated to tempest client, and CLI tests
are being moved out of tempest, and they don't need an external
auth provider anyways.
There's no need for client_type anymore, removing it.
Change-Id: I6eebd80ea2259b72e8013e65e9a83615f86a3f84
Partially-implemnts: bp/tempest-client-scenarios
OfficialClientManager is unused now that scenario tests use
clients.Manager instead. Dropping the class, the hacking
rule that forbade its use in API tests and related unit tests.
Change-Id: Ib359b9ab0a903436d9d9c265e8c4d82bdd80a496
Scenario tests use the tempest clients, so drop support for
OfficialClientManager from the tenant isolation classes.
Change-Id: I84638210043d376b4f4025a69751536651991293
Partially-implements: bp:tempest-client-scenarios
All scenario tests have been migrated to tempest client.
Migrate scenario utils as well, so that we may drop
the OfficialClientManager completely.
Change-Id: I3ec80de961ba289734f9bc811e4789e7d1b5903c
Partially-implements: bp/tempest-client-scenarios
test_large_ops_scenario does nothing if CONF.scenario.large_ops_number < 1
Set to skip with appropriate message instead
Change-Id: I30843dcaaa4d71efd151f550cb1e5b43b309e198
In javelin, volumes resources are not yet managed.
This patch aims to bring it up again.
Prereq for blueprint:javelin2
Change-Id: I4ef12e5b6e75aff363ad527f2cc932b4108ea019
If server rescue tests are skipped then the resource cleanup method
terminates with AttributeError: type object has no attribute 'volume'.
The fix checks whether volume exist before operating with it.
Change-Id: I6ae7f7bb2ba73313db676bafd597c0934704959a
NetworkScenarioTest was temporarily renamed to NeutronScenarioTest
during the migration of scenario tests to tempest clients.
Now that the migration is complete, restore the original name.
Change-Id: If3e2612c8e971295f94ea422a17faf385cabb5c7
Partially-implements: bp/tempest-client-scenarios
Migration of scenario tests to tempest clients is complete.
Drop the two base classes based on official clients, which
are now unused.
Change-Id: I21354541bace349fbc84bc5f5c0cf6e131ebbd01
Partially-implements: bp/tempest-client-scenarios
Some scenario test classes still references to official clients
after the migration. Cleaning them up.
Neutron check_preconditions validates configuration via discovery.
The general approach in tempest is to rely on configuration rather
than discovery of available services and features.
This code uses a neutron client exception, so rather then migrating
it I'm removing it as it's wrong anyways.
Change-Id: I6994a0109c9ec26b290fd4dce9c524dc4a060a54
Partially-implements: bp/tempest-client-scenarios
When test_server_cfn_init times out trying to reach the server IP the
error message is pretty useless as far as being able to fingerprint the
failure in logstash.
This adds the test caller to the timeout error message like have in the
common waiters code.
Related-Bug: #1374175
Change-Id: Idd225af4e30fd1ab94570ed29d76664826cf965a
For the difficult bugs we are often missing information if we don't
have the full request / response traffic. Provide a new
_log_request_full which functions at a debug level and provides
this. Pretty print the bodies for resp and req for readability.
Change-Id: Ic1f7f324c04fc2d2529c7065b0dcda1640d4fb53
Currently, in "tempest/thirdparty/boto/test_ec2_instance_run.py",
no test case present to test the "reboot_instance" api, similar
to stop_instance, terminate_instance, etc.
Closes-Bug: #1352341
Change-Id: Ifbd8607566961dbf32b40f34ff603f712d856f6a
Remove intersphinx from the docs build as it triggers network calls that
occasionally fail, and we don't really use intersphinx (links other
sphinx documents out on the internet)
This also removes the requirement for internet access during docs build.
This can cause docs jobs to fail if the project errors out on
warnings.
Change-Id: Icdb04bbe9eb931b07e7363ebb852fa9e73b088ea
Related-Bug: #1368910
1. create volumes v2 tests using the existent test class.
2. create a new test class for v1, which inherits v2.
This patch includes the following volumes tests:
- test_snapshot_metadata.py
- test_volumes_snapshots.py
- test_volumes_snapshots_negative.py
Partially implements: blueprint cinder-v2-api-tests
Change-Id: I5e8a8c71d8c3a3b330a60ab0ea9603f8864518bd
Stop triggering triggering a “not installed in virtualenv” every time
bash is called. Since we use this in all tempest based jobs, we have
these unnecessary warnings all over the place.
Change-Id: I8af53c0241dbcd656c274944338384be0f2f250d