Remove pause/unpause NotImplementedError API layer

There are 2 kinds of RPC call from API layer to compute layer,
one is cast and another is call. For cast, the RPC message will
be posted and the API service will not wait for the message to
be processed. So it won't be able to catch the exception raised
in compute layer, so catch and handle the exception is useless
and error leading. This patch removes code in API layer for
pause and unpause functions.

Change-Id: I7cbb8179b3eec8496b90ff5cf07397522d52c5de
Downgrade the warn log in network to debug

Downgrade the log from warn to debug for overquota.
Didn't remove it because it's called internally and it might
be helpful for operater to take a look.

Change-Id: I1d3c27a8d97085d9919180a28018b234392f28e4
Convert network/api.py get calls to use Network object

This makes the network api module use the Network objects for
get() and get_all() operations. There were no tests for these methods,
so this patch adds them in the process.

Related to blueprint compute-manager-objects-juno

Change-Id: Iea1104a111e50a796077cdf0ed5b0f4e75bfcbcb
Convert network/api.py fixedip calls to use FixedIP object

This makes the network/api.py module use the FixedIP object for
fetching fixedip information instead of direct database access.
There was not complete test coverage for these calls, so it is added
here.

Note that this includes a change to the FixedIP object, which allows
for the case that fixed_ip_get_by_floating_address() can return
None. This is technically an RPC-visible change that would normally
require a version bump. However, I don't think it's worth bumping
the version here since this bug would cause calls to explode in a
non-useful way, thus preventing callers from being able to tolerate
the case where the DB call returns None.

Change-Id: Id8a9c8d2d10ddfaf0990258ac496da7c48a9b28c
Remove duplicate index from block_device_mapping table

Migration 186 (doesn't exist anymore) deleted the column virtual_name
from the the block_device_mapping table. This ended up modifying an
index (block_device_mapping_instance_uuid_virtual_name_device_name_idx)
to be identical to (block_device_mapping_instance_uuid_device_name_idx)

Closes-Bug: 1265839
Change-Id: Ib293220eb764e9810212d121ce7889e6aefc266e
Add policy on how patches and reviews go hand in hand

There is currently a misconception about how a patch gets merged:
Author proposes a patch, review team reviews it. Us, and Them. Instead
it should be a 'We.'
If the review bandwidth doesn't grow at the same rate as the patch
proposal rate then we end up with a massive backlog where people are
pinging cores for reviews.

Record a recommended policy of asking patch authors to offset the review
resources spent on their patch by reviewing other patches.

Change-Id: I50653f8ea58240fa664519f544ce16b2adf39006
Compute: add log exception hints

Add hints for log exception messages

Change-Id: I05367ac3d9ff94e7d6aa5e446222d4d01f970205
Update devref out-of-tree policy grammar error

The sentence structure was wrong and therefore bugging me.

Change-Id: Iac7f0803d9cc9b73075f3f0aa23e690386be71ee
Make spawn_n() stub properly ignore errors in the child thread work

When we call spawn_n() normally, we fork off a thread that can run or
die on its own, without affecting the parent. In unit tests, we stub
this out to be a synchronous call, but we allow any exceptions that
occur in that work to bubble up to the caller. This is not normal
behavior and thus we should discard any such exceptions in order to
mimic actual behavior of a child thread.

Change-Id: I35ab21e9525aa76cced797436daa0b99a4fa99f2
Related-bug: #1349147
Merge "Convert network/api.py get calls to use Network object"
Updated from global requirements

Change-Id: I498bf40a94120a4f56a35154aa4d7a66668cd3fb
Merge "Downgrade the warn log in network to debug"
Merge "Remove pause/unpause NotImplementedError API layer"
Merge "Update devref out-of-tree policy grammar error"
Merge "Make spawn_n() stub properly ignore errors in the child thread work"
Merge "Add policy on how patches and reviews go hand in hand"
Merge "Convert network/api.py fixedip calls to use FixedIP object"
Merge "Remove duplicate index from block_device_mapping table"
Merge "Compute: add log exception hints"
Merge "Updated from global requirements"