Fixes Hyper-V VHDX snapshot bigger than instance

In Hyper-V, the deployed images will be extended having their
metadata size added to their base image size. This may lead to
snapshots bigger than the flavor size.

This patch adds support to the V2 utils module, so that the
maximum internal size of a requested image may be calculated
in a similar way it is done in the V1 module.

VHDX format specs:
http://www.microsoft.com/en-us/download/details.aspx?id=34750

Closes-bug:  #1231911

Change-Id: I0d6aacb275f8af24554d3e8b6f04fe8a454b913f
Move consoleauth_manager option into nova.service and fix imports

Moves the consoleauth_manager option into nova.service like the other
manager options in commit 39ce4032.

The thinking for having it in nova.service is that's where
CONF.get('%_manager'...) is called.  It also makes no sense for the
option to be declared in nova.consoleauth.manager because if you change
this config option, then you don't want nova.consoleauth.manager loaded.

Closes-Bug: #1276398

Change-Id: I85e089239228920e9e58284cf6ff52e43bf85ab0
Add resource tracking to unshelve_instance()

When unshelving an offloaded instance, a new host is scheduled for
the instance. However, the call to unshelve the instance on the new
host does not go through the resource tracker, which may lead to
over-allocation of the hosts resources.

This change adds resource tracking to unshelve_instance().

Change-Id: I682713c8ebc6276ac49822db5c8efc373d5b8f4d
Closes-Bug: #1241017
LibVirt: Disable hairpin when using Neutron

When hairpinning is enabled, ICMPv6 messages that handle
duplicate address detections return to the instance, causing IPv6
SLAAC configuration to fail

http://tools.ietf.org/html/rfc4862#section-5.4.3

Closes-Bug: #1251235

Change-Id: I65e1d40d33d6291bfd5558c7c346fc5fbf92cc56
Add 'use_slave' to instance_get_all_by_filter in conductor

When the use_slave parameter was added to instance_get_all_by_filter in
the db layer and nova object layer it was missed in conductor, causing a
failure in the _poll_rescued_instances periodic task.  This adds the
parameter where necessary.

Change-Id: I16ab29730d72b2e2941766b5b12568976facec39
Closes-bug: 1279358
VMware: fix race for datastore directory existence

Treat the exception that is raised when creating a directory
and it already exists. This may happen due to two processes trying
to create the same directory at the same time.

Change-Id: Ia0ebd674345734e7cfa31ccd400fdba93646c554
Closes-bug: #1266579
Merge "Add resource tracking to unshelve_instance()"
Merge "Fixes Hyper-V VHDX snapshot bigger than instance"
Merge "VMware: fix race for datastore directory existence"
Merge "Add 'use_slave' to instance_get_all_by_filter in conductor"
Merge "LibVirt: Disable hairpin when using Neutron"
Merge "Move consoleauth_manager option into nova.service and fix imports"