Include hostname in notification payloads.

Moniker is going to want this in order to autogenerate
certain DNS records.

Change-Id: I3a9a6afb88712a297397493d310d55abcc63897e
'BackupCreate' rotation parameter >= 0

In the extension 'admin-actions' of OpenStack Compute API, the action
create backups should only accept rotation parameter greater than or
equal to zero.

If the 'rotation' parameter is negative, OS API returns a badRequest
400 HTTP error.

Fixes LP bug #1071168

Change-Id: I6ef08fbecb0f88942cdb16193e9d2c3831866fe9
Yield in between hash runs for the image cache manager.

This should stop the cache manager from locking up nova-compute for
long periods of time.

Change-Id: Icc510a55282b479b3ba673ac68aee793da1714fb
Add nova option osapi_compute_unique_server_name_scope

Setting this option forces nova-api to check for duplicate
server names either in the project or system-wide.

The default behavior remains the same: duplicate names are allowed.

DocImpact: Adds a new Nova config option

Change-Id: I28baf8c63f9c62f457bfff0a2fb510f0c517a351
Restore self.test_instance at LibvirtConnTestCase.setUp()

And correct a test, which used to pass wrongly.

Change-Id: Ia0ffe96b44eaea39fa0957efcc31303c1d9fcb18
Migrate floating ip addresses in multi_host live_migration

Make migration of floating ip addresses work and work only
in multi_host mode.
Add test case for post_live_migration_at_destination.

Fixes bug 966529 and bug 1029291

Change-Id: Ia79030e5bcfc55e5a33b20a3d6eead01fa5b255a
Handle image cache hashing on shared storage.

Resolves bug 1075018.

Change-Id: Iddb092468fae1e7af18134bc433708410d15184d
Enhance compute capability filter to check multi-level

    Host state capabilities include multi-level information, like
cpu features are presented in capabilities:cpu_info:features, cpu
core number in capabilities:cpu_info:topology:cores.
    Multi-level capability check maybe helpful in some situation, like
user want to make sure host support SSE3 instructions or AES-NI, or
user want to make sure the host has >4 cores for SMP instance. Current
capability filter does not support these requirements.
    To support multi-level check, also add scope to capability filter,
so, now capability filter will handle no-scope extra_specs, or scope-format
as "capabilities:xxx:xxx" etc.

    Related to bp hw-feature-to-vm

Change-Id: Id714f99b4babbdb328b8e47f5a270be517b528d2
Signed-off-by: Yunhong, Jiang <yunhong.jiang@intel.com>
Unpin amqplib and kombu requirements.

Ubuntu is using a much newer version of these libraries so we
shouldn't lock the versions in our infrasctructure. Using a > 1.0
of amqplib is particularly useful as it turns on keepalives by
default.

Change-Id: I956e70e0c39c76d1632fb708cd78aeb51adbd250
Introduce a VFS api abstraction for manipulating disk images

Currently the file injection code has the assumumption that the
guest disk image can be mounted on the host filesystem, which
limits the techniques which can be used. Introducing a VFS API
abstraction allows the file injection code to be de-coupled
from the host filesystem.

blueprint: virt-disk-api-refactoring
Change-Id: I107c018586fd9b6fc2c7d497b7a437ac24f11944
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Make ec2_instance_create db method consistant across db apis

Fixes bug 1079463

Also changes call to ec2_instance_create in sqlalchemy instance_create
method to go through db api as opposed to direct to sqlalchemy api.

Change-Id: I60136a2c7019bda25225d8e02e82a9ccfbb61e2f
Fixes an error reporting bug on Hyper-V

Fixes Bug #1079739

In case of errors during Hyper-V job executions, error reporting is not working
properly due to a bug in the way in which the message is formatted.

This fix handles the formatting properly for any type of WMI job.

Change-Id: Ife2756d42d14e19d9e7f204c317adc248025041a
improve session handling around instance_ methods

clean up session usage in some of the instance_* methods:
  instance_destroy
  instance_get_all_hung_in_rebooting
  instance_(add|remove)_security_group
  instance_info_cache_(get|update|delete)

also remove instance_info_cache_create since this is not used

blueprint db-session-cleanup

Change-Id: I33913dae3bc28e05d856d951454440a12616706e
Fix os-hosts extension can't return xml response correctly.

Also add os-hosts integrated testing template files.
fix bug 1075575
fix bug 1070167.

DocImpact

Change-Id: I6b9f9e58e7cbe10a931d2c83d9baf9dcee74de08
Fix calls to private method in linux_net

LibvirtOpenVswitchDriver currently calls private method in linux_net.
Modify this private method into a public method

Fixes bug 883299

Change-Id: I5784b1550981636aa1c0abed040a86008c817b5d
Add the beginnings of the nova-conductor service

This adds a new service called "nova-conductor" which will provide
services for nova-compute, such as completing database updates and
handling long-running tasks.

Right now, this just adds a fraction of the database-related work
so that we can proceed with incremental changes to nova-compute.

For compatibility/flexibility, both LocalAPI and (RPC)API classes
are provided. Users concerned with performance or compatibility
who wish to maintain compute-node-local database accesses can
set the [conductor] use_local=True, which will mimic the legacy
behavior.

DocImpact

Change-Id: Ib81d879f40b7daceeffad5af0631c7db68168661
Fix reversed args to call to _reschedule

Fix reverse args to _reschedule call in compute manager.

Change-Id: I3d06e3a4e9bef6c83f44fec545e2fc5f28148b49
Fix typo: hpervisor=> hypervisor

Change-Id: Ia27e0ea7d0334c84a205ab8740a4a291c1983945
Pass rpc connection to pre_start_hook.

The pre_start_hook allows a manager to perform some additional service
setup before the service starts reading messages from message queues.
This patch moves the hook just a bit so that it's after creating the rpc
connection, but before creating the default queues, and most importantly
still before the service starts reading from the queues.

The pre_start_hook now gets the rpc_connection as an argument.  That
will allow this hook to set up some additional queues beyond the ones
that are set up by default in the base service code.

Change-Id: I5bf7795fca21627566ef4f688d45dc83bb953d1b
Merge "Add the beginnings of the nova-conductor service"