Clean up IronicNodeStates.update_from_compute_node

This method was needlessly wordy.

This patch does not change any functionality, merely makes the method
easier to read.

Change-Id: I7d66ea5e2146877f70a2e9060d3d4244f9493b9d
Improved coverage for ironic API

Added missing tests for get_one() in ironic.tests.api.*

Change-Id: I3d65441f4bf3857f40e856f692858e9b3ac19568
Reduce logging output from non-Ironic libraries

The service logs (especially for conductor), are littered with
debug output from other libraries when run with DEBUG verbosity.
This makes it extremely difficult to read the logs. This turns
off the noisiest offenders.

Change-Id: Id779506a7bebe7c7a13fadaeac34807050d1ce04
Fix grammar in error string in pxe driver

Noted during translation, the string fixed here suffered
from a grammar error.

Change-Id: Ic0b0acf2ee10bef4536ec664accf5a8d9108ba09
Show maintenance field in GET /nodes

Before the maintenance field was only shown if client issued a GET on
a specific node (node-show), but this is an important attribute to have
listed in a GET /nodes (node-list), it's a good info to know which nodes
from that list are in maintenance mode or not, and the Nova Ironic Driver
also need this information to determine which nodes are available to be
exposed to Nova or not.

Change-Id: Icc31a312130a1c2d5853da64bd9091a93221363c
Merge "Improved coverage for ironic API"
Merge "Clean up IronicNodeStates.update_from_compute_node"
Add Node.instance_info field

This is necessary for instance-level info accessed by drivers.

Related to blueprint add-node-instance-info

Change-Id: I4688676767a80ac6f1f3d571f0df4ea78bc756e1
Change admin_url help in ironic driver

Replace ironic driver's admin_url ('Ironic pulic api endpoint')
with 'Kestoyne API endpoint.'

Change-Id: I3ac43251efff74001aa0e881c34a0c36eb2968ca
Closes-Bug: #1298077
Use xargs -0 instead of --null

This gives compatibility with OS X in the test.

Change-Id: I483b4279d0d6a5a6fe4f81b9fb07a838e17e1b0f
Merge "Fix grammar in error string in pxe driver"
Refactor nova.virt.ironic.driver get_host_stats

Refactor the get_host_stats() method to be cleaner
and easier to maintain.

This patch does not change any APIs or functionality.

The unit test for get_host_stats() no longer made sense,
so it was removed.

Co-Authored-By: David Shrewsbury <shrewsbury.dave@gmail.com>

Change-Id: I1b49accfef546d87044f65dcb42b9bef8ab05c6d
Fix messages formatting for _sync_power_states

Missing '%' symbols for string formatting

Change-Id: Ib51c307f81fecbfd81a9b7241180b9b36c874652
Merge "Change admin_url help in ironic driver"
Merge "Reduce logging output from non-Ironic libraries"
Updated from global requirements

Change-Id: I850c1b0f3aa28814d99b17d705a0814d4fe3a7df
Merge "Refactor nova.virt.ironic.driver get_host_stats"
Merge "Fix messages formatting for _sync_power_states"
Merge "Updated from global requirements"
Update tox.ini to also run nova tests

This updates testr.conf to allow passing of the tests directory as an
environment variable (defaulting to ironic/tests/). Also updates tox.ini
to run testr once for ironic/tests and once for ironic/nova/tests/, then
combine subunit output.

test-requirements.txt is updated to pull in Nova from a tarball, as well
as mox and python-ironicclient.

Updates the existing Nova driver unit tests to account for recent
refactoring and changes in the Nova virt API.

Change-Id: Ibefa2e0d3f97512f4da9ace780703fe47467232e
Closes-bug: #1299312