Remove havana compat from nova.console.rpcapi

Since we only support upgrading from N-1 to N, there's no
need to keep around this older upgrade related code.

Change-Id: I663b77230cb0ca87c31a4dfd6cddaf10c588a000
libvirt: pin emulator threads to union of vCPU cpuset

Ensure that the emulator threads run on the same host CPUs as
the vCPU threads do, by setting the emulator pinning to be the
union of vCPU pin cpuset

Closes-bug: #1386162
Change-Id: I5273fc323849cb6c9ca199f3e9921007a845d2ac
Use session in cinderclient

Use the common session loading parameters and the session object for
talking to cinder.

There are some related changes in this patch.

Firstly auth_token middleware now provides an authentication plugin that
can be used along with the session object to make requests under the
user's authentication. This will largely replace the information
required on the context object.

This authentication plugin is not serializable though and so it cannot
be transferred over RPC so we introduce a simple authentication plugin
that reconstructs the required information from the context.

When talking to cinder we now create a global session object (think of
this like keeping open a connection pool object) and use the
authentication plugin to send requests to cinder.

I also condense the cinder tests as they are largely copied and pasted
between v1 and v2 and this solves fixing them in two places.

DocImpact: Renames cinder's timeout, insecure and CA certificates
parameters to the parameters used by the common session object. Adds
options for using client certificates with connection.

Change-Id: I7afe604503b8597c16be61d2a66a10b94269a219
VMware: remove ESX support for getting resource pool

The ESX driver is no longer supported. We should only return the
resource pool for the cluster.

In order to test this the patch had to update the test_vmops to
ensure that a cluster was used.

The patch also drops the method get_mo_id_from_instance which is
no longer used.

Change-Id: I9d99a5be58ef5a2a7d41dfd488ac24f38d2c79d3
Replacement `_` on `_LI` in all LOG.info - part 1

oslo.i18n uses different marker functions to separate the
translatable messages into different catalogs, which the translation
teams can prioritize translating. For details, please refer to:
http://docs.openstack.org/developer/oslo.i18n/guidelines.html#guidelines-for-use-in-openstack

There were not marker fuctions some places in directory network.
This commit makes changes:
* Add missing marker functions
* Use ',' instead of '%' while adding variables to log messages

Added a hacking rule for the log info about checking
translation for it.

Change-Id: I96766d723b01082339876ed94bbaa77783322b8c
compute: rename hvtype.py to hv_type.py

For consistency with vm_mode.py, rename the hvtype.py module
to hv_type.py

Change-Id: I70bb6dea0e14ed0904d8d21b41b93b47bf0deb09
Merge "VMware: remove ESX support for getting resource pool"
Merge "Use session in cinderclient"
Merge "libvirt: pin emulator threads to union of vCPU cpuset"
Merge "Remove havana compat from nova.console.rpcapi"
Merge "Replacement `_` on `_LI` in all LOG.info - part 1"
Merge "compute: rename hvtype.py to hv_type.py"