Updated instance state on resize error.

Fixes bug 980685.
Set instance vm_state to ERROR if network node down during resize.

Change-Id: I2e2f7a98be4b2edfc7d51a4d8d9e31b7b418f2ba
Remove old flagfile support.

Implements blueprint remove-old-flagfile

nova-manage can still be used to convert old flagfiles style files
to new .ini files:

$ ./bin/nova-manage  config  convert --help
Usage: nova-manage config convert <args> [options]

Options:
  -h, --help        show this help message and exit
  --infile=<path>   old-style flagfile to convert to config
  --outfile=<path>  path for output file. Writes configto stdout if not
                    specified.

Change-Id: Ib8fbbd858b1db7faef70d7d97955e5042bf378f2
Signed-off-by: Ghe Rivero <ghe@debian.org>
Imported Translations from Launchpad

Change-Id: Ie1c613e5690d3c2956f5d10f55985d9b4f3a86cc
Create an internal key pair API.

Creates an internal key pair API and update the EC2 and OS API's to
use it. This de-duplicates some of the code used to manage keypairs
across the APIs.

Fixes LP Bug #998059.

Change-Id: I10d58d7ce68cc2b993c72b6639f66c72def3bfbc
fixes bug 999206

override the __unicode__() method too for python 2.6

Change-Id: Iec76c49585e29071415d937861e94d14ff22cc04
Pass 'nova' project into ConfigOpts.

Fixes bug 999305

The problem was that, post refactoring, `ConfigOpts.find_file` was no
longer searching `/etc/nova` for config files.

Change-Id: I3dee8d8f24ae3912e07dcb9d19086d55eb98ccaa
Alphabetize imports in nova/virt/

Change-Id: Ifca489da67cc834284ee2f2beeaafb28f0638f7e
Alphabetize imports

Except for nova/api/, nova/tests/, nova/virt/
In preparation for automated checking being enabled (N306)

Change-Id: I5af70ea13b470ce58695ef0a5e0ff9da3ac1b135
Merge "Create an internal key pair API."
Implement get_hypervisor_hostname for libvirt.

Implements get_hypervisor_hostname so that the
OS-EXT-SRV-ATTR:hypervisor_hostname extension can properly
display this information when using libvirt.

Fixes LP Bug #999729.

Change-Id: I124d48ca352dc225f88999046f9d212ffb9e4c6e
Merge "Pass 'nova' project into ConfigOpts."
Remove unused _get_target code from xenapi

 * Removes _get_target code from volume_utils
 * Code was changed to pull iscsi from connection_info
   in eb03d47fecd3bfc24243da29ee01679b334a08fe
 * Removes associated stubs

Change-Id: I50b4b40ac53c5bc76f32a953b94eaa024dc464b3
Merge "Alphabetize imports"
Alphabetize imports in nova/api/

Change-Id: I2a265ffded604265bdb9c75db36112aebf1e5270
Make use of openstack.common.jsonutils.

This patch imports jsonutils from openstack-common.  It removes the
equivalent code from nova.utils and then converts the code base to use
jsonutils.  The primary motivator for this change was to remove the rest
of the dependencies from nova.rpc on nova.utils.

Change-Id: If43658b9b098ed56cba018c81be268b8c3e2916a
Stop using nova.exception from nova.rpc.

This patch is a part of continuing to remove dependencies from nova.rpc
on the rest of nova.  One RPC related exception was defined in
nova.exception, so that was moved to nova.rpc.common where the rest of
them live.  These exceptions were changed to no longer use NovaException
as their base.  Instead, there is a new RPCException base.

One other change that should be reviewed closely is the removal of using
nova.exception.wrap_exception() in nova.rpc.amqp.  As far as I can tell,
this didn't actually do anything since nothing was being passed in to
wrap_exception().

Change-Id: I36ff7c05ab0467ad8506b56d561c532eadf8dff8
Merge "Alphabetize imports in nova/virt/"
Fix bug 988034 - Quantum Network Manager - not clearing ips

Added a line in nova_ipam_lib.QuantumNovaIPAMLib init
method to ensure we clean up IPs and explanation of whats
going on.

Also, nuked release_fixed_ip as that is not
needed in QuantumManager anymore.

Change-Id: Ic2ad1e87441c448c10ff097b28d2b6347eef5401
Merge "Alphabetize imports in nova/api/"
Merge "Fix bug 988034 - Quantum Network Manager - not clearing ips"