radosgw-admin.py: add test of deleting bucket with objects.

Signed-off-by: caleb miles <caleb.miles@inktank.com>
radosgw-admin.py: add test of deleting user with data.

Signed-off-by: caleb miles <caleb.miles@inktank.com>
radosgw-admin.py: Increase test coverage to current admin feature set.

Signed-off-by: caleb miles <caleb.miles@inktank.com>
When running teuthology with targets provisionned on OpenStack and kvm, the disks will show under /dev/vda, /dev/vdb etc. Add them to the list of devices to inspect and use for tests.

Signed-off-by: Loic Dachary <loic@dachary.org>
ceph: pass ceph.conf to osdmaptool

This ensure it sees the chooseleaf option and generates the proper
CRUSH rules.
rbd.py: update scratch and test image sizes

Test 167 was failing due to running out of space on the scratch
file system.  The test reserves 21MB in a file, and repeats 50
times.  It required just over 1GB, so I bumped the default size
for the testing device to 1200 MB.  I increased the test device
size as well.

This resolves http://tracker.newdream.net/issues/3864.

Signed-off-by: Alex Elder <elder@inktank.com>
task/mds_thrasher:  New task for thrashing the mds

Signed-off-by: Sam Lang <sam.lang@inktank.com>
task: mon_clock_skew_check: add option to run at least one timecheck

  at-least-once          Runs at least once, even if we are told to stop.
                         (default: True)
  at-least-once-timeout  If we were told to stop but we are attempting to
                         run at least once, timeout after this many
                         seconds. (default: 300)

Fixes: #3854

Signed-off-by: Joao Eduardo Luis <jecluis@gmail.com>
test: create /tmp/cephtest/mnt.{id}

The workunit task assumes that a mount exists
at /tmp/cephtest/mnt.{id}
This patch creates the path if it doesn't
exist, enabling workunits to run in the absense
of kclient or ceph-fuse tasks.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by:  Sam Lang <sam.lang@inktank.com>
osd: Testing of deep-scrub omap changes

Fix scrub_test.py and add omap corruption test

Signed-off-by: David Zafman <david.zafman@inktank.com>
Reviewed-by: Samuel Just <sam.just@inktank.com>
Use ceph git repo instead of github.

This code change is so that instead of pulling the tarball of github
which can be unreliable at times it instead uses the ceph repo mirror
and serves as the same function. Now it is using git archive and no
longer uses wget. Because of this less tar-fu is needed to extract
the necessary files as it can be done directly through git archive.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Reviewed-by: Sam Lang <sam.lang@inktank.com>
ceph_manager: add filestore and heartbeat stalls

Signed-off-by: Samuel Just <sam.just@inktank.com>
ceph_manager: default chance_down to 0.4

Signed-off-by: Samuel Just <sam.just@inktank.com>
Merge remote-tracking branch 'gh/wip_heartbeat'
ceph_manager: use do_rados for rmpool

Signed-off-by: Samuel Just <sam.just@inktank.com>
ceph_manager: use 80/70 as pause_long, pause_check_after defaults

OSD::op_tp suicides after 150.

Signed-off-by: Samuel Just <sam.just@inktank.com>
workunit: pass java path as env variable

The libcephfs-java test needs this.
ceph_manager: fix get_num_active_recovered()

The states now have 'backfill' *or* 'recover' in them.
osd_recovery: fix up incomplete test

- stop rados bench from cleaning up
- flush pg stats
- fix sleep call

One or more of these helped fix this test, don't really care which.
ceph_manager: turn long stall injection off by default

Signed-off-by: Samuel Just <sam.just@inktank.com>