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
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
Josh Durgin
713e717fda
tasks/ceph_manager: make mount_osd_data() cluster-aware
...
Use a cluster-specific mount point, and address osds by full role,
rather than just id, in the ctx.disk_config structures.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:59 -07:00
Josh Durgin
524e6d7a5e
tasks/ceph_manager: add cluster param to write_conf()
...
Only used by cephfs right now, so don't bother changing callers.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:59 -07:00
Josh Durgin
ff49deb6f0
tasks/ceph_manager: simplify remote lookup, and make it cluster aware
...
Re-implement find_remote() using ctx.cluster.only() with a matcher
function that includes the manager's cluster, and use it instead of
miscellaneous ctx.cluster.only() calls elsewhere.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:59 -07:00
Josh Durgin
141c73d399
tasks/ceph_manager: parameterize CephManager with cluster
...
Add --cluster arguments, pass cluster to get_daemon() and
iter_daemons_of_role, replace 'ceph' with cluster in paths, and use
ctx.ceph[cluster] instead of ctx.ceph.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:58 -07:00