Merge "Don't block instance delete on missing block device volume"
Convert remaining network API casts to calls

Fix for Bug 1021340

During compute/terminate_instance networking is de-allocated by a call to
network/api/deallocate_for_instance(), which is implemented as an rpc.cast to
the network manager. This in turn will eventually call
network/manager/deallocate_fixed_ip(), which in turn call the compute API to
trigger a security group refresh, which will get the instance from the database

However because original call to the network manager is a cast there is a chance
that the compute manager will delete the instance record in the DB before the
compute API (in the network manager) tries to retrieve the instance. At this
point the security group refresh fails (leaving rules in place which are a
security risk when the IP is reused), and potentially stopping otheraspects
of the network deallocation from completing.

Changing this from rpc.call to rpc.cast will fix this issue.

Aside from this specific use of a cast there are 4 other casts in the
network API:
  add_fixed_ip_to_instance
  remove_fixed_ip_from_instance
  add_network_to_project
  release_floating_ip

and to avoid other timing issues these will also be converted to calls.

Change-Id: I5cdcc628293d3e7cf165c5ffe4883f138783f73f
Merge "Fix .mailmap to generate unique AUTHORS list."
Floating_ip create /31,32 shouldn't silent error

Fixes bug 1017682 the netaddr.IPNetwork.iter_hosts
method doesn't return any IPs when /32 or /31 and
should throw an exception instead of silent error

Change-Id: Id8875b6016a4dbb40b29d2f7687e6c35491e0129
Raise HTTP 500 if service catalog is not json.

Updates the Nova API auth middleware so that it returns a HTTP
500 error if invalid JSON is found.

Adds a unit test.

Change-Id: I236ced13bac2164e103060e78845a410ceb6cdd4
Merge "Adds bootlocking to the xenserver suspend and resume"
Use the dict syntax instead of attribute to access db objects

To make the code style consistent, use instance["attr"] instead of
instance.attr in the code.

Change-Id: I766c714cb86d3b67ff9787bc50e5e20e37c9b574
Use _lookup_by_name instead of _conn.lookupByName

use the helper function instead of the libvirt call directly
to allow NovaExceptions instead of libvirt exceptions to be thrown.

Change-Id: Ieac171e1a2bce1f5542ae73f3d8f6b7a5ccfa8f7
Change base rpc version to 1.0 in compute rpcapi.

A recent patch change the RPC_API_VERSION in compute/rpcapi.py to 1.1.
This change was the right thing to do in compute/manager.py, but not
compute/rpcapi.py.  This patch changes it back to 1.0, and changes the
code to only specify that 1.1 is required for the new method.

This version in the rpcapi modules is used as the default version to set
in a message.  The version sent in a message is the minimum version
required to be implemented on the manager side for the message to be
successfully processed.  For most messages, that is just 1.0.  In the
case of the new method, it's 1.1.

This patch also changes the name of his variable in the rpcapi modules
from RPC_API_VERSION to BASE_RPC_API_VERSION to help clarify this a bit
more.

Change-Id: I2bb4602845869bd44b39531eeb4f1e7c0c4c20c2
Merge "When deleting an instance, avoid freakout if iscsi device is gone"
Merge "Making docs pretty!"
Merge "Floating_ip create /31,32 shouldn't silent error"
Merge "Use the dict syntax instead of attribute to access db objects"
Adds snapshot_attached_here contextmanager.

This patch does three things:

    * Moves more code into vm_utils to better match our separation of
      concerns.

    * Reduces complexity of the vmops._destroy method.

    * Adds snapshot_attached_here contextmanager to make the
      snapshotting code a bit cleaner.

Change-Id: I544dc2ba203519d32a5ecce4a87157b5c4a55076
Remove VDI chain limit for snapshots.

Snapshots and migrations were coded with a simplifying assumption that
the maximum length of a VDI chain would be 3. Now that fast-cloning has
been added, this assumption no longer holds.

The goal of this patch is to remove the restriction for snapshots. A
follow-on patch will remove the restriction for migrations.

This patch changes the image-format for XenAPI images. Instead of naming
the VHDs, 'base', 'image', and 'snap', they are now numbered staring
with 0 as the leaf and going to N as the base-copy (root).

Old-style images are still supported.

Change-Id: Ieb073b42dc25db7cee4dfca7ff6525f7e7f46e8e
Merge "Remove deprecated auth from GlanceImageService"
Merge "Adds snapshot_attached_here contextmanager."
Merge "Convert remaining network API casts to calls"
Fix typo in docstring

_send_instance_update_notification:
  compute.instance.exists -> compute.instance.update

Change-Id: Idecfc19e7cfe14e0368fbf78090c68eab3859ee3
Merge "Propagate setup.py change from common."