Prevent rescuing a VM with a partially mounted volume.

If a VM goes into rescue mode with a partially mounted volume, the
volume won't re-appear after the VM is unrescued.

Fix bug 1158942

Change-Id: I1e104236c41c59e67a0f0e9ef26143c57f6e0094
Checks if volume can be attached

This patches makes a boot fail fast if one of the volumes cannot
be attached at boot time. Currently the request is accepted but
spawning fails in addition to leaving the volume state as
available which is an inconsistent state

Change-Id: I35b2034f8aa9574fcb8a34b58ead9f5e9ef27664
fixes: bug 1166770
Move db.fixed_ip_* tests from DbApiTestCase to FixedIpTestCase

During bp db-api-tests we will create for each model
ModelNameTestCase that contains tests for all methods that works
with this model..

So we shouldn't have DbApiTestCase at all. This patch will move
from DbApiTestCase methods that tests fixed_ip_* methods to already
existing FixedIpTestCase and a little bit improve it.

blueprint db-api-tests

Change-Id: I914c448d26c2b04a9fc3aa9614b7adf6f35b54d0
Merge "Move db.fixed_ip_* tests from DbApiTestCase to FixedIpTestCase"
Merge "Checks if volume can be attached"
Merge "Prevent rescuing a VM with a partially mounted volume."
Add force_nodes to filter properties

Add support for "force_nodes" to filter properties, following the example
of force_hosts. In doing so, fix an issue where the presence of either
force_hosts or ignore_hosts would have squashed a host with multiple nodes.

A node can be passed in via the --availability_zone
option, separated from the hostname with a colon. Eg,
  nova boot --availability_zone=zone:host:node
Note that "host" is optional here, and "zone::node" also works.

DocImpact

Implements bp baremetal-force-node

Change-Id: Icfee63c80eb355c29594f8badde4183496b395ac
Deprecate show_host_resources() in scheduler manager

This method does not at all belong in the scheduler. Its only use is
from being remotely called by nova-manage to whom it returns data
fetched from the db. I think nova-manage is better of fetching this
data on its own instead of making this extra round trip to the
scheduler.

Change-Id: I435300cdd15bdd041cbe5718ae064b98cec4cceb
Merge "Deprecate show_host_resources() in scheduler manager"
Merge "Add force_nodes to filter properties"