Destroy docker container if spawn fails to set up network

If docker driver failed to set up network when spawn an instance,
then the docker driver should also destroy the container to make
sure no garbage container left for such case.

Change-Id: I4496182d9f6a9bfd86b0a32edb19dcd975467e91
Closes-Bug: #1242815
XenAPI: Monitor the GC when coalescing

Add a new host plugin to monitor whether the garbage collector is running.
This is then used by the wait_for_vhd_coalesce function to know whether
waiting any more is likely to produce the expected results.

Increased the number of times we loop waiting for coalesce as the loop
now has knowledge that something is still happening.

DocImpact
Change to parameter default.

Change-Id: Idcc0738945bd1aee8cdb52c9cfabd798f85c31db
Closes-bug: 1258169
nova: use RequestContextSerializer for notifications

RequestContext should be serialized when sent via oslo.messaging. The
serializer is correctly used for the general RPC mechanism, but has been
forgotten in the notifier. This patch fixes that.

Change-Id: I56fa8022e34c0e80835e3bde940fda99ed0f9ba8
Closes-Bug: #1275771
Default video type to 'vga' for PowerKVM

PowerKVM currently doesn't support 'cirrus' video type. For now, we can
detect if Nova compute is running on ppc64 or ppc architecture systems
and set the default to 'vga', which is supported on PowerKVM.

This patch did some reordering of the logic in
nova.virt.libvirt.driver.LibvirtDriver.get_guest_config in an attempt to
set the video.type depending on the compute host architecture and
implementation specifics. The video.type can still be set using
image_meta.

Change-Id: I49a1a8e6d9ebdc28d876d2f958c8cb960892f322
Closes-Bug: 1274367
Fix misspellings in nova

Fix misspellings detected by:
* pip install misspellings
* git ls-files | grep -v locale | misspellings -f -

Change-Id: I4e60889368b5e83275d59562613623c417a8e03f
Closes-Bug: #1257295
Merge "Default video type to 'vga' for PowerKVM"
Typo in backwards compat names for notification drivers

The switch to oslo.messaging uses setup.cfg to provide a mapping
for the Nova notification drivers, but mis-spelt them.   This will
break any existing Nova systems that use notifictaions for things
like billing, monitoring, etc

Change-Id: I217d6b68a64ee008a82426b890a32a97b849cb4d
Merge "nova: use RequestContextSerializer for notifications"
Merge "Typo in backwards compat names for notification drivers"
Merge "XenAPI: Monitor the GC when coalescing"
Merge "Fix misspellings in nova"
Merge "Destroy docker container if spawn fails to set up network"