OpenStack Block Storage (Cinder)
Go to file
Michael Kerrin 930f5891b0 Fix up the test framework
When trying to test a bug the cinder test framework was
running all the tests when I just wanted one to run.

Instead of fixing this problem in nose I tried to move cinder to
testr. I copied a fair bit of code from nova to get this to work.
This way at least if some one makes an improvement to the nova
test framework cinder can improve here also.

Note that now all the tests a thread safe. Added a concurrency argument
to run_tests.sh that defaults to 1. You can specify your own level then
and take the risk of intermittent failures. Tell jenkins to use a
concurrency level of 1 to avoid failing gate jobs.

Note One of these tests is broken and I have disabled for now. There
is a bug for this here: https://bugs.launchpad.net/cinder/+bug/1173266

Note: cinder.api.openstack.FaultWrapper is deprecated and is causing
a circular import when I try and import cinder.tests.test_wsgi. This
is fixed by only importing the openstack.FaultWrapper during the
__init__ phase of the wsgi middleware.

Fixes: bug 1183434
Fixes: bug 1177924

Change-Id: I5e10b55c5b236eb81a6a3e0e9ea56af8ca4ef8e1
2013-06-14 14:02:17 +00:00
bin Remove E12 errors from tox.ini Flake ignores. 2013-06-06 01:56:29 -06:00
cinder Fix up the test framework 2013-06-14 14:02:17 +00:00
contrib Copy the RHEL6 eventlet workaround from Oslo 2013-05-02 10:22:26 +01:00
doc Fix various Sphinx warnings 2013-06-12 15:21:40 +02:00
etc/cinder Flatten Volume from Snapshot 2013-06-13 23:37:13 +00:00
tools Fix up the test framework 2013-06-14 14:02:17 +00:00
.coveragerc Add .coveragerc to show proper coverage statistics. As in other openstack projects. 2013-05-15 03:40:07 -07:00
.gitignore Add testrepository to git ignores. 2013-05-30 11:14:36 -06:00
.gitreview Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
.mailmap Use openstack.common.setup. 2012-07-20 20:02:36 +00:00
.testr.conf Fix up the test framework 2013-06-14 14:02:17 +00:00
CONTRIBUTING.md Add CONTRIBUTING file. 2012-11-22 12:47:49 -07:00
HACKING.rst Updating HACKING to disallow the use of locals() 2013-05-31 01:14:37 -07:00
LICENSE Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
MANIFEST.in Use setuptools-git. 2012-08-10 11:56:00 -04:00
README.rst Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
babel.cfg Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
openstack-common.conf Integrate oslo's periodic tasks. 2013-06-11 07:54:15 +01:00
pylintrc Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
requirements.txt Update to the latest stevedore 2013-06-12 11:13:38 -04:00
run_tests.sh Fix up the test framework 2013-06-14 14:02:17 +00:00
setup.cfg Fix up the test framework 2013-06-14 14:02:17 +00:00
setup.py Ensure that pbr>=0.5.10 is installed 2013-05-29 10:12:23 -05:00
test-requirements.txt Fix up the test framework 2013-06-14 14:02:17 +00:00
tox.ini Fix up the test framework 2013-06-14 14:02:17 +00:00

README.rst

The Choose Your Own Adventure README for Cinder

You have come across a storage service for an open cloud computing service. It has identified itself as "Cinder." It was abstracted from the Nova project.

To monitor it from a distance: follow @openstack on twitter.

To tame it for use in your own cloud: read http://docs.openstack.org

To study its anatomy: read http://cinder.openstack.org

To dissect it in detail: visit http://github.com/openstack/cinder

To taunt it with its weaknesses: use http://bugs.launchpad.net/cinder

To watch it: http://jenkins.openstack.org

To hack at it: read HACKING

To cry over its pylint problems: http://jenkins.openstack.org/job/cinder-pylint/violations