Remove FloatingIPChecker from network_basic_ops

Since wait_for_floatingip()
    a) Fails regardless of FloatingIP association, and functionality
    b) Tests DB integration instead of network performance

It should not fail network scenarios or block them.
Instead, it should be checked in a different, more specific scenario

See bug 1262529 for more details

Change-Id: Ib8a018cce89ff78ac5e967dd5518e65feb9ea0fc
port instance_usage_audit_log tests into nova v3 part2

this ports the instance_usage_audit_log tests and corresponding
client into v3. In v3 api, There is no the url:
GET /os-instance-usage-audit-log/:(id).
but the filter:before will be used instead in index action.

Partially implements blueprint nova-v3-api-tests

Change-Id: I726a27bc4f374d3bae98a903196bf2265c31e67c
Dump all log errors to console

Errors that are not whitelisted are tagged for differentiation.

Change-Id: I1a4f392b3fe4276afbe1610af679d5e11ee8acad
Catch ssh exception and detach in min scenario

The test_minimum_basic test goes through a number of tests however
doesn't do any clean up if a failur occurs.  The master clean-up
routine is ok, but it doesn't account for things like attached volumes.

One issue here is that the ssh_to_server times out do to some other
problem and raises an SSHTimeout exception.  This exception isn't dealt
with, the test dumps out and tries to cleanup by deleting the instance
and the volume, but the volume-delete will fail because it's status is
still in-use.

This exposes another problem, it seems that nova delete will clean up
an instance but fairly regular neglect to detach the volume. This patch
add an addCleanup() call to nova.volume_detach.

Change-Id: I76d19f096d6cb4122eea2e7e5de4eb37b97a4b87
Partial-Bug: #1213215
Skip flavor_access_add/remove related tests

This patch add skip decorator for flavor_access_add/remove related tests.
After use project instead of tenant in the flavor_access extensions, will
fix those tests.

Related patch:
https://review.openstack.org/#/c/58450/

Change-Id: Ibf741059c3a7a94543f1a2230fe7048692e1db0c
Related-Bug: #1265416
add keystone group tests

add two testcases for group and group users:
test_group_create_update_get
test_group_users_add_list_delete

Change-Id: I9fa1821e219c54715f821999dac100daa68283f0
Add a version API test for Nova v3 API

The version API of Nova returns the API version information with the
following body:
  {"version":
    {"id": "v3.0",
     "status": "EXPERIMENTAL",
     "updated": "2013-07-23T11:33:21Z",
     ..
    }
  }

This patch adds the API test.

Partially implements blueprint nova-v3-api-tests

Change-Id: Ibd6c3b4f3228340b265cbc9a0e7fe2dbc93c691c
Add list server filter with extra limits

Add list servers filter with zero and exceeding limits

Change-Id: I81bfd831025af1ad42e26ef8a25985c06120aaf7
Refactor usage of custom_match tests

For some requests a check outside of custom_match was used, thus
bug #1262534 was not completely closed.

This patch refactors part of the code to use custom_match
as far as possible and also adds some more checks.

Closes-Bug: #1262534
Change-Id: Ic0760d6d91a83bdce45ae42dd3f9d05a7bc8b6b3
Adds test_show_XX_fields cases to show some fields

This patch modifies the _show method to make it accept field_list.
It adds the cases to show some fields for network/subnet/port.
A related url example is
/v2.0/networks/103d47a3-XXXX-018c095ab35d?fields=id&fields=name

Change-Id: If2b9edd67ad0c43679332ec28ca80940c0c67d9e
Add a config option for trusts

This commit adds a new config section identity-feature-enabled which
contains the options to select which optional/configurable features in
keystone are enabled. The only option that fits this category at this
time is trusts.

Partially implements bp config-cleanup

Change-Id: I8110156e48616534c45e9eb2c12557b2d6bdfd46
cinder v2 api tests - fix volume client

This is a legacy problem in change
I712a90d39981564af09393ed1b7f4be12897c808

1. move cls.volumes_client, cls.volumes_extension_client
   cls.snapshots_client from BaseVolumeTest into
   subclass(BaseVolumeV1Test)
2. delete call cls.volumes_client.keystone_auth as it is
   called automatically in request method of RestClient.

Change-Id: I5184de9911e3fe9a3c23c2c4f84e59596f10b77c
Implements: blueprint cinder-v2-api-tests
Add delete specific status server test

Add test to delete a error status server.
Add test to delete a shutoff status server.
Add test to delete a paused status server.

Change-Id: I5c1b8f77087c4205b5b94cdc41626f99ecbe3d11
Tests object_storage extension listing

This patch adds the feature to list extensions to the object_storage
account_client and then adds one test to validates it works.

This is a first step in view of adding this feature to the config
validation script.

Partially implements config-verification

Change-Id: I8ff31a761d82ea4b7b09307ae1d51108d7f6911e
Add aggregates scenario test

The basic scenario for aggregates consists in the follow steps:
 - Creates an aggregate within an availability zone
 - Adds a host to the aggregate
 - Checks aggregate details
 - Updates aggregate's name
 - Removes host from aggregate
 - Deletes aggregate

Change-Id: I7a11b11468a5bbe85da4f6154308f7a5336c6919
Partial-bug: #1023131
Update README.rst with details about unit tests

This commit just fixes a couple of issues with the README file and adds
some details about the OS_TEST_PATH env variable and unit tests.

Closes-bug: #1268440

Change-Id: I17f75f7d7b3a2ac75eac884bc403bc46d6a2e77f
Use install_venv from oslo to fix no post_process issue

In a recent oslo sync commit Ib9b07fe733dc2c924ac0eb054fa707dd352a812b,
post_process() has been removed from tools/install_venv_common.py.
However, it's still called in tools/install_venv.

The current code for CentOS looks like trying to install the openssl
after trying to compile pyOpenSSL. So this can't be working.

This change switches tools/install_venv.py to use oslo code to align the
effort as well as fixing original no 'post_process' issue.

Note: openstack-common.conf is not updated. Because the project name
variable in install_venv has to be modified after syncing from oslo.
That makes it not an exact sync but modification after sync now.

Change-Id: Ia50075f9b317315eb939ddb66645987bb9ec69c2
Closes-Bug: #1263940
Moves negative tests from test_server_metadata

This change set moves the negative tests in
tempest/api/compute/servers/test_server_metadata to
a new file test_server_metadata_negative

Also removes usage of modules directly and qualifies
test_server_create_metadata_key_too_long as negative test.
 ** seprates test into individuals
Note: HACKING.rst
The second requirement is that all negative tests must be added to a negative
test file. If such a file doesn't exist for the particular resource being
tested a new test file should be added

Change-Id: I91f1ee898866e458ff15a4d5035a772ff5c14701
Rework extension verification in verify_tempest_config

Due to several changes being made to the config nomenclature around
features and extensions in tempest the verify_tempest_config script
was actually not valid anymore. This commit fixes the script to use
the updated config structure. Additionally it adds support for all
3 api's in tempest that currently have extensions api clients:
nova, nova_v3, and cinder.

Partially implements bp config-verification

Change-Id: I35c325c5f57803b36906bde13f132b69509f5e85
Add neutron extension support to verify_tempest_config

This commit adds support for the neutron extension detection to the
verify_tempest_config script. The neutron extensions api behaves
slightly differently from the other services in that several of the
extensions' name field is really a title that includes spaces. This
can't be used for the list option and the tempest code already
assumes that the alias field is used instead of name.

Partially implements bp config-verification

Change-Id: Ib60f191fec1cb6b9d60055a848749b07b8393cf5