RestClient:keystone_auth hides requests and errors

RestClient::keystone_auth did not logged requests/responses and instead
 of reporting unexpected status codes it silently returned None.
(Which causes 'NoneType is not iterrable' for example for HTTP 500)

Also removed setting of unused variable tenant_id.

Change-Id: I60e074a1180aca89006cc6c6345a2288b125540f
Test cases for Endpoints V3 API

Adds a test script "test_endpoints.py" so as to test CREATE, DELETE,
LIST, UPDATE API actions. endpoints_client.py is added with all the required
methods. Implementation done in JSON and XML interfaces.

Implements: blueprint keystone-v3-endpoints-api-test

Change-Id: Icd47728d161d440440f6b4f103a55125da8bbf29
xenapi:live-block-migration - fix XML client test

Fixes bug 1161356

KeyError: 'OS-EXT-SRV-ATTR:host' was raised while testing the live block
migration. This patch overrides the host detection in the XML client
case.

Change-Id: I90638d5b4a908171472611c4da5c5d915979ea6a
Adds create volume from image test

This is implemented by reusing the existing code written
for volume_create_get_delete; that function has been renamed
and has support for an the parameter 'image_ref'. The pre-existing
volume_create_get_delete as also the new volume_from_image call
the now renamed old function.

Change-Id: I08e69560e68b8f9a47d96d4446c35a670e17d1a9
Implements: blueprint add-volume-creation-from-image
Fix AttachInterfacesTest error

This commit fixes some issues in AttachInterfacesTest.
* There is a problem to get the return value, TypeError is
  occurring.
* Assign the JSON or XML to _interface, but it is not specified
  in the method.
* Add a process to wait until the "ACTIVE" status.
  Because the status is "DOWN" when a interface is created.

Fixes bug 1164894

Change-Id: I71ec9e46eb15e70f870b7a833d5433fa351c42eb
Create tests for multiple server creation

This tests nova multiple servers creation using min_count and max_count
instance counters and return_reservation_id parameter.

Cause of the new tests this also add min_count and max_count to xml server
client and return_reservation_id to both clients.

Depends on changes:
    Ifaa9910e13614554d1769e71e8eba9587ec5a13b
    I3ca0129086ff1df3a8faa2b3b8bd959c9b74103c
Both on Nova.
Partially implements bp missing-tempest-tests

Change-Id: I4195b26d88632c2e679b7a6e5bd8cf9443d42553
Fix docs for admin user config in conf sample.

Change-Id: Ie30fb4e0a6104a3b315f355566a66a366ac98383
Merge "xenapi:live-block-migration - fix XML client test"
Merge "RestClient:keystone_auth hides requests and errors"
Re-enable detach volume from unrescued VM

Fix syntax around calling wait_for_volume_status. If don't include
parameters on the same line, the function doesn't get evaluated.

Fix bug 1158942

Change-Id: I3ad3b8ee07f79bc440d9b26489777510340af2f9
make stack traces tool find individual traces

previously the tool just reprinted out TRACE and ERROR log lines.
Now make it actually collect up TRACE and ERROR into individual
events which will make it easier to cross reference to tempest
tests.

built additional features around stack trace tooling, making it
simpler to find unique events.

Change-Id: Id1fed3343e79e75da3145b5a9c19820b65a0d548
Remove smoke.py and clean up base test classes

This commit removes the smoke.py file and reworks the classes in
test.py to be a bit simpler. Previously, DefaultClientTest
was only really needed by smoke.py for the smoke tests. (the only
place where python clients were used) However, it remained a separate
class because of the status_timeout() method. This breaks out that
method and removes the class so that it is more obvious that the
smoke tests are using tempest.manager for it's clients.

Change-Id: Ib4333483c5734d14cac6376837ca770e96bd050e
Fix HACKING compliance of test_network_basic_ops.

 * Updated to ensure that only modules were imported.

Change-Id: Ia87e8468d09f0e01bbcf9ede2f99895f49949bc6
raise the first exception in flavors and security_group test

The exceptions raised in the finally block hides the exceptions raised
in the try block.

For example if a resource creation fails you would see the exception from the
resource deletion.

This change replaces the finally usage by addCleanup methods.

test_security_group_rules_create_delete removed because of a duplication.

Change-Id: Id69a3b7edd0933f4d5967bd8b84fb16a2095ab0a
Merge "Remove smoke.py and clean up base test classes"
Merge "raise the first exception in flavors and security_group test"
Merge "Test cases for Endpoints V3 API"
Merge "Adds create volume from image test"
Merge "Re-enable detach volume from unrescued VM"
Fix to use an API to get the default quota set

Current test_get_default_quotas uses 'os-quota-sets/{tenant_id}'
API.
Now each tenant quota value is tested, but default quata value
has not been tested.

Fixes bug 1167190

Change-Id: I167d430ff923a7c1e54f371ec4b4afe5acca8b1d