Revert "Importing correlation_id middleware from oslo-incubator"

This reverts commit 26ecf7b02377b860b4412aa554ed2392f42f8d40.

This patch was merged in preparation for
https://review.openstack.org/#/c/29480/ which was never merged.

Change-Id: Iefa1478af03f748ccb5f27f8bd4ad0f5b24af070
Fixes race cond between delete and confirm resize

If we delete an instance after a confirming resize operation,
and if the instance is deleted firstly at the dest compute node,
then the *_resize dir and network info of this instance will be
left alone on the source compute node, never be cleaned up.
Please refer the bug page to get the reproduce steps

Fixes bug 1202484

Change-Id: Ib1e3d976373bd7f4d086d4f9716b0bca4b383bab
Code change for nova support glance ipv6 address

This code change is for nova can parse glance api servers which is
IPv6 address correctly, also make sure nova commands can be run
successfully in pure ipv6 environment, such as 'nova image-list'
and 'nova boot' command.

Fixes bug 1182830

Change-Id: Ia71002c7038b820db7a63f7d6892e76de4743d8d
Improve "keypair data is invalid" error message

When doing a keypair-add, I was hitting a permission denied issue with
ssh-keygen -l. This turned out to be a configuration issue, but the
error message on the client side was pretty unhelpful with debugging
the issue:

  BadRequest: Keypair data is invalid (HTTP 400)

Fix that so we get:

  BadRequest: Keypair data is invalid: failed to generate fingerprint (HTTP 400)

Also fix the other uses of InvalidKeypair so we include the general
"keypair data is invalid" prefix.

Change-Id: I209e76adaf7c18a9f2f2dbb6da62db6c1cd9461e
Fix network info injection in pure IPv6 environment

get_non_legacy_network_template assumes that IPv4 is always available

So if i try to use Nova Network without any ipv4 using say
"nova network-create public --fixed-range-v6 fd8c:215d:178e:452:0:0:0:0/64"
then the deployment fails. So fix the code to ensure ipv4 is optional

Fixes LP# 1216178

Change-Id: Ib0c47a49debd4fed83d382a301687df23ca2ec0d
Remove two unused config options in baremetal

baremetal.injected_password and injected_network_template are not used
anywhere, so just remove them.

The actual injection config options used, such as net_config_template,
are in baremetal.pxe.

Change-Id: I93b4d2c2303a1ce954c45fc7e9842b18615bd56f
Adds V3 API samples for evacuate,ext-az,ext-serv-attrs

Partially implements blueprint v3-api-unittests
Partially implements blueprint v3-api-specification

Change-Id: I340456ba688bad4a42d66247899ee9f494fb429c
Merge "Remove two unused config options in baremetal"
Merge "Fixes race cond between delete and confirm resize"
Merge "Improve "keypair data is invalid" error message"
Merge "Revert "Importing correlation_id middleware from oslo-incubator""
Merge "Code change for nova support glance ipv6 address"
Merge "Adds V3 API samples for evacuate,ext-az,ext-serv-attrs"
Merge "Fix network info injection in pure IPv6 environment"