Samuel Just
1df6a3e5af
Merge pull request #1060 from athanatos/wip-flush-pg-stats
...
[ec_]lost_unfound: don't flush_pg_stats at the beginning
Reviewed-by: Sage Weil <sage@redhat.com>
2016-06-22 11:15:52 -07:00
Kefu Chai
dd235a5253
Merge pull request #1050 from ceph/wip-fix-scrub-test
...
test: Eliminate racey scrubbing in scrub_test.py
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-06-21 18:36:28 +08:00
Sage Weil
9e2b455f45
tasks/scrub_test: use fuse path (do not assume filestore!)
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-20 14:08:49 -04:00
Samuel Just
9db7d4c9f9
[ec_]lost_unfound: don't flush_pg_stats at the beginning
...
The upgrade tests restart the daemons right before that part, and the
restart marks the osds down causing the flush_pg_stats to fail. It's
not necessary anymore anyway.
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-06-17 08:16:58 -07:00
Josh Durgin
2f753d07ce
Merge pull request #1049 from ceph/wip-rbd-nbd
...
rbd: added rbd-nbd fsx test case
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-06-16 14:17:03 -07:00
Gregory Farnum
2b5b66d6c4
Merge pull request #1053 from ceph/wip-thrash-raise
...
task/mds_thrash: don't drop exceptions from thrasher
2016-06-16 07:25:16 -07:00
David Zafman
29985efc7c
test: Eliminate racey scrubbing in scrub_test.py
...
Enhance get_pgid() to return passed value if it is already a pgid
Signed-off-by: David Zafman <dzafman@redhat.com>
2016-06-15 23:31:12 -07:00
John Spray
cad11a9612
Merge pull request #1036 from david-z/master
...
Adjust wait_for_health to be more flexible
Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-15 23:41:11 +01:00
John Spray
eeebc1b536
Merge pull request #1051 from gregsfortytwo/wip-fix-mdsthrash
...
reference the kill_mds_by_rank function in the right location
Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-13 16:52:49 +01:00
John Spray
40ed110c55
tasks/mds_thrash: fix more references to self.manager
...
Signed-off-by: John Spray <john.spray@redhat.com>
2016-06-13 16:51:53 +01:00
John Spray
9d7a91c91b
task/mds_thrash: don't drop exceptions from thrasher
...
Previously, when there was an exception in the thrasher
main loop, it would log it but ultimately "succeed"
the teuthology task.
Signed-off-by: John Spray <john.spray@redhat.com>
2016-06-13 12:08:36 +01:00
Gregory Farnum
c30de00707
Merge pull request #1046 from batrick/wip-readahead
...
cephfs: test readahead is working
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-06-12 14:39:21 -07:00
Greg Farnum
ca4728b49c
reference the kill_mds_by_rank function in the right location
...
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2016-06-10 15:05:43 -07:00
Jason Dillaman
7425e2d7a6
rbd: added rbd-nbd fsx test case
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-06-10 10:56:45 -04:00
John Spray
e866c29014
Merge pull request #924 from ceph/wip-mountbyfsname
...
tasks/cephfs: update tests for mount-by-fs-name
Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-10 11:35:40 +01:00
Yan, Zheng
1b76c6b1c3
Merge pull request #1018 from ceph/wip-16022
...
tasks/cephfs: reproducer for #16022
2016-06-09 20:52:01 -05:00
Patrick Donnelly
367973b015
cephfs: test readahead is working
...
Test case for: https://github.com/ceph/ceph/pull/9374
Issue: http://tracker.ceph.com/issues/16024
Signed-off-by: Patrick Donnelly <batrick@batbytes.com>
2016-06-09 11:07:45 -04:00
John Spray
4d3b4cd753
tasks/cephfs: fix vstart runner _get_pid
...
Dropping the 'x' caused the ps lines not to include
the "-i <myid>" part of the command line that we use
to find named daemons' pids.
Signed-off-by: John Spray <john.spray@redhat.com>
2016-06-08 16:23:13 +01:00
John Spray
fc7d268e3b
Merge pull request #1043 from batrick/ps-uid
...
vstart_runner: only kill/look at user's processes
Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-08 10:46:47 +01:00
Patrick Donnelly
77a23a87fd
vstart_runner: move info message for loaded mods
...
The message was printing loaded modules before loading each module.
2016-06-07 17:03:15 -04:00
Patrick Donnelly
1675a47d0f
vstart_runner: only kill/look at user's processes
...
This prevents vstart_runner.py from trying to kill other user's
ceph-mds/ceph-fuse instances.
2016-06-07 16:38:06 -04:00
Zhi Zhang
f83db056d8
Adjust wait_for_health to be more flexsible
...
Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
2016-06-06 13:01:27 +08:00
Josh Durgin
cfc48e36da
tasks: fix non-existent sleep function
...
CephManager has no sleep function. Use time.sleep() instead.
Ran into this while testing a branch. Apparently it doesn't happen
much since this hasn't changed in years, but the error was copied
into several tasks.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-06-03 11:15:36 -07:00
Samuel Just
c3498b5f3d
Merge pull request #1014 from ceph/wip-ceph-restart-wusui
...
tasks/ceph.restart osd fix
Reviewed-by: Samuel Just <sjust@redhat.com>
2016-06-01 13:54:53 -07:00
David Zafman
68400e9552
scrub_test: Shards are not marked in error when osd guesses
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2016-05-27 16:56:17 -07:00
Loic Dachary
4d47b2d1b0
openstack: ovh renamed flavors : s/eg/hg/
...
http://travaux.ovh.net/?do=details&id=17532
Signed-off-by: Loic Dachary <loic@dachary.org>
2016-05-27 09:10:05 +02:00
John Spray
b75e2a7da1
tasks/cephfs: reproducer for #16022
...
Even though check_subs was broken, the multiclient
test was still passing because it didn't test that
clients survived a failover in the multi-filesystem
case.
Fixes: http://tracker.ceph.com/issues/16022
Signed-off-by: John Spray <john.spray@redhat.com>
2016-05-26 14:23:32 +01:00
Warren Usui
1b7552c9cb
tasks/ceph.restart osd fix
...
ceph.restart should mark restarted osds down in order to avoid a
race condition with ceph_manager.wait_for_clean
Fixes: http://tracker.ceph.com/issues/15778
Signed-off-by: Warren Usui <wusui@redhat.com>
2016-05-25 16:59:05 -07:00
John Spray
66901ccc04
tasks/cephfs: find processes correctly
...
Don't mistake the daemon-helper line for the actual
daemon process.
Fixes: http://tracker.ceph.com/issues/15900
Signed-off-by: John Spray <john.spray@redhat.com>
2016-05-23 19:52:21 +01:00
John Spray
76809b1af5
tasks/cephfs: fix mount wait in test_mount_conn_close
...
Fixes: http://tracker.ceph.com/issues/15900
Signed-off-by: John Spray <john.spray@redhat.com>
2016-05-23 16:00:37 +01:00
Ramana Raja
aab9a03c4c
tasks/cephfs: test read-only authorization for volumes
...
Test whether mount access to volumes can be restricted to read-only.
Fixes: http://tracker.ceph.com/issues/15614
Signed-off-by: Ramana Raja <rraja@redhat.com>
2016-05-23 14:24:42 +05:30
Ramana Raja
02fc6d6acc
tasks/cephfs: add function to configure guest credentials
...
In the test_volume_client module, refactor code to add a function
that configures credentials for a guest to mount a volume. The
function could be used by tests to setup a guest client to mount
a volume with fewer lines of code.
Signed-off-by: Ramana Raja <rraja@redhat.com>
2016-05-23 14:24:31 +05:30
Kefu Chai
faa6e4aac5
Merge pull request #1007 from ceph/wip-li-rados
...
scrub_test: Handle list-inconsistent-obj changes in pull #8983
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-20 12:37:00 +08:00
John Spray
b97065a83a
Merge pull request #934 from ceph/wip-15266
...
tasks/cephfs: add TestVolumeClient.test_purge
Reviewed-by: Ramana Raja <rraja@redhat.com>
2016-05-19 14:21:29 +01:00
David Zafman
5992384700
scrub_test: Handle list-inconsistent-obj changes in pull #8983
...
Add checking of error in the shards
Signed-off-by: David Zafman <dzafman@redhat.com>
2016-05-18 19:37:55 -07:00
John Spray
e340d2e455
Merge pull request #974 from ceph/wip-15599
...
tasks/cephfs: test 'df' output in volumeclient
Reviewed-by: Ramana Raja <rraja@redhat.com>
2016-05-18 14:21:16 +01:00
Nathan Cutler
b7cbe2f96f
make-rpm.sh: support openSUSE
...
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-05-14 19:34:34 +02:00
Loic Dachary
84530fb344
Merge pull request #993 from smithfarm/wip-opensuse-user-data
...
add user-data for openSUSE 42.1
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-05-14 17:53:26 +02:00
Nathan Cutler
209ce61788
add user-data for openSUSE 42.1
...
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-05-14 17:37:09 +02:00
Gregory Farnum
145bb3d326
Merge pull request #991 from ceph/wip-15857
...
tasks/cephfs: fix ps usage to not truncate cmds
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-05-13 13:40:19 -07:00
Gregory Farnum
5e0185dbb2
tasks/cephfs: update failover test for standby changesReviewed-by: Greg Farnum <gfarnum@redhat.com>
...
tasks/cephfs: update failover test for standby changes
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-05-13 13:39:39 -07:00
John Spray
4e9635e855
tasks/cephfs: test 'df' output in volumeclient
...
Fixes: http://tracker.ceph.com/issues/15599
Signed-off-by: John Spray <john.spray@redhat.com>
2016-05-12 11:47:25 +01:00
John Spray
8e6a164dfb
tasks/cephfs: fix ps usage to not truncate cmds
...
Now that daemon commandlines include "--cluster" they
easily overflow ps's default behaviour.
Fixes: http://tracker.ceph.com/issues/15857
Signed-off-by: John Spray <john.spray@redhat.com>
2016-05-12 11:23:11 +01:00
Josh Durgin
26c7dab57e
tasks: fix {testdir}/data paths
...
The multi-cluster branch updated these to have a '$cluster.' prefix
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-11 12:08:32 -07:00
Josh Durgin
a67a123f0c
tasks/ceph.healthy: allow None as config
...
This is used by the pg-removal-interruption test.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-11 12:07:16 -07:00
Josh Durgin
745f7b48bd
tasks/resolve_stuck_peering: fix whitespace and indentation
...
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-11 12:06:01 -07:00
Josh Durgin
ff942710ba
tasks/resolve_stuck_peering: adjust to new ctx.manager location
...
This task was re-added after the multi-cluster branch merged.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-11 12:01:52 -07:00
John Spray
798c50e9bc
tasks/cephfs: add TestVolumeClient.test_purge
...
For reproducing error handling paths during purge,
such as #15266 (ASCII exception)
Fixes: http://tracker.ceph.com/issues/15266
Signed-off-by: John Spray <john.spray@redhat.com>
2016-05-11 17:25:12 +01:00
John Spray
4ec26a9e16
Merge pull request #975 from xiaoxichen/prefix
...
fs/volume_client: exercise the configurable prefix and ns_prefix.
Reviewed-by: John Spray <john.spray@redhat.com>
2016-05-11 09:08:29 -05:00
John Spray
3197fe3461
Merge pull request #968 from ajarr/wip-15045
...
tasks/cephfs: test volume client eviction
Reviewed-by: John Spray <john.spray@redhat.com>
2016-05-11 07:23:12 -05:00