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
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
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
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
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
implement blueprint floating-ip-notification.

add floating ip alloate/disalloate, associate/disassocaite notify
events.change releative tests to make changes pass through.

Change-Id: I77257528cd87da44ace896d65a4268a066ed888e
Avoid unnecessary inst lookup in vmops _shutdown.

Updates the XenServer vmops.py _shutdown function so that it
avoids calling get_info/_get_vm_opaque_ref with the instance name.
Since _shutdown already has the vm_ref there is no need to make
this call.

This fixes an issue where 'RESIZE' was broken when resizing to
the same host.

Fixes LP Bug #997313.

Change-Id: Ic5a1a0f92df9a2b809aef20a250843bf48402d75
API does need new image_ref on rebuild immediately.

This restores the DB update for image_ref immediately on rebuild, but
passes the old image_ref to the manager for use with instance.exists
notification.

Fixes the fix for bug 997245

Change-Id: I8cf6a8759e8fe605bb023048a320b15eee3bcd80
Minor help text related changes

based on comments from https://review.openstack.org/#/c/7269
Removed duplicate declaration from test cases.

Change-Id: I090cd3ba0aa2ed3720223deea5e44cfe71682fe0
Update PostgreSQL sequence names for zones/quotas.

Fixes LP Bug #993667.
Fixes LP Bug #993669.

Change-Id: Ifcc33929ced617916bd6613fc941257494f4a99b
Added image metadata to compute.instance.exists

Added image metadata to compute.instance.exists notification.
This information is a convenience to assist billing/usage systems
by providing information about the image the instance was built
from.

Change-Id: I27e8c048ed419858ba2eb3e20c25ac454b0419b6
Report memory correctly on Xen. Fixes bug 997014

/proc/meminfo may show wrong values for the memory when using Xen, so
this fix computes the memory quering libivrt.

Change-Id: I188e2d34bcee13954653b93b9b816cf4530b8859
Removed unused snapshot_instance method

Removed snapshot_instance method on base virt driver.  It is
essentially an unused duplicate of the snapshot method.

Change-Id: I082075d8d6797bd60072d375f3ce16704ff6351e