added getter methods for quantumv2 api

Change-Id: Ie2b7ba698c232f55e112b978d7a548b48462fca3
Fix HostDeserializer to enable multiple line xml

Fixes bug: 1082132

The current HostDeserializer wasn't able to deal with multiple line xml inputs.
Since the HostDeserializer is used only on the update operation this patch
renames it to HostUpdateDeserializer, and parses only the valid options (status
and maintenance_mode).

Change-Id: I9ec3b296a07e0fc903da1c005cf7bd5dcb08fd1b
Complete API samples for Hosts extension

The API samples for Hosts extension missed power operations (shutdown, reboot
and startup) and maintenance/status operations.

Complete fix to bug 1070167

Change-Id: I07fd34e071eae9afc82f9320634df24f48623e0b
RetryFilter checks 'node' as well as 'host'

FilterScheduler and RetryFilter use "(host, node)" instead of "host" to
filter candidates. It makes rescheduling on different nodes in the same
host possible.

Fix bug 1081370

Change-Id: Id51b262de7b47b5f9215463eca5ae07a29109c3f
Imported Translations from Transifex

Change-Id: If111dacc960ea1882d0eda238c0c9dffaa9edf94
Add aggregate_host_add and _delete to conductor.

Offload the db writes for adding and removing a host to or from
a host aggregate to the conductor service.

Part of blueprint no-db-compute.

Change-Id: I7c3da2d5c9fc6d7e72fb9371b7ea6a2b10c5218d
Remove start_guests_on_host_boot config option

Fixes bug 1081808

The start_guests_on_host_boot config option ignores any/all
user-requested VM state and attempts to start every VM assigned to the
hypervisor in question. This means even a VM which was suspended,
paused, in error state, etc will run through the process of attempting
to start. resume_guests_state_on_host_boot provides similar
functionality, except that it confirms the VM was previously in a
running state prior to attempting to restart on compute startup.

This patch will remove the config option entirely.

Flags: DocImpact
Change-Id: Ib26e74c46e17496bccf8e6fa3002fc4c78bde9e9
Fix KeyError of log message in compute/api.py

Remove the NOT exist parameter 'msg' in log.

Fixes: bug #1084335

Change-Id: I8bc7a32edcff5e61505f2bc564bae916a753a97f
Access DB values as dict not as attributes

We cannot assume nova.db.api will be returning sqlalchemy objects with
attributes, instead treat return values as dicts

Part of blueprint db-api-cleanup

Change-Id: Icb955118aabff1d8f9ee7c3e95f8f2b3ffc671ee
Fix typo in inherit_properties_from_image

Should be architecture rather than arch.
Fixes LP: 1082547

Change-Id: I9e40b00ec05a99f11894b0e47a9cf47b20b46fe2
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Fix args to AggregateError exception.

This patch adds some arguments to the AggregateError exception when
raised from a test.  This didn't actually break the test, but it threw
me off for a little bit.  I had done something to break this test, so
when I went to look at why, there was an exception logged because of this
mistake, which wasn't related to what the real problem was.  To avoid
this unnecessarily making it into the test log, pass some stuff so that
building the exception message succeeds.

Change-Id: I4460f4844c16877ef78b363842518b0ba96eb9aa
Don't run the periodic task if ticks_between_runs is below zero

if the user sets say image_cache_manager_interval=-1, then
don't add the task to the list of periodic tasks

remove extra braces that i had added

DocImpact

Fixes LP #1084232

Change-Id: Ieecd67ddbc70b815a88f40e72ca2899787d75988
Merge "Access DB values as dict not as attributes"
Merge "added getter methods for quantumv2 api"
Merge "Don't run the periodic task if ticks_between_runs is below zero"
Merge "Fix KeyError of log message in compute/api.py"
Merge "Remove start_guests_on_host_boot config option"
Merge "Fix args to AggregateError exception."
Merge "Fix HostDeserializer to enable multiple line xml"
Merge "Complete API samples for Hosts extension"