Updated instance state on resize error.

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

Change-Id: I2e2f7a98be4b2edfc7d51a4d8d9e31b7b418f2ba
Fixes bug 983024

enable_dhcp, kill_dhcp and update_dhcp calls are sent to remote
nova-network, when a network is not associated with current host.

Change-Id: If7c7c6e58700cc171a8f56669e6455037df7f7e7
Improvement for the correct query extraction.

Change-Id: I6bf318dc42e9bc1cebb94a7d1c561b3e89ae6ec5
Minor refactor of servers viewbuider.

No need to construct the flavor link if we don't use it.

Change-Id: I6a06f865de71db1d99cd0fba43a27b753f3f50a4
Run ip link show in linux_net._device_exists as root

Bug 993097

Change-Id: Iaad55f2e878df65e9398f0c28786f0c13fb82a95
Sync to newer openstack.common.cfg

Changes since last sync are:

 * New ConfigOpts.find_file() for locating conf files
 * Support for directory source of config files
 * Provide file extension when when looking for files
 * Some refactoring of the cfg cache
 * Add caching to openstack.common.cfg

Change-Id: I5fd483b8d1a6e83f7237507132009d31dd8bcb77
Use ConfigOpts.find_file() to locate policy.json

Use cfg's new helper method to find policy config file. The basic
behavior is "look alongside the config file" with a fall back to
the standard default config paths.

Change-Id: I763097107c53fc9b7d4e783ee92bf16989d92cff
Generate a Changelog for Nova

Ubuntu uses a tarball to generate packages for Nova and
other openstack projects. This allows the user to find out
what is included in the tarball.

Signed-off-by: Chuck Short <chuck.short@canonical.com>

Change-Id: I0291e19eee1ff2c5fc98b499571b2563841c6076
Mistake with the documentation about cost function's weight corrected.

Change-Id: I131d6abc100682ae78c7ac2edfffadc491b9d437
Docs for vm/task state transitions.

Added diagrams to RST docs that show  required vm_state / task_state
transitions for compute api operations.

(Set Sandy Walsh as author since he created the diagrams)

Change-Id: Ie6a9cd4b54321a98fea5429ee52eb781f57f31a4
fix bug 992008, we should config public interface on compute

Change-Id: I35a7d63c9613161f9fea052edf39759e4e2c6227
Merge "Minor refactor of servers viewbuider."
Remove unnecessary shutdown argument to _destroy()

Xen requires the VM power state be not running before it can be
destroyed. Xen also requires the VM power state to be running
to shutdown a VM. The shutdown argument was available to ensure
that a shutdown was not attempted when the VM was not running.

Since commit f5b051bbd0858294157f911ecbb04542fadbb38d, the
_shutdown() method checks the power state and determines if it
should issue the shutdown command or not. As a result, the
shutdown argument is unnecessary and always calling the
_shutdown() method will ensure the VM is in the proper state
for the destroy to succeed.

Change-Id: I9bc6007598da4ac69e8d463be9af51deaf5d6535
Merge "Run ip link show in linux_net._device_exists as root"
Merge "Fixes bug 983024"
Merge "Remove unnecessary shutdown argument to _destroy()"
fix bug 977007,make nova create correct size of qcow2 disk file.

when use live block migration,ephemeral disks with qcow2 format
should be created in the destination with the same virtual size
as before.

Change-Id: I5c5b1295bdb3e4dc281698eba38c5ce697aa9bc2
Merge "Mistake with the documentation about cost function's weight corrected."
Defer image_ref update to manager on rebuild

We shouldn't update the DB and use it for passing the new image_ref for
a rebuild.  This causes a usage exists notification for the new image
instead of the old... and technically the new image is not accurate
until we shutdown the old instance and try building the new one..

Fixes bug 997245

Change-Id: Ia4bd4b8af90080a11875d9ee56661286bc3f5593
Merge "Improvement for the correct query extraction."