Commit Graph

9 Commits

Author SHA1 Message Date
Ilya Dryomov
15be2d29be tasks/rbd_fio: unmap rbd devices on cleanup
Not doing so leads to issues and can interfere with subsequent jobs.
One example is the invocation of vgs(8) during the inital test setup:
it will issue a read to the left-behind rbd device(s) whose backing
cluster is long gone, locking up the job.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2016-09-01 18:13:55 +02:00
Ilya Dryomov
ec97445740 tasks/rbd_fio: don't use sudo unnecessarily
Creating and cloning images doesn't require sudo.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2016-09-01 15:51:07 +02:00
Vasu Kulkarni
e805ebc459 Update fio version to 2.7
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2016-03-11 12:36:33 -05:00
Jason Dillaman
eb29adfb31 tasks/rbd_fio: create sane image name based on feature set
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-03-07 13:57:32 -05:00
Loic Dachary
d14f2da437 task/rbd_fio: allow for unsigned packages
Similar to what the teuthology install.py task does, add --force-yes to
the apt-get install so that unsigned packages are successfully
installed. It is needed when the buildpackages task is used to create
packages on the fly.

There is no need to do the same for rpm packages because the
verification is controlled from the ceph-release package instead of from
the command line.

http://tracker.ceph.com/issues/13899 Fixes: #13899

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-11-27 14:20:07 +01:00
Vasu Kulkarni
5ba70c8e30 Update fio version from 2.2.9 to 2.2.11
Also removes fio-version option from yaml since its redundant and if required can be specified in
overrides

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2015-11-10 14:48:59 -05:00
Jason Dillaman
accb287302 rbd_fio: removed deprecated command-line option to rbd CLI
Fixes: #13745
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-10 08:50:54 -05:00
Vasu Kulkarni
bdf79881df Use cephtest as base dir for testing and let nuke cleanup in case of abrupt failures
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2015-10-14 17:27:00 -04:00
Vasu Kulkarni
971c5fc29c rbd io tests using fio, various fio options can be specified in yaml
test rbd or krbd using fio, can also run io on rbd clones if option is specified in yaml
various options like image-size, rbd format/features, fio io size, readwrite options can be provided in yaml.
check the docstring for exact usage.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2015-10-02 13:41:42 -04:00