]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd.py: add xfstests functionality
authorSage Weil <sage@newdream.net>
Sat, 14 Apr 2012 05:28:05 +0000 (22:28 -0700)
committerSage Weil <sage@newdream.net>
Sat, 14 Apr 2012 05:28:05 +0000 (22:28 -0700)
commit6ba4efcd3adbd6ed7b21147df484b02a3aafbaf8
tree8739600e7bbdc94354686588ea3e413a0a9da863
parentddb98f77738b385f74ad7ece608e6caad39c6421
rbd.py: add xfstests functionality

Add tasks for running xfstests over a pair of rbd volumes.  The main
one is called xfstests, and it sets up rbd volumes of specified size
and runs a set of likely-to-be-successful tests.  The other one is
used by the first, and is called run_xfstests.  This provides a
generic (device rather than rbd device oriented) interface to
xfstests, and should probably be made standalone and distinct from
rbd at some point.

Using multiple rbd devices required the rbd udev rule manipulation
to ignore errors, since it appears that each device caused the a
teardown attempt, which leads to failures the second time around.
There's probably a more robust solution, but this works for now.

Signed-off-by: Alex Elder <elder@dreamhost.com>
teuthology/task/rbd.py