Remove 'incubated' documentation theme

Ironic is no longer incubated, so let's not use the incubated HTML
documentation theme anymore.

Change-Id: I202a549125144e10a93a62b5bbdd03370f7847be
Refactor PXE clean up tests

Make this tests really unit test, leave a separate "full flow"
test for checking the most common case without mocks.
Also add missing test for iscsi_deploy.

Change-Id: Idc85efce2d58e41642a4a72c612df4a5f9f12082
Closes-Bug: #1370487
Force the SSH commands to use their default language

SSH commands often have to parse an output and do some pattern matchings
(e.g using grep) that makes those commands dependent on the system
language and causing it to fail on systems with a non-english locale
setting.

This patch forces the SSH commands to use their default language
(whatever language the strings in the application was written in) for
output by passing LC_ALL=C as part of the command. For virsh, vmware,
vbox and prlctl the default language is english making the commands from
the SSH driver to work independent of the system language.

Closes-Bug: #1373671
Change-Id: I175d84fca4e10b8c9468bc4fe54ecd865725e39c
Add HashRingManager to wrap hash ring singleton

Currently, the API service creates a new hash ring on every request.
Instead of that, we should cache the hash ring object -- but we should
also expose a way to refresh it when necessary. This method will also
be used by the ConductorManager to cache and refresh the hash ring
when conductors join / leave the cluster.

This patch preserves the existing API behavior by resetting the hash
ring on every request. This should be addressed in a subsequent patch.

Co-Authored-By: Devananda van der Veen <devananda.vdv@gmail.com>
Change-Id: Ib7ab55452499d1e1c362e4cd127f1e6e38106d6c
Stop running check_uptodate in the pep8 testenv

As per this discussion on the mailing list:
  http://lists.openstack.org/pipermail/openstack-dev/2014-September/047160.html

We are going to stop enforcing the correctness of the sample config
file, and move to a separate non-voting check test that notifies us when
it is no longer accurate, thus prompting a human to correct it.

This addresses the issue where config options in dependent libraries
(eg. keystone) repeatedly break our gate, without removing the sample
config file that deployers benefit from.

Change-Id: Ief88a693e4967b32f5f2f71b9a683599527a5129
Imported Translations from Transifex

Change-Id: I5b9e2147daaeff1860917fb77c2708b55efb2f9f
Always reset target_power_state in node_power_action

Currently under some conditions target_power_state can be left
on the node, making it impossible to operate on via API.

Change-Id: Iba92c9bfae3616661cadf602618a66d2664264ee
Closes-Bug: #1375641
Merge "Stop running check_uptodate in the pep8 testenv"
For convention rename the first classmethod parameter to cls

This is a follow-up patch on 9de2d21a96f440807b9822173de3fd3b6119fbe8

Change-Id: I043cc279dce7e2dbf9511a2f23c443c438affb51
Merge "Always reset target_power_state in node_power_action"
Merge "For convention rename the first classmethod parameter to cls"
Merge "Force the SSH commands to use their default language"
Merge "Refactor PXE clean up tests"
Use DbTestCase as test base when context needed

There is tests.db.base.DbTestCase class which inherits from
tests.base.TestCase and adds context to test case object. Some test
cases initialize context in their setUp method, so to avoid this
initialization and unnecessary imports tests.db.base.DbTestCase can
be used as their base class.

Change-Id: I46cf7d1a33f8fbaa7d720bcfc574c9640ef83c06
Remove useless variable in migration

Change-Id: Id328df393c7f741b9e0b7f0cf2c43ca6eaa4470b
Merge "Imported Translations from Transifex"
Merge "Remove useless variable in migration"
Updated from global requirements

Change-Id: I05b251ce54af888229910eefb39db582c60c6d84
Replace custom lazy loading by stevedore

Change-Id: I0b09e8822af6e8c3ce7299d31eb53f30a50262bc
Merge "Use DbTestCase as test base when context needed"