Commit Graph

5445 Commits

Author SHA1 Message Date
Sage Weil
2146543315 Merge pull request #985 from ZhenyuLeng/noneed_op_is_discardable
suites/rados: test osd_discard_disconnected_ops
2016-05-13 09:28:58 -04:00
ZhenyuLeng
1eaa002691 Test osd_discard_disconnected_ops
Signed-off-by: ZhenyuLeng <lengzhenyu@ict.ac.cn>
2016-05-13 20:49:17 +08:00
Dan Mick
b5034062a2 Merge pull request #987 from ceph/wip-15563-master
A script to be used in crontab sepia/ovh labs, so emails sent only on errors, logs stored 

Reviewed-by: Dan MIck <dmick@redhat.com>
2016-05-12 18:38:27 -07:00
Yuri Weinstein
71a8daf9d0 A script to be used in crontab sepia nd ovh lab, so emails sent only on errors
Fixes: http://tracker.ceph.com/issues/15563
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2016-05-12 18:30:34 -07:00
Yuri Weinstein
d22934f267 Added v10.2.0 => jewel upgrade case
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2016-05-12 15:00:26 -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
Sage Weil
387c02eb8f Merge pull request #990 from ceph/wip-multi-cluster-fixes
fixes for some issues caused by the multi-cluster branch
2016-05-11 15:18:59 -04: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
Samuel Just
0cade258c8 Merge pull request #986 from ceph/wip-crush-drop-legacy
rados: test jewel instead of legacy tunables

Reviewed-by: Samuel Just <sjust@redhat.com>
2016-05-11 11:12:03 -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
18c3e2c5bc Merge pull request #989 from ceph/revert-981-revert-955-tracker13531
Revert "Revert "Rados: Tracker-13531-resolve stuck peering""

Reviewed-by: Samuel Just <sjust@redhat.com>
2016-05-10 10:28:03 -07:00
Samuel Just
a4f8dc91bc Revert "Revert "Rados: Tracker-13531-resolve stuck peering"" 2016-05-10 10:27:32 -07:00
Josh Durgin
edae268579 Merge pull request #937 from ceph/wip-multi-cluster
multi-cluster support and basic rbd mirroring test

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-05-09 15:21:00 -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
bdd8ffddec suites: add multi-cluster tests to the teuthology suite
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
67d7d997c2 suites/rbd: add basic mirroring suite
Just one workunit to run so far.

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