minor corrections to devref rpc page

Correct wording to proper English and remove extra space between words while
in there.

DocImpact

Change-Id: If4b3d9d81d7193107e84867e4ab713c413a4976d
Correct exception info format of v3 flavor manage

The existing flavor manage may raise HTTPBadRequest exception,
But the msg info didn't use '_' prefix. This patch adds it.

Change-Id: I736bf4b0e78ecc0bb753d376ee162f19fafc09e1
Remove XML namespace from some v3 extensions

The XML support was removed from the V3 API plugins,
this XML namespace was not used again.

Change-Id: I427597dd3f6d454037a791f911756a97f343966d
libvirt: Close opened file explicitly

Every opened file should be closed properly.

Change-Id: I5405638ba033f75957461c0ad33be9f0c6a17e3b
Remove bdms from run_instance RPC conductor call

After the move to build_and_run_instance in change
Iefab71047996b7cc08107794d5bc628c11680a70 we get the block device
mapping out from the DB on the conductor side. We need to do this since
there is not enough data in the RPC call from the API (we don't have DB
id's so compute can't use that data to update block devices in the boot
process).

Based on this - we should stop sending block devices to the conductor.

Change-Id: Ic7a5da3f0d58093c3b249025b9fcd36a1321f2b3
Initialize objects field in ObjectsListBase class

Normally the underlying value of an object attribute is set upon first
attempt to set it and would not exist otherwise. This causes the object
attribute access mechanism to fall back to obj_load_attr.

This is mostly fine for a lot of use cases, but it also means that for
ObjectListBase subclasses, it is not possible to construct them empty
and then call list methods on them without resorting to something like:

  myListObject(objects=[])

This patch makes ObjectListBase default it's objects filed to [] if it's
not passed in allowing us to have a cleaner API and call list methods
such as len() on objects constructed on the fly..

Change-Id: Iad1301cc4f88018f10f3dd6c76e35275cd0c51f6
Log cleanups for nova.virt.libvirt.volume

More log cleanups:
 - add log hints for error and warning levels

Change-Id: Idff1575208a1004350d89848059541502ee15e9a
Imported Translations from Transifex

Change-Id: Id870a1cc67448d116025fbba8eaaf962c69daefc
Fix the duplicated image params in a test

In _test_create, there is a parameter "no_image" to disable "image_ref"
in a request body of "create a server" API. The way of disabling is
setting '' as "image_ref".
So the unit tests using _test_create pass the duplicated images:
the parameter image_ref '' and the parameter block_device_mapping

This patch fixes this duplicated image parameters.
This problem was detected through the API validation works and
Ic17d2227909c9180ca86c9d578dad4c73ec57dfc needs this fixing.

Change-Id: I36ffc87309afadec7da3fa19e01ea8f00f0f9f8d
Clean nova.compute.api.API:_check_num_instances_quota

Simplification to a better understanding of total_allowed value
Originally:
total_allowed = used + headroom [resource]
with used = quotas [resource] - headroom [resource]
So total_allowed = quotas [resource]

Change-Id: Ie4b1f6cb8f0fd80610bdf3fb10ea0263281f56c0
live migrate conductor tasks to use nova.image.API

While the patch (I67e7c9d841e5bad82cdca8f7048eaa57f0cfbb2f) was being
reviewed, live_migrate functionality was moved to the conductor. This
live_migrate task code needed to be updated to refer to the new
nova.image.API object instead of the old nova.glance.GlanceImageService
object, which had a slightly different API.

Change-Id: I7ddb778432643f4b5371d11b675951fc678135c5
Closes-bug: #1326926
Make exception handling in get_image_metadata more specific

The generic try/except with Exception was masking an
AttributeError raised during migration flows in conductor.

This change makes the error handling specific to the translated
exceptions raised from the image service in nova.image.glance,
specifically the _translate_image_exception method.

Related-Bug: #1326926

Change-Id: I3e4db73569fc1b02d7a05b4ab10fe83fec956922
Merge "Fix the duplicated image params in a test"
Merge "Imported Translations from Transifex"
Merge "Clean nova.compute.api.API:_check_num_instances_quota"
Merge "Remove bdms from run_instance RPC conductor call"
Merge "Initialize objects field in ObjectsListBase class"
Merge "libvirt: Close opened file explicitly"
Merge "Remove XML namespace from some v3 extensions"
Merge "minor corrections to devref rpc page"