[PATCH] Allow [:print:] chars for security group names

Fixes bug #1000673

Change-Id: Id1b23d6a0f8d328f65b66f947e8937fa1914a5db
cleanup power state (partially implements bp task-management)

Removed duplicate and invalid state in power_state:
FAILED, SHUTOFF, BLOCKED
This is the first step in cleaning up nova state machine
and do better task management (bp/task-management)

http://wiki.openstack.org/VMState

Change-Id: I586b9058fada5efd468870fb187590fc0e37aa8f
Fix instance update notification publisher id

Fixes instance update notifications to follow the nova convention for
publisher ids.  The notification publisher id will now be of the format
service.host (e.g. compute.somehostname).

Change-Id: Ib5c4c962b9ac3e0bac90703b20465f99dfd047c0
Eliminate a race condition on instance deletes.

- Add constraint and equality conditions to nova.db[.sqlalchemy].api
- Use host constraints to ensure the compute api doesn't simply delete
  an instance from the database that a compute manager has already
  started to run.

This race condition is associated with bug #998117

Change-Id: Id74192d3e66bea073327342f57ce0f26987efd2d
Add get_console_pool_info() to the compute rpcapi.

Part of bug 1006467.

This patch adds the get_console_pool_info() method to the compute
rpcapi.  This is used by the console manager.

Change-Id: I429123ed48cb2a5fcfb70248eac743cf4e7a76f2
Add finish_revert_resize() to the compute rpcapi.

Part of bug 1006467.

This method is used by the compute manager itself.  Add it to the
rpcapi and use it from there.

Change-Id: I7fcab5b0b498318377a1a108e2eeb4db1ae1e4ea
Add resize_instance() to the compute rpcapi.

Part of bug 1006467.

This method is used by the compute manager.  Add it to the compute
rpcapi and use it from there.

Change-Id: I873fc0740595f7387ea476b11fd2c70d29d4765a
Add finish_resize() to the compute rpcapi.

Part of bug 1006467.

This patch adds the finish_resize() method to the compute rpcapi.  It is
used by the compute manager.

Change-Id: I989bc70c1af44001a095e64b8abde05a0f99964d
Add rollback_live_migration_at_destination() to compute rpcapi.

Part of bug 1006467.

This patch adds rollback_live_migration_at_destination() to the compute
rpcapi.  This method is used by the compute manager.

Change-Id: Iadbb50fc5cb0f7b5ad483d48666bc81e033ac5f4
Add pre_live_migration() to the compute rpcapi.

Part of bug 1006467.

This patch adds pre_live_migration() to the compute rpcapi.  It is used
by the compute manager.

Change-Id: I70fb66ad194837faa1139e644888c4a7c7a5a0a6
Add post_live_migration_at_destination() to compute rpcapi.

Part of bug 1006467.

This patch adds the "post_live_migration_at_destination method to the
compute rpcapi.  It is used by the compute manager.

Change-Id: I964d3b149e10c927657d0b239835335eb240b6e4
Use compute rpcapi in nova-manage.

Part of bug 1006467.

This patch fixes nova-manage to use the compute rpcapi instead of
calling rpc.cast() directly.  This cast was actually broken, as it sent
an instance ID instead of UUID, so this change should make this code
functional again.

Change-Id: I90a1bf4a03cc6d9e21f24f19165141f894b6ec75
Add refresh_provider_fw_rules() to compute rpcapi.

Part of bug 1006467.

This patch adds another method to the compute rpcapi -
refresh_provider_fw_rules().  It is used from compute.api.

Change-Id: I653efc00a2324047f34a383da9e36454a45c4038
Add get_console_topic() to the compute rpcapi.

Part of bug 1006467.

This patch adds get_console_topic to the compute rpcapi.  This method is
used by the console API.

Change-Id: I738be88a52fede0739a73283b6e2640072f0f72b
Add compare_cpu to the compute rpcapi.

Part of bug 1006467.

This patch adds compare_cpu to the compute rpcapi.  This is used by the
scheduler.

Change-Id: Ibce3ab3797c1305829c0722be1813e462193f08b
convert virt drivers to fully dynamic loading

Progress on bp:virt-driver-cleanup

This series of patches converts the virt drivers to loading via
importutils making it possible to add a virt driver without changing
core code. It deprecates the use of connection_type in favor of a
full driver name in compute_driver.

Based on email thread with Vish and Jay Pipes on approaches to do
this.

Change-Id: I48366ec7efc7b095859988e5e6ac5a853b98b8a7
XenAPI: Don't hardcode userdevice for VBDs

Cleanup and refactor the way VBDs are allocated so it's clearer what
userdevice each VDI is allocated to. Also, use a dict of VDIs instead
of a list since it's nonsensical to have multiple VDIs of any type
and simplifies the code somewhat.

Change-Id: I46d6215dbd90822970a874af66f22c9a34529a40
Start removing unnecessary classes from XenAPI driver

The XenAPI driver has the concept of helper classes. All methods
have been classmethods and the classes themselves are never
instantiated. As a result, they only add an extra namespace
lookup and provide no value.

The first step is to move some functions from HelperBase to the
session class where it is better suited.

Change-Id: I13d6d49509052d35339a0ef132647bd61179cdd8
Remove vm_utils.VMHelper class

The XenAPI driver has the concept of helper classes. All methods
have been classmethods and the classes themselves are never
instantiated. As a result, they only add an extra namespace
lookup and provide no value.

Change-Id: If8a20501c9a9353359234441580552e41471722b
Remove volume_util.VolumeHelper class

The XenAPI driver has the concept of helper classes. All methods
have been classmethods and the classes themselves are never
instantiated. As a result, they only add an extra namespace
lookup and provide no value.

Change-Id: I26d1adfd378adc0728388185ba81fc4c71a41bdc