Allow overriding the log level for ironicclient

oslo provides a 'default_log_levels' conf variable for overriding
logging levels for certain modules. This could be used to override
ironicclient's default logging level, however it requires re-setting
all of the log levels for oslo's defaults. This is rather inconvenient.

I think it makes sense to allow the ironic virt driver to have an easy
config option for this. When in debug mode, ironicclient logs every
single API call and response. In an environment with a lot of nodes,
it clutters the logs.

This adds a 'client_log_level' config option to the 'ironic' config
section in nova. If it's unset (default), there's no change in behavior.
If it's set, it takes precedence over the 'default_log_levels',
'verbose', and 'debug' settings that one may have in nova.conf

Example usage:
[ironic]
client_log_level=INFO

DocImpact

Closes-bug: 1325663

Change-Id: Id16d5017e1d9ae5d2b15ff3daca177ab36a32869
Prevent updating UUID of Node, Port and Chassis on DB API level

UUID is seen as something similar to pkey and is not expected
to be updated after creation.
This patch makes update_{node,chassis,port} raise InvalidParameterValue,
if 'uuid' field is passed in.

Closes-Bug: #1333683
Change-Id: I7312036a5144cebe3da7f033f73e881e79e8a2ca
Updates Ironic Guide with deployment information

This patch updates
Ironic deployment information
Adds 3 deployment diagrams
Describes deployment process

Change-Id: Idbe973c9a5f9805fe9a186a1db77fc66c044eeaf
Simplify error handling

This code block is needlessly complex.

Change-Id: I41375458d21e38267cd0a1d21b0b14ab498fc172
Updates the Ironic on Devstack dev documentation

The current devstack configuration in the dev documentation
is out of date and will not successfully spin up a
Nova with Ironic driver environment. One of the critical
changes necessary is to set the IRONIC_VM_SPECS_RAM to 1024,
as that is now the minimum size for a virtual Ironic node.

This change also updates the configurations to more closely match
the ones being used for the virtual ironic Devstack job and
explicitly sets file logging to make debugging easier.

Change-Id: Ifbe0af9759483ccd80e74b24d45eaa4726c4b101
Imported Translations from Transifex

Change-Id: I8dd0d1763f7fe0ceec73ad3724300d15133a3071
Add set_spawn_error_hook to TaskManager

This patch is adding a way to create a hook on the TaskManager that gets
called upon an exception being raised. The task.spawn_after() do not
raise any exception making it impossible to add some logic around it in
case something goes bad with the method being executed by the greenthread.

Partial-Bug: #1331494
Change-Id: I5755df359a6e8678b64d4d59c25a9192f575b13d
Merge "Updates the Ironic on Devstack dev documentation"
Specify rootfstype=ramfs deploy kernel parameter

Specifies that the kernel use initramfs rather than tmpfs to back
the booted deploy ramdisk, eliminating the 1GB min. memory requirement
for Ironic nodes.

Change-Id: Ibbb0b9d4ce75697a7cbf2756cf4cb8323a56b137
Related-bug: #1311987
Add more INFO logging to ironic/conductor

Change-Id: I9506852ed76cbb57f21403233809ca5f04b8046f
Partial-Bug: #1273856
Merge "Imported Translations from Transifex"
Merge "Add set_spawn_error_hook to TaskManager"
Merge "Add more INFO logging to ironic/conductor"
Updated from global requirements

Change-Id: Icb78fa27d169c9667a982d9f1d3a0cde10f808d8
Merge "Specify rootfstype=ramfs deploy kernel parameter"
Document 'POST /v1/.../vendor_passthru'

http://docs.openstack.org/developer/ironic/webapi/v1.html does
not contain anything about how to use vendor passthru endpoints.
This adds 'POST /v1/nodes/(node_uuid)/vendor_passthru' and
'POST /v1/drivers/(driver_name)/vendor_passthru' to that
html page.

Change-Id: I6191be759f168c58e80d946530af7a0c4267501c
Closes-Bug: #1331415
Update docstring for api...node.validate

Add the param to the docstring for api.controllers.v1.node.validate.
With this change, the generated webapi page [1] will include this
information. Without it, it shows:
    Validate the driver interfaces. :type node_uuid: uuid

[1] http://docs.openstack.org/developer/ironic/webapi/v1.html

Change-Id: Ia33755b7ef1473aa0d04b22c76f20b7f1a99cd6b
REST API 'limit' parameter to only accept positive values

The REST API 'limit' parameter was accepting 0 as a valid value, but 0
is not a positive value.

Closes-Bug: #1340280
Change-Id: Ib816c6003da6dee740addb25eb5d4bffe2497967
Update webapi doc with link and console

http://docs.openstack.org/developer/ironic/webapi/v1.html is updated
as follows:
- changes the path descriptor of NodeStates to use '(node_uuid)' instead
  of '<uuid>' to be consistent with other paths
- adds [GET/PUT] /v1/nodes/(node_uuid)/states/console to show how to
  access the node's console
- fixes the "Links" section so that Link information is shown

Change-Id: I9d4a32550b81bb5ccf2fa23d8b591d8a945c04cc
Merge "Allow overriding the log level for ironicclient"