Remove basic_auth strategy

The auth strategy selection is removed
since it is confusing and other authentication
methods are not supported.

Re-commit the files, because the previous update is not correct.

Implements: remove basic_auth strategy
Fixes: bug #1180972
Change-Id: I498be0b1e3eeea397e1f164caffe7cc88be0ceda
Remove TODO note

Both postgresql and mysql headers are necessary for certain tox jobs,
but both installed by when it is necerray. (pep8 job in a venv)

It was an issue in the past, but it was solved.
We was not able to combine both tools/pip-requires and tools/test-requires.

The pep8 jobs was done by a shell script, the shell script is removed.
tox aims to be the single entry point for all gate jobs.

Change-Id: Iec5066a30b51fb4c91465a23606ad5cd973bc40c
add create_image_from_server to base class for auto cleanup

this test's cleanup logic was fragile enough that it caused additional
breaks when it fell over, leaving resources around. Create a
create_image_from_server as an equiv of create_server to ensure
that images are auto cleaned up at the end of the run, or if we
fail.

Added logging for exception if found during clear_images

Added logging if we failed in setupClass

Fixes bug #1168586

Change-Id: I1cbd904a71eb81926195c3e7894003fe5016b12e
Object client adds content-length if PUT is empty

Add content-length=0 header to a PUT request if the uploaded object is empty,
otherwise the server would repond with 411.

Fixes: bug #1192176
Change-Id: Ifdd4aefa8ff38ac1ee72607d6ffd128ca315bf44
Add posargs to tox coverage job.

This commit adds the posargs field to the tempest_coverage report
command on the tox coverage job. This will allow us to pass in
arguments to the report command which will be useful for the
periodic coverage runs so we can specify the output directory.

Change-Id: I89c9c8da7fbe5f73600a8e84557dbf325c341afc
Loosen constraints on Swift status codes.

The Swift API only commits to returning a 2xx status code to indicate
success for most operations (e.g. list containers, get account
metadata, etc.), but Tempest was looking for particular ones (e.g. 204
or 200). This change loosens those checks to accept any 2xx status
code defined in RFC 2616.

Tests for operations where the API docs *do* specify particular status
codes, like "Create Container", have been left untouched.

Change-Id: I3ba91cb915e79700124172051d50deff9bc0601b
Fix XML security group rule client.

The client ignored cidr and group_id.
It also did not handle None values for
several of the parameters.
Fixed both, refactored the rule
creation method.

Fixes: bug #1191856
Change-Id: I0aa28bc50e9991d0381f0b0d7e3edb05f8e90591
Actually raise BadRequest if create_subnet fails

Second attempt at fixing a problem in the Tempest
network test base setup where it tries to create
a subnet and if it fails it needs to raise a
BadRequest rather than an UnboundLocalError from
trying to use the body variable before it's declared.

Fixes bug 1192767

Change-Id: I2c97723b1056ae34e68a5acb5283c291a5dcfad1
Merge "Object client adds content-length if PUT is empty"
Ensures testtools 0.9.32

It includes a fix for a typo around the unittest2 skipTest
exeption import, see testtools revision 366, which is useful to
SKIP correctly on py26

Change-Id: Ice4dd9f79aaac8678d85dc393632cf5752d253f7
Add a volume create/delete stress test

Simply performs a create/delete operation, in a while loop for the
duration passed to run_stress.py

Change-Id: I006f3754f1fc1cabfbb90ed72704b2185dcc4e5f
Fixes: bug #1192227
Fix test_volumes_get volumes cleanup.

Currently for test_volumes_get if the volume creation fails and we won't define
the volume variable which will result in an undefined error in the finally
block that always gets run. This will mask the actual cause of the test
failure. This commit fixes this by reworking the cleanup logic in the tests
to use the addCleanup so if the api call fails the actual error will be printed.

Change-Id: I2619575fe80d4f3ce38cc951e7dbd44311d61432
Merge "Add posargs to tox coverage job."
Merge "Fix XML security group rule client."
Merge "Remove basic_auth strategy"
Fix create_security_group_rule to work with python 2.6

Change 59f00281ef1fa9448f5caf78a1c558625c83f65e introduced new code
which only works on python 2.7. This patch keeps the same function as
that change but makes it also work on python 2.6.

Fixes bug 1193066

Change-Id: I701259020f1ff15c0082328895ddc32cec9d3da1
Merge "Remove TODO note"
Avoid potential race condition in list_stacks assert.

Asserting that stack listing has increased by exactly 1
after a create is racy if there are other concurrent stack
operations occuring.

This replaces the assert with a check that confirms the created
stack appears in the stack list.

This race has not actually been triggered yet, but may when tempest
gains some concurrency.

Change-Id: I200efa6d3d55e403c9d9a5f3abc49ad6c024e6a9
Merge "add create_image_from_server to base class for auto cleanup"
Merge "Avoid potential race condition in list_stacks assert."