Ceph is a distributed object, block, and file storage platform
Go to file
Sage Weil 928e241a7d upgrade: run rados python test on bobtail to avoid polluting cluster with pools
Extra pools from test.sh will make this fail:

2013-04-26T11:06:45.631 INFO:teuthology.task.workunit.client.0.err:test_rados.TestRados.test_list_pools ... FAIL
2013-04-26T11:06:45.633 INFO:teuthology.task.workunit.client.0.err:
2013-04-26T11:06:45.633 INFO:teuthology.task.workunit.client.0.err:======================================================================
2013-04-26T11:06:45.633 INFO:teuthology.task.workunit.client.0.err:FAIL: test_rados.TestRados.test_list_pools
2013-04-26T11:06:45.634 INFO:teuthology.task.workunit.client.0.err:----------------------------------------------------------------------
2013-04-26T11:06:45.634 INFO:teuthology.task.workunit.client.0.err:Traceback (most recent call last):
2013-04-26T11:06:45.634 INFO:teuthology.task.workunit.client.0.err:  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
2013-04-26T11:06:45.634 INFO:teuthology.task.workunit.client.0.err:    self.test(*self.arg)
2013-04-26T11:06:45.634 INFO:teuthology.task.workunit.client.0.err:  File "/home/ubuntu/cephtest/1527/mnt.0/client.0/tmp/test_rados.py", line 37, in test_list_pools
2013-04-26T11:06:45.634 INFO:teuthology.task.workunit.client.0.err:    eq(set(), self.list_non_default_pools())
2013-04-26T11:06:45.635 INFO:teuthology.task.workunit.client.0.err:  File "/usr/lib/python2.7/dist-packages/nose/tools.py", line 31, in eq_
2013-04-26T11:06:45.635 INFO:teuthology.task.workunit.client.0.err:    assert a == b, msg or "%r != %r" % (a, b)
2013-04-26T11:06:45.635 INFO:teuthology.task.workunit.client.0.err:AssertionError: set([]) != set(['foo.24250.', 'test-rados-api-plana05-22578-27', 'foo.24250', 'foo.23821'])
2013-04-26 16:52:04 -07:00
clusters clusters: add mds to fixed-1.yaml 2013-02-20 21:23:53 -08:00
overrides ceph config data goes in conf, not config 2013-04-26 11:25:14 -07:00
suites upgrade: run rados python test on bobtail to avoid polluting cluster with pools 2013-04-26 16:52:04 -07:00
.gitignore .gitignore: ignore emacs backups 2011-07-05 02:45:02 -07:00
README Verifying check-in capability 2012-11-14 17:34:54 -08:00

ceph-qa-suite
-------------

clusters/    - some predefined cluster layouts
suites/      - sets of collections

We have several collections, each a subdirectory within suites/*/.
Each collection directory consists of a set facets.  The basic idea is
that, for each collection, the set of tests to run consists of all
combinations of taking one yaml fragment from each facet.

For example, given the files

  suite/collection/
  suite/collection/foo/
  suite/collection/foo/clusters/
  suite/collection/foo/clusters/fixed-3.yaml
  suite/collection/foo/clusters/fixed-9.yaml
  suite/collection/foo/tasks/
  suite/collection/foo/tasks/a
  suite/collection/foo/tasks/b
  suite/collection/foo/tasks/c
  suite/collection/bar/
  suite/collection/bar/clusters/fixed-3.yaml
  suite/collection/bar/tasks/
  suite/collection/bar/tasks/d
  suite/collection/bar/tasks/e

teuthology-suite would run tasks a, b, and c on both fixed-3 and
fixed-9 clusters.  It would also run tasks d and e on the fixed-3
cluster.

Note that the 'clusters' and 'tasks' terminology is actually
meaningless here.  All teuthology-suite does is stick the yaml
fragments together (one from each facet) and run teuthology on the
result (optionally combined with any additional fragments passed on
the command line).

In practice, we can keep common/shared task and cluster definitions in
the top-level clusters/ (which are otherwise ignored), and symlink to
them from the collections that want to use them.

The teuthology code can be found in https://github.com/ceph/teuthology.git