Updates linux_net to ignore some shell errors

 * Allows exit 254 from ip add and ip del
 * Allows exit 7 from route add and route del
 * These exit codes means the ip/route already existed or was
   already removed
 * Fixes bug 915556

Change-Id: Ib71da2351372f3c7e3558cf5b3e9f55e10681875
Add policy checking to nova.network.api.API

Partially implements bp interim-nova-authz-service

Change-Id: Ib93d854ee1a7f22f4e7f313a9d50300df8b8596b
Clean up generate fingerprint.

Change-Id: I5e29c2af495d5b8e58d7101545f43ba40c5a97a4
Fixes bug 917128

Change-Id: I01c384666ae2366638fe77ffbe2f85e9e2692303
Add missing scripts to setup.py (lp#917676)

If distutils-extra is installed, all scripts are automatically included
in the tarball. We should explicitly include them in setup.py to avoid
confusion.

As an example, the 2011.3 tarballs appear to have been generated with
distutils-extra but the 2011.3.1/2012.1 tarballs are now being
generated in a venv. So, these newer tarballs are missing scripts which
were included in 2011.3.

Change-Id: I2a85418b84b93e041f6c7d31833b09acdcb29daa
Merge "Fixes bug 917128"
Merge "Updates linux_net to ignore some shell errors"
Merge "Add policy checking to nova.network.api.API"
Merge "Add missing scripts to setup.py (lp#917676)"
blueprint host-aggregates

This is the first of a series of commits that add the host-aggregates capability,
as described on the blueprint page.

This commit, more precisely, introduces changes to the Nova model: model classes
related to aggregates have been added, as well as DB API methods to interact with
the model; a sqlalchemy migration script plus a bunch of tests are also part of
this changeset.

Commits that will follow are going to add:

- Extensions to OSAPI Admin, and related python_novaclient mappings
- Implementation of the XenAPI virt layer
- Integration of OSAPI and virt layer, via the compute_api
- smoketests
- openstack-manuals documentation

These commits will be pushed for review not necessarily in this exact order.

Change-Id: Iceb27609dc53bf4305c02d7cbc436fba4c4a7256
Fix an error that prevents message from getting substituted.

The problem: self.__dict__ contains message.  This overrides the
default of None for the NovaException constructor.  Since a
message is provided, it's used directly instead of trying to
substitute the keyword arguments.  The solution is to limit the
keyword arguments we pass to the NovaException constructor, so
they don't contain message.  Fixes bug 917768.

Change-Id: I5986fa7b552c84ba7f902e78b32498ab294beb7b
Merge "Clean up generate fingerprint."
Drop FK constraint if it exists in migration 064

Fixes LP bug 916992

A workaround was originally applied to fix a FK constraint problem in migration
064.  The original bug only affected MySQL+InnoDB databases and was masked by
using MySQL+MyISAM.  Commit d503d6b1079f9eafe0430754214fc5b6d4e32c09 attempted
to improve the workaround, though it caused issues on databases not using
InnoDB, so it was reverted enitrely and we are back with the original bug.

This change will attempt to drop the FK constraint only if it exists.  This
should now support MySQL installations that are configured both
default_storage_engine=MyISAM (oneiric) and default_storage_engine=InnoDB
(precise)

Change-Id: Ie2cfa32d8f52b163f513679649da52a73fc501df
Signed-off-by: Adam Gandleman <adam.gandleman@canonical.com>
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Only update if there are networks to update

Fixes bug 917812

Change-Id: Ibb59e2ae634590fe57e777b720a84580c6ed64cc
Stop allowing blank image names on snapshot/backup

Fixes bug 917327

Change-Id: I0b77b088c9fe99354bcec3706fbdc05f3c39ae90
Allow instances in 'BUILD' state to be deleted.

Fixes LP Bug #907808.

Change-Id: I4332e9e822db507951af07bd654a27b3e2ce3973
Rebuild/Resize support for disk-config.

Fixes bug 917306

Change-Id: I27848a4503a5027b0e5f9cad3f110ea67c462327
Merge "Fix an error that prevents message from getting substituted."
Merge "blueprint host-aggregates"
Implements blueprint vnc-console-cleanup

 * Creates a unified way to access vnc consoles for xenserver and libvirt
 * Now supports both java and websocket clients
 * Removes nova-vncproxy - a replacement version of this (nova-novncproxy) can be found as described in vncconsole.rst
 * Adds nova-xvpvncproxy, which supports a java vnc client
 * Adds api extension to access java and novnc access_urls
 * Fixes proxy server to close/shutdown sockets more cleanly
 * Address style feedback
 * Use new-style extension format
 * Fix setup.py
 * utils.gen_uuid must be wrapped like str(utils.gen_uuid()) or it can't be serialized

Change-Id: I5e42e2f160e8e3476269bd64b0e8aa77e66c918c