Add test list_servers_filtered_by_name_regex

The nova servers API supports full regex filtering on names. Add a test
for basic regex support.

Change-Id: Iddd5908d7daa5d5b20cb29dd0f403fcdd3ecefcf
Migrate telemetry API tests to resource_* fixtures

Partially-implements bp resource-cleanup

Change-Id: I47e007ef70b79044d78c08b07b222183e1025f70
Fix MismatchError for LB scenario test

It has been observed that at a given iteration only one of the two HTTP
services responds to requests made to the VIP. This is somewhat rare and
it may be caused by the fact that the number of requests being sent is
not high enough for the ROUNDROBIN algorithm to equally distribute requests
across all the members in the pool.

Increasing the number of retries makes the test runtime only slightly
longer, but it should give us more confidence that, if we keep observing
the same type of failure, this can be ruled out.

At the same time, this patch also relaxes the check so that it just verifies
that member pools are load balanced at least once. Verifying that the number
of requests are spread evenly across is always going to be prone to transient
condition and it is beyond the scope of a scenario test that validates whether
Neutron LBaaS is wiring things correctly.

Closes-bug: #1358857

Change-Id: Ibc0aeb092a4643eb151cef8d7d942d9e3d1ed71c
Add an internal test method for rebooting a server

test_reboot_server_hard and test_reboot_server_soft contain almost
the same code and they are redundant.
This patch adds an internal test method and makes them use the method
for cleanup.

Change-Id: I98fc519b5bb2de8cc47007ba9138247f4c0f3369
javelin: fix user destruction

Use the right Python method to destroy an user:
- get the tenant_id
- get the user_id (with tenant_id)
- delete the user using user_id

Change-Id: I2121fedf563cc4d41f8ad8dfcaf55d767d87d69f
Drop OfficialClientManager from tenant isolation

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
Drop OfficialClientManager and references to it

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
Drop client_type for auth module

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
Removes deprecated net_common module

Module net_common was replaced by module net_resources as part of migration of
scenario tests to tempest clients.
This patch fixes a few rogue references and removes this module completely.

Change-Id: I5426e030895d219ac456b3cceb361675c839b876
Partially-implements: bp/tempest-client-scenarios
Merge "Drop OfficialClientManager from tenant isolation"
Merge "Migrate telemetry API tests to resource_* fixtures"
Merge "javelin: fix user destruction"
Remove "nova-manage flavor list" CLI test

The "nova-manage flavor" sub-commands were deprecated in Juno and Nova
change I1798c8a0697009b3dcebeb818580c8323880e395 removes them.

This removes the test_flavor_list test and changes the test_debug_flag
and test_verbose_flag tests to use 'nova-manage service list' instead of
'nova-manage flavor list'.

Change-Id: I4e2399f2fbab2c20299dd62c104b9220c1d36fb2
Revert "Add "reboot_instance" EC2 API test"

This reverts commit 120739800aac59875f2eef003f51bd2da1c1a5a4.

This test never worked well it hit bug #1352341.

Change-Id: Ia254c47119f8936c9f5b3ab60a8a2d75c10e32f2
Related-Bug: #1352341
skip cfn_init test, it is failing too much

And there is no current progress on the bug.

Change-Id: I2604805d06a87973b8c30e56457fcd3648a666f4
Related-Bug: #1374175
Merge "Add test list_servers_filtered_by_name_regex"
Merge "Remove "nova-manage flavor list" CLI test"
Merge "Revert "Add "reboot_instance" EC2 API test""
Merge "Drop OfficialClientManager and references to it"
Use shared values for test_security_group_rules

In test_security_group_rules, most created security group rules are
the same. This patch adds shared values and makes these tests use
them for cleanup.

Change-Id: Ie86c33217fc6b065844e31f9b6e37be93322f2cb