Running without keystone v3 doesn't require uri_v3

uri_v3 is not required if api_v3 is false.

Change-Id: I5d63ca38b9f07ea07383472fb7fa82b369c72216
Closes-bug: #1295132
Don't use swift roles when no swift

If openstack doesn't have Swift installation this role assign is
unnecessary and cause bugs and fails for other tests.

Change-Id: If3bbc49cde6144e883daaf77b8f551a0562c84c8
Add network tags to test_quotas_negative

Partially implements bp add-service-tags

Change-Id: I37af14a34fa968874b4887616eaf8540f20fe7c1
Add compute tags to tempest/api/database/flavors test

Partially implements bp add-service-tags

Change-Id: Idfe3f86cfdb529340e5e290dd5dc8e9b549f7f5b
Change 'ceilometer' tag to 'telemetry' and add tags to cli tests

Partially implements bp add-service-tags

Change-Id: I8deca221918d9819c7a9f0a621fd3a21c6f66024
Avoid unneeded use of set, and use list instead

This doesn't change anything, except fixing an unneeded compatibility
issue with py2.6.

Change-Id: I4bb7f6bea9fd34fdec8af3eed702c5a8743d3178
Use list comprehension in create_bulk_networks

There is no need to pass size of list to create_bulk_networks in
network_client_base since it can be implemented with list comprehension.

Change-Id: I7eb8c7725d9569ad7c2fe853b72a51d10fe65bd1
Convert request schema (flavors_admin)

Converts the all flavor_admin schemas for negative testing into dict's.

Change-Id: I9f237c7f944a5efc8bd56153f7d2b5d6b17b1d2d
Partially-implements: bp api-schema-unification
Convert request schema (servers)

Converts the all server schemas for negative testing into dict's.

Change-Id: Iecd3f30c3609ff6c785fd632ade70d92f2f7b94d
Partially-implements: bp api-schema-unification
Remove not used server creation from test_server_rescue

test_server_rescue created a server in the setUpClass
 which is not in use in the current code base.

Change-Id: I9487ddf6db8fda5b5fe6aa3f8787b56b8c865cf5
Use python abc in StressAction class

Fix pylint error about NotImplemented raised instead of
NotImplementedError.

Use the abc class instead of NotImplementedError.

Partial-Bug: #1346797

Change-Id: Ia9a75a53f68c28594654a07146a2a30c1ae3c412
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Use python abc in DeletableResource class

Fix pylint error about NotImplemented raised instead of
NotImplementedError.

Use the abc class instead of NotImplementedError.

Partial-Bug: #1346797

Change-Id: I50df1edf5c6b5c7a5c385a6389da97ffffea4d07
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Migrate swift scenario test to tempest client

Swift scenario test is now decoupled from swift official client by migrating
it to tempest own clients.

Change-Id: If840300219ff67c1a0793ec53f566a95b04f5257
Partially-implements: bp:tempest-client-scenarios
Remove test_db_archive_deleted_rows

* The test may trigger a bug, in several test execution order
  For instance it causes trouble with the neutron full jobs
* Does not really belongs to the simple_read_only group
* A better solution expected to arrive

Change-Id: Ia9e70bb40c2e3d246f446b5b131abd8e3520e5ee
Related-Url: https://blueprints.launchpad.net/nova/+spec/db-purge-engine
Related-Bug: #1305892
Supports DEFAULT group opts in TempestPrivateConfig

Options from the DEFAULT group are not accessible via the config
proxy. Adding support for DEFAULT group opts in TempestPrivateConfig to
solve that.

Partially implements bp:test-accounts

Change-Id: Ia80c703080870427bbacc12a239e385d9927631f
Add network's status check after creation of network

Add assert for network status should be active

As per my understanding when we are creating network,
we can not say that we have created the same ..
till the point network is not ACTIVE and cannot be used.
And logically also , it should be like this only.
Keeping all this things in mind proposed the patch for the same.

Change-Id: Iceba14dde08fa38f942190131b82b9ba515ed0d6
Add service tags to tempest/api/orchestration/stacks

Partially implements bp add-service-tags

Change-Id: Ib6e2499bdf3fd048a11d91da64466ab2c16c6d5f
Add functools.wraps on all function decorators

See [1], this enhances logging and keeps the docstrings.

[1]: https://docs.python.org/2/library/functools.html#functools.wraps

Change-Id: I33beb28abb9a1a955fb3b5a99fd5eec7efecbc06
Change default size for strings to 1

The valid request generator produces by default strings
with value 0, which is an empty string.

Change-Id: I9e7da4ea89faf4785ef94c435c85dc2d244f9839
test_hotplug_nic wait for the guest

The hot_plug nic test expect the new nic is visible,
on the guest almost immediately after the server
 associated to a port.

It is not  true, even the guest needs some time to initialize
the interface.

This change gives time:
* to the guest to realize the new interface.
* to nova/libvirt to actually finish the interface plugging.

Also having the call_until_true calls to respect the configured,
timeout settings and using an exception instead of an assert.

Change-Id: I018e6edefdd3a2f3b8c8d408291464cb28bc8e1e
Closes-Bug: #1358634