Use OSError instead of ProcessExecutionError.

This patch updates the ZeroMQ test module to use OSError in one place
instead of ProcessExecutionError from nova.exception.  In a previous rev
of this code, it was using nova.utils.execute(), but no longer does.

Change-Id: I3dac2981b5c1a7cd5fc0e4e8dbf0a2d378a1d136
 Fixes bug lp:999928

    The CIDR affinity filter currently matches the scheduler's IP address against
     the network specified by the 'build_near_host_ip' and 'cidr' scheduler hints.
     It should be matching each compute host's IP address against the network
     in the scheduler hints.
     Ensure that the compute host's IP address is reported as part of host_state
     and use this value in the filter.
     this issue has been talked at https://review.openstack.org/#/c/7470/

Change-Id: I14eac8797dfe8aaf870bb31ef7bf87edcf691f93
Fixes affinity filters when hints is None

 * Fixes bug 1007573
 * Includes failing tests

Change-Id: I827588f0694c5dd7b5e8ff3173d4794a55946d81
fixes bug 1010200

volume['id'] is no longer integer

Change-Id: I5a9f59618569a9702297154d29b703562fe36ee9
Add user_name project_name and color option to log

 * adds project_name and user_name to context for logging
 * adds color argument to logging which allows for colored
   log output based on the log level

Change-Id: If37d646fdba77d4214f72b19e5df02da5f7dbac6
Make eventlet backdoor play nicer with gettext

Fixes bug 1010236

Implement a new sys.displayhook that doesn't overwrite __builtin__._
that was set by gettext

Change-Id: Id3c0a331eb6f98240fe1e4d0b083c72e28f99c53
Fix whitespace in sqlite steps.

Change-Id: I06b7d4296512e4659961f40e3ca7b3395c0704cf
Resolve unittest error in rpc/impl_zmq

Fixes bug #1010376

Remove ensure_ascii=True from dumps function.

Change-Id: Ifb2f12371d3262a5765e4434178621d401e8c610
Merge "Make eventlet backdoor play nicer with gettext"
Fix power_state mis-use bug 1010586

SHUTDOWN and SHUTOFF are merged to SHUTDOWN in power state.

Change-Id: If6a64076a3c23837ee18a34dcbd0a08fd46ab57f
Avoid partially finished cache files.

`VDI.copy` stores half-completed files directly in the SR where we may
inadvertenly make use of them. To avoid these 'half-baked' records, we
compare its current size to its expected size.

Fixes bug 1009750

Change-Id: I0f279ce69bfa0842a6bc74f19fd61462c6013b28
Rename image to image_id.

The variable name `image` was a bit misleading since we're dealing with
an ID and not an Image object. This renames the variables to clarify
that fact.

Includes some other small cleanups like using new-style classes and replacing
`if X is True` with `if X`.

Change-Id: Ic1378da203cfb3e199b9d2f1a14911bc7e24a1f5
Merge "Use OSError instead of ProcessExecutionError."
Do not always query deleted instance_types.

When converting from flavorid to instance_type_id in the OSAPI,
it isn't always desired to return deleted instance_types. In the case
of OSAPI create(), we explicitly do not want to query deleted flavors.

Fixes bug 1010638

Change-Id: I9c26c7130f8c3d6680143e36b4aaa1f662c682a7
instance_destroy now only takes a uuid.

As requested in https://review.openstack.org/#/c/8218/. You'll get an
exception if you pass a non-uuid in.

Change-Id: I0e54eeba7ea65fa8f6640b47c47abf8c7b4f6b79
Add indexes to new instance_uuid columns.

Resolves bug 1009738 as well as several other bugs that haven't been
reported yet.

Change-Id: I09b456df70aaaba1bc4ac00514e63bda804d7f92
Merge "Fix whitespace in sqlite steps."
Merge "Add user_name project_name and color option to log"
Merge "Resolve unittest error in rpc/impl_zmq"
Merge "fixes bug 1010200"