John Spray
5553e9c943
tasks/cephfs: use "blacklist clear"
...
... instead of iterating over all blacklist entries. Fall
back to the old way if the new way doesn't work (i.e. on
old ceph)
Signed-off-by: John Spray <john.spray@redhat.com>
2016-06-30 23:44:20 +01:00
John Spray
adfb757c89
tasks/cephfs: fix race while mounting
...
This could fail if the mount hadn't finished
coming up.
Signed-off-by: John Spray <john.spray@redhat.com>
2016-06-30 23:44:20 +01:00
John Spray
bb517c6415
tasks/cephfs: fix vstart_runner with cmake
...
This needed updating for the CLI living in bin/ now
Signed-off-by: John Spray <john.spray@redhat.com>
2016-06-30 23:44:19 +01:00
John Spray
9d3eee3461
tasks/cephfs: disable setuid test in vstart environ
...
``long_running`` needs a better name, it's really just a
marker that says a test is for use in teuthology but not vstart.
Signed-off-by: John Spray <john.spray@redhat.com>
2016-06-30 23:44:19 +01:00
vasukulkarni
68dbf3f84f
Merge pull request #1008 from ceph/wip-systemd-tests
...
Wip systemd tests
2016-06-30 09:42:00 -07:00
John Spray
eee61627f5
Merge pull request #1069 from batrick/i16164
...
cephfs: test fragment size limit
Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-30 12:46:43 +01:00
Vasu Kulkarni
2fe88cdd12
Few comment fixes
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2016-06-29 11:30:02 -07:00
Patrick Donnelly
dc165e632a
cephfs: test fragment size limit
...
The fragment configuration uses 10000 for the fragment max size. The reason for
this is that many tests add 1000 files to a single directory which will hit
this limit without fragmentation catching up.
The test_dirfrag_limit test confirms:
o That the directory fragment size cannot exceed mds_bal_fragment_size_max (using a limit of 50 in all configurations).
o That fragmentation (forced) will allow more entries to be created.
o That unlink fails when the stray directory fragment becomes too large and that unlinking may continue once those strays are purged.
Tests: https://github.com/ceph/ceph/pull/9789
Issue: http://tracker.ceph.com/issues/16164
Signed-off-by: Patrick Donnelly <batrick@batbytes.com>
2016-06-29 11:20:26 -04:00
David Zafman
25abf9893a
Merge pull request #1063 from ceph/wip-no-fuse
...
Revert "tasks/scrub_test: use fuse path (do not assume filestore!)"
2016-06-23 18:25:02 -07:00
Zack Cerza
990c4c4ac8
Merge pull request #1059 from ceph/wip-s3roundtrip-wusui
...
Allow force-branch for s3roundtrip tests.
2016-06-23 15:05:09 -06:00
Samuel Just
d4efcf62d3
Revert "tasks/scrub_test: use fuse path (do not assume filestore!)"
...
This reverts commit 9e2b455f45
.
2016-06-23 10:44:47 -07:00
vasukulkarni
9156943ac5
Merge pull request #970 from ceph/wip-fix-cd-override
...
Fix for 'branch' overrides to work
2016-06-22 14:54:02 -07:00
Josh Durgin
3d9daf8d1a
Merge pull request #1058 from ceph/wip-15016
...
tasks/ceph-deploy: Run on multiple Python versions (2, 3)
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Vasu Kulkarni <vasu@redhat.com>
2016-06-22 14:03:31 -07:00
Samuel Just
3d27b5802a
Merge pull request #1002 from athanatos/wip-osd-recovery
...
osd_recovery: add delay to ensure maps propogate
Reviewed-by: Sage Weil <sage@redhat.com>
2016-06-22 11:16:47 -07:00
Samuel Just
0fa12144b2
Merge pull request #1062 from athanatos/wip-resolve-peering
...
resolve_stuck_peering: reset stats while looping
Reviewed-by: Sage Weil <sage@redhat.com>
2016-06-22 11:16:36 -07:00
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
Oleh Prypin
c5dbbfc545
tasks/ceph-deploy: Install appropriate Python version before running
...
Related to RM-15016
Signed-off-by: Oleh Prypin <oleh@pryp.in>
2016-06-22 19:19:12 +03:00
Warren Usui
45900d81f5
Allow force-branch for s3roundtrip tests.
...
Fixes tracker bug 15453
Signed-off-by: Warren Usui <wusui@redhat.com>
2016-06-21 18:11:12 -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
Vasu Kulkarni
a8b336d9e6
Add sleep after stop to avoid checking deactivating state
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2016-06-17 12:38:27 -07: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
Oleh Prypin
9c1a28210e
tasks/ceph-deploy: Run on multiple Python versions (2, 3)
...
Related to RM-15016
Signed-off-by: Oleh Prypin <oleh@pryp.in>
2016-06-15 12:55:18 +03: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
Vasu Kulkarni
a2ce966d3e
Systemd script to test ceph init files
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2016-06-04 14:03:24 -07: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
Samuel Just
6611842d50
resolve_stuck_peering: reset stats while looping
...
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-05-20 13:47:23 -07:00
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
Samuel Just
ddabdb7f72
osd_recovery: add delay to ensure maps propogate
...
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-05-13 16:15:53 -07: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
Samuel Just
a4f8dc91bc
Revert "Revert "Rados: Tracker-13531-resolve stuck peering""
2016-05-10 10:27:32 -07:00
Josh Durgin
1cb2681cd0
tasks/create_verify_lfn_objects: adjust to new ctx.manager location
...
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 14:55:27 -07:00
Josh Durgin
a9872182d3
tasks: update ctx.ceph.conf readers to use per-cluster conf
...
Just use the default cluster name for now, since these tasks aren't used
for multi-cluster tests yet.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 14:55:27 -07:00
Josh Durgin
ed33f86589
tasks: add an rbd-mirror task
...
This simply runs the rbd-mirror daemon. Nothing special is needed
since the runtime files (logs, asok, etc) go to the standard ceph
locations.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 14:55:27 -07:00
Josh Durgin
bccdef6650
tasks/ceph: ignore EEXIST for the archive data dir creation
...
With multiple clusters this will be called multiple times.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 14:55:27 -07:00
Josh Durgin
4c2e7309db
tasks/ceph: pull each mon dir only once
...
No need to pull all mon dirs for the host for each mon on the host.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 14:55:26 -07:00
Josh Durgin
3203b76792
tasks/ceph: only run ceph_log and valgrind_post once
...
These setup and parse logs on all hosts, so they should be run only
for the first cluster setup. This cluster will be torn down last, so
the cleanup happens after all clusters are shutdown as well.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 14:55:26 -07:00
Josh Durgin
96e7724e23
tasks/ceph: make scrubbing cluster-aware
...
Simplify implementation by using manager and teuthology.misc methods
instead of reinventing them here.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 14:55:26 -07:00
Josh Durgin
34a58dda56
tasks/watch_notify_same_primary: adjust to new ctx.manager location
...
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 14:55:26 -07:00
Josh Durgin
9f5b0370dd
tasks/thrash_pool_snaps: adjust to new ctx.manager location
...
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 14:55:26 -07:00
Josh Durgin
a4267dba2c
tasks/repair_test: clean up manager usage, adjust to new location
...
Only repair_test_2 actually uses ctx, the rest of the functions only
need the manager.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 14:55:26 -07:00
Josh Durgin
6f465efa04
tasks/reg11184: adjust to new ctx.manager location
...
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:52:00 -07:00
Josh Durgin
55fe7de7be
tasks/radosbench: adjust to new ctx.manager location
...
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:52:00 -07:00
Josh Durgin
39578a6a35
tasks/rados: adjust to new ctx.manager location
...
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:52:00 -07:00
Josh Durgin
563c0e99b9
tasks/populate_rbd_pool: adjust to new ctx.manager location
...
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:52:00 -07:00
Josh Durgin
691af92f67
tasks/peering_speed_test: adust for new ctx.manager location
...
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:52:00 -07:00
Josh Durgin
645a0f5d20
tasks/osd_failsafe_enospc: adjust for new ctx.manager location
...
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:52:00 -07:00
Josh Durgin
70db2726c5
tasks/divergent_priors*: adjust to new ctx.manager location
...
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:52:00 -07:00
Josh Durgin
e00437ae89
tasks/ceph_objectstore_tool: use existing manager
...
This is only used after the ceph task, which already createds a
manager for the cluster. Use the default 'ceph' cluster manager for
now.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:52:00 -07:00
Josh Durgin
274d79ade3
tasks/ceph_manager: make utility_task cluster-aware
...
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:52:00 -07:00
Josh Durgin
3948f108a8
tasks/ceph: make restart subtask cluster-aware
...
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:59 -07:00
Josh Durgin
9ad65769c7
tasks/ceph: make wait_for_mon_quorum cluster-aware
...
Accept a 'daemons' list like other ceph subtasks, so it can get an
optional 'cluster' setting too.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:59 -07:00
Josh Durgin
bb76deaf57
tasks/ceph: make wait_for_osds_up cluster-aware
...
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:59 -07:00
Josh Durgin
ef619062be
tasks/ceph: update ctx.manager usage to ctx.managers
...
Not sure this function is ever used (no users in ceph-qa-suite yamls
or tasks.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:59 -07:00
Josh Durgin
1b2087231d
tasks/workunit: work with roles that include cluster
...
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:59 -07:00
Josh Durgin
256ebf8a12
tasks: move find_remote to util, rename and add helper
...
This is a useful for any cluster-aware task.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:59 -07:00
Josh Durgin
a3096e8600
tasks/blktrace: make cluster-aware
...
Need to adjust to lookup devices by role rather than id, so might as
well add a cluster config option while we're at it. Remove the
confusing default config that is not actually used.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:59 -07:00
Josh Durgin
bba323834b
tasks/ceph_manager: make Thrasher cluster-aware
...
Just a few spots need to know to lookup only osds in this cluster, or
prefix a filename with the cluster. Use CephManager.find_remote() to
avoid a bunch of repetition and look only in the intended cluster.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:59 -07:00