Switch over to oslosphinx

oslosphinx is now available as a replacement for oslo.sphinx that
won't conflict with oslo.config in virtual envs

Change-Id: I7dc3349c8102cc8f358de7e0088128b6705c5f8e
Closes-Bug: #1277168
run_tests.sh default doc omits pep8

  Modified run_tests.sh comments to show that
  both pep8 and unit tests are run by default

   Closes-Bug: #1280866

Change-Id: I53525011bd7e4bc2080f8aa1d7294350aa0839b8
I18N support for error message

The error message should support i18n.

Change-Id: Iaa1f860f37a66ae11cdaead566f4a2439739d225
Make Keystone client pluggable

Similarly to how the engine client works, this makes it possible to
switch out the builtin keystone client with a custom - interface
compatible - plugin replacement.

Co-Authored-By: Anderson Mesquita <andersonvom@gmail.com>
Partial-Bug: #1274201
Change-Id: If14ff4b34b90f46d0f468fd669dcc2fdc36c8c97
Add Keystone V2 plugin

This adds the previous Keystone V2 client to be used as a plugin by
clouds that have not upgraded to V3 yet.  This replacement also raises
NotSupported exceptions in methods that are V3 only.

Co-Authored-By: Richard Lee <rblee88@gmail.com>
Closes-Bug: #1274201
Change-Id: I97d3fe7e5ff52250c699c9b470d114e53888ef15
Handle API limit exception in nova_utils.refresh_server

novaclient raises an OverLimit exception when a 413 response code (API
limit) is returned from the Nova API.  Previously, this would cause the
stack action to fail.  Log a warning instead.

Change-Id: I52c9dc96b34d0645662d98aaeebb7dabe6956e25
Implements: blueprint improve-api-polling
Give cfn a separate Template class

Change-Id: Iddeeef7e0303fcbf09fc936a96ec68dbccd5489e
Calculate template version only once

Make the template version an attribute rather than a method, so we don't
have to repeatedly recalculate it.

Change-Id: I65392d83aa931eb1fd9998664ad77d0c6fa5eb97
Add a plugin_manager module

As the number of plugin types increases, this will make it easier to load
them all.

Change-Id: Ie9eb31c110ea313062e03cf59a2e3021058254f9
Move the code that reads the global environment

This belongs in the environment module, not the resources package.

Change-Id: I97093cef3a3e6d35bc82df8b8533cff7e5bc6ec9
Docs: use the plugin manager to list resources

This allows us to generate docs for all resources, not just the available
ones.

Change-Id: I7691c82a1f5872cd2389c2133c8c11c12d13b25b
Always report the action in state_reason as engine encodes it

Presently the state_reason is a mix of upper and lower
case depending on where the state_reason is updated.  This
change defaults the state_reason's action text to upper case
in all cases.

Change-Id: I117d310858133d80675edd87d395c60764635eeb
blueprint: oslo-messaging
replace dict comprehension with dict constructor

this should make it compatible with python2.6

Change-Id: I0f1ba0efb6f3ff47243118a2f8a7cdc7c7e72bfe
Closes-Bug: #1287631
Merge "Make Keystone client pluggable"
Merge "Add Keystone V2 plugin"
Merge "Always report the action in state_reason as engine encodes it"
Merge "replace dict comprehension with dict constructor"
Merge "Give cfn a separate Template class"
Merge "Calculate template version only once"
Merge "Add a plugin_manager module"