Add "create a server" test with server group

When creating a server with the scheduler_hint "group", the server
will be in the group.
This patch adds the test for checking its behavior.

Change-Id: If5701d381198b01c5ee876bb22b14e5d4b967499
Related-Bug: #1306367
Related-Bug: #1298494
Add parametric tests of Swift object API, part 1

Add positive tests of Swift object "PUT" APIs from the viewpoint of
completeness of query parameters.

Change-Id: Iefee0a8d8941559a7c1f4d61329489eec567f188
Bump baremetal power/assoc/unprovision timeouts

Increases the default timeouts for baremetal nodes to complete
certain state transitions.  This is required so Ironic can gain
support for waiting on external events (eg, neutron port updates)
at various times during a node's lifecycle.

Change-Id: If037ebd903bd64a6bcf3e925f38709a4d74bf353
Handle backup not found in test_create_backup

The "oldest" backup in the test_create_backup test is supposed
to be deleted automatically via rotation but the cleanup routine
does not catch the NotFound exception when the delete function
doesn't find the backup image. This commit handles the NotFound
and also logs a warning if the image was actually deleted in
case of a race condition.

Change-Id: Ieae2edf0ae4318aef74aedef18480df165fd4753
Closes-Bug: #1291683
javelin: create and attach volumes

Bring Cinder support in tempest/javelin to test:
- volume creation
- volume attachement to a server

Partial-Bug #1330178
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>

Change-Id: Ie0e437312aab3ccb0d8233e4b73f9215f64149ac
Added swift CLI test cases

Below test cases are added:-
stat
list
capabilities
help
Optional arguments

Change-Id: I0daacd6d970f343cc225e820fbddf967cd6915dc
Update config generator from oslo-incubator

This commit pulls in the latests version of the config generator from
oslo.

Change-Id: I3a2b06dd9ca3285a3d93298ea5727b705f6109e4
Use config generator rc instead of wrapper script

This commit removes the generate_sample wrapper script and adds an
rc file for the config generator to specify the alternate path.
This makes console messages from the generator tooling point
consistent with what is actually being used. Before because a wrapper
was used error messages would recommend running the incorrect tool.

Change-Id: I0ac792454777af6e3f1d718836031f9a14850229
Avoid empty string for length in os-getConsoleOutput

If the caller does not pass in any value for length, we should
not be sending length='' to the os-getConsoleOutput REST API
as Nova v2 API does not handle it properly

Change-Id: I61db6a92418935dd4d0a8fc149d18417bf434b94
Closes-Bug: #1329563
HEAD doesn't return a body

The following warning message was misleading when doing the
results of a HEAD method, which never will have a body.

Change-Id: I585e114a3f35a2bc074ad479fc227b79df36df75
Add client response checking for image service

Make all api methods on image clients check for the correct response code and
remove response code checking from image tests. There are a few test code
checks outside of the image tests that were not changed. They do no harm and
can be removed when those test files have status codes removed for their own
intended service.

Change existing client checks using resp to resp.status to avoid confusion with
glance http client use of both httplib (raw) and httplib2.

Remove unused replace_membership_list method from v1 client.

Partially implements blueprint client-checks-success

Change-Id: I4ece3db26920454a8e1bd6325ec01ae3d864d0eb
provide enough time to do expires in obj tests

When testing object expiration there are a lot of factors in
play, including the amount of time that rest calls take between
when we set the expiration, and when we eventually want to check.
If the time in the future is too close then our GET calls have
a real chance of 404ing because the object is gone.

So we should provide more slack to begin with (10 seconds) and
then a variable sleep time at the end to check objects 3 seconds
after they should have expired.

Closes-Bug: #1304119

Change-Id: I890bdbc14c926ba07f43d60ef5544ff37069d5df
Verify create agent attributes of V2/V3 APIs

This patch adds the JSON schema for Nova V2/V3 create agent APIs
includes the attributes to block the backward incompatibility change
in the future.

The response body of v2 and v3 API is the below:
{
    "agent": {
        "agent_id": 1,
        "hypervisor": "xen",
        "os": "linux",
        "architecture": "x86",
        "version": "7.0",
        "url": "xxx://xxx/xxx/xxx1",
        "md5hash": "add6bb58e139be103324d04d82d8f546"
    }
}

Partially implements blueprint nova-api-attribute-test

Change-Id: I86aeae6a6337ce60e2b69e207a6e015950b95a36
Merge "Bump baremetal power/assoc/unprovision timeouts"
Merge "provide enough time to do expires in obj tests"
Merge "HEAD doesn't return a body"
Merge "Added swift CLI test cases"
Merge "Add client response checking for image service"
Merge "Handle backup not found in test_create_backup"
Merge "Add "create a server" test with server group"