Update openstack.common

Change-Id: I952bc668ce10d05944eb0d2b06c8eff917c22af8
Signed-off-by: Julien Danjou <julien@danjou.info>
Rename run_tests.sh to wrap_nosetests.sh

run_tests.sh has a different purpose in CM than
run_tests.sh in Nova, which causes confusion. Renamed the file
to better reflect its true intent.

Change-Id: I206fdeab8b052f85e1485164f019979ebbff4fbb
Fix nova conf compute_manager unavailable

This fixes a recent change on nova side in our nova notifier.

Change-Id: Ifae7a7871eb3eace83fb1654352f25801ff604e3
Signed-off-by: Julien Danjou <julien@danjou.info>
Simplify ceilometer-api and checks Keystone middleware parsing

This adds some test to be sure options passed to the middleware are read and
user properly.

This fixes bug #1099739

Change-Id: I491db4d2c7387cc2848ebefbbb579597234a82b0
Signed-off-by: Julien Danjou <julien@danjou.info>
Fix documentation formatting issues

bug #1105247

Fix a few formatting issues with literal text and tables
so the documentation will render properly.

Change-Id: If2f833931e4e6b400c91048afe7c5ead42415366
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Update nova notifier test after nova change

Nova's code path for cleaning up an instance was modified
to log errors to the database, but our tests don't set
up that part of the schema. Use patch to replace the
function that is trying to log the error.

The instance structure also expects to have a "system_metadata"
key in order to complete the cleanup, so add that to our
test data.

Change-Id: I4bc1d2c8b443a51cef8b13b0627010a6f06c42cf
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Clean class variable in compute manager test case

Currently the pollster stub in compute manager test case keeps
information in class variable and does not clean it.
When multiple test cases want to check such information, it will fail
because class variable is not cleaned among different test cases
execution.

Add tearDown method to clean it up.

Change-Id: I72f70da7018a9b44c32b7c41061b6bd21ee3f103
Signed-off-by: Yunhong, Jiang <yunhong.jiang@intel.com>
Merge "Update openstack.common"
Ceilometer-api is crashing due to pecan module missing

Moving pecan module listing from test-requires
and test-requires-folsom to pip-requires so that
it can be used by both setup.py and tox.ini

Bug #1102614

Change-Id: I67cd45c068305ec7897d67b425b06173e092b9f8
Fixed the TemplateNotFound error in v1 api.

Fixed the bug #1109217.

Change-Id: Ic4019d2bc91701127ee2b2fb555897a14bd0f299
Factorize agent code

There was some code duplication between the central and compute agent around
their managers, so let's factorize that.

Change-Id: I90514e7591833254145ceab366ad5a0d03d8f228
Signed-off-by: Julien Danjou <julien@danjou.info>
Merge "Ceilometer-api is crashing due to pecan module missing"
Use WSME 0.5b1

There is now an official package of a version of WSME
containing all of the patches we need, so update our
requirements list.

Change-Id: Ic4a5205630ac6d376c616deeb8f908136a70c481
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Removed unused param for get_counters().

This patch removed the unused param 'context' for get_counters() in
central pollsters.

Also added a test case for the central manager.

Fixed bug #1111233.

Change-Id: Ibfa3d5af8516cc432327e1d0da2af800effd9973
Merge "Fix documentation formatting issues"
Merge "Simplify ceilometer-api and checks Keystone middleware parsing"
Merge "Removed unused param for get_counters()."
Merge "Fixed the TemplateNotFound error in v1 api."
Merge "Rename run_tests.sh to wrap_nosetests.sh"
Remove setuptools_git from setup_requires.

This is a mistake for the case where someone is using setup.py from a tarball.
We need it installed for sdist making only, which is why it's in test-requires.

Change-Id: Ib79cbe3e638c0772325872d4bb30be26c7b91391