]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agotasks/cephfs: test read-only authorization for volumes
Ramana Raja [Fri, 29 Apr 2016 14:16:25 +0000 (19:46 +0530)]
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>
9 years agotasks/cephfs: add function to configure guest credentials
Ramana Raja [Fri, 29 Apr 2016 11:17:17 +0000 (16:47 +0530)]
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>
9 years agoMerge pull request #1012 from ceph/wip-teuthology-multi-cluster-suite
Jason Dillaman [Sun, 22 May 2016 13:45:19 +0000 (09:45 -0400)]
Merge pull request #1012 from ceph/wip-teuthology-multi-cluster-suite

suites/teuthology/multi-cluster: make them pass again

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agosuites/teuthology/multi-cluster: make them pass again
Josh Durgin [Fri, 20 May 2016 22:31:48 +0000 (15:31 -0700)]
suites/teuthology/multi-cluster: make them pass again

Use xfs to avoid object length limits and be explicit about which
clients to run on, so the workunit git clone doesn't race with another
client on the same machine.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agosuites/rbd: added replication stress test workunitReviewed-by: Josh Durgin <jdurgin...
Josh Durgin [Fri, 20 May 2016 18:45:28 +0000 (11:45 -0700)]
suites/rbd: added replication stress test workunitReviewed-by: Josh Durgin <jdurgin@redhat.com>

suites/rbd: added replication stress test workunit

9 years agosuites/rbd: added replication stress test workunit
Jason Dillaman [Thu, 19 May 2016 20:47:54 +0000 (16:47 -0400)]
suites/rbd: added replication stress test workunit

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #1007 from ceph/wip-li-rados
Kefu Chai [Fri, 20 May 2016 04:37:00 +0000 (12:37 +0800)]
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>
9 years agoMerge pull request #1006 from ceph/wip-15754-master
Yuri Weinstein [Thu, 19 May 2016 14:51:27 +0000 (07:51 -0700)]
Merge pull request #1006 from ceph/wip-15754-master

Initial check in for a complete jewel-x suite

9 years agoMerge pull request #934 from ceph/wip-15266
John Spray [Thu, 19 May 2016 13:21:29 +0000 (14:21 +0100)]
Merge pull request #934 from ceph/wip-15266

tasks/cephfs: add TestVolumeClient.test_purge

Reviewed-by: Ramana Raja <rraja@redhat.com>
9 years agoscrub_test: Handle list-inconsistent-obj changes in pull #8983
David Zafman [Wed, 18 May 2016 01:10:26 +0000 (18:10 -0700)]
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>
9 years agoInitial check in for a complete jewel-x suite
Yuri Weinstein [Tue, 17 May 2016 21:58:28 +0000 (14:58 -0700)]
Initial check in for a complete jewel-x suite

Fixes http://tracker.ceph.com/issues/15754
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
9 years agoMerge pull request #974 from ceph/wip-15599
John Spray [Wed, 18 May 2016 13:21:16 +0000 (14:21 +0100)]
Merge pull request #974 from ceph/wip-15599

tasks/cephfs: test 'df' output in volumeclient

Reviewed-by: Ramana Raja <rraja@redhat.com>
9 years agocron_wrapper: Added echo to log a command name to the log fileReviewed-by: Josh Durgi...
Josh Durgin [Tue, 17 May 2016 21:13:45 +0000 (14:13 -0700)]
cron_wrapper: Added echo to log a command name to the log fileReviewed-by: Josh Durgin <jdurgin@redhat.com>

Added echo to log a command name to the log file

9 years agoAdded echo to log a command name to the log file
Yuri Weinstein [Tue, 17 May 2016 21:03:59 +0000 (14:03 -0700)]
Added echo to log a command name to the log file

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
9 years agoMerge pull request #1001 from ceph/wip-15563-master2
Yuri Weinstein [Tue, 17 May 2016 00:25:37 +0000 (17:25 -0700)]
Merge pull request #1001 from ceph/wip-15563-master2

Added execute permission to the script

9 years agoAdded execute permission to the script
Yuri Weinstein [Tue, 17 May 2016 00:23:46 +0000 (17:23 -0700)]
Added execute permission to the script

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
9 years agoMerge pull request #979 from ceph/wip-mon-rocksdb
Sage Weil [Mon, 16 May 2016 16:37:08 +0000 (12:37 -0400)]
Merge pull request #979 from ceph/wip-mon-rocksdb

rados: vary mon kv backend

9 years agorados: vary mon kv backend
Sage Weil [Mon, 2 May 2016 22:00:01 +0000 (18:00 -0400)]
rados: vary mon kv backend

Use just rocksdb for thrash to avoid blowing up the matrix.  Leave
leveldb for the ec thrash suites.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agomake-rpm.sh: support openSUSE
Loic Dachary [Sun, 15 May 2016 07:08:54 +0000 (09:08 +0200)]
make-rpm.sh: support openSUSE

make-rpm.sh: support openSUSE

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agomake-rpm.sh: support openSUSE
Nathan Cutler [Sat, 14 May 2016 16:15:43 +0000 (18:15 +0200)]
make-rpm.sh: support openSUSE

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #993 from smithfarm/wip-opensuse-user-data
Loic Dachary [Sat, 14 May 2016 15:53:26 +0000 (17:53 +0200)]
Merge pull request #993 from smithfarm/wip-opensuse-user-data

add user-data for openSUSE 42.1

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoadd user-data for openSUSE 42.1
Nathan Cutler [Sat, 14 May 2016 08:12:07 +0000 (10:12 +0200)]
add user-data for openSUSE 42.1

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #992 from ceph/wip-14339-master
Tamilarasi Muthamizhan [Fri, 13 May 2016 23:16:47 +0000 (16:16 -0700)]
Merge pull request #992 from ceph/wip-14339-master

Added v10.2.0 => jewel upgrade case

9 years agoMerge pull request #991 from ceph/wip-15857
Gregory Farnum [Fri, 13 May 2016 20:40:19 +0000 (13:40 -0700)]
Merge pull request #991 from ceph/wip-15857

tasks/cephfs: fix ps usage to not truncate cmds

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agotasks/cephfs: update failover test for standby changesReviewed-by: Greg Farnum <gfarn...
Gregory Farnum [Fri, 13 May 2016 20:39:39 +0000 (13:39 -0700)]
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>
9 years agoMerge pull request #985 from ZhenyuLeng/noneed_op_is_discardable
Sage Weil [Fri, 13 May 2016 13:28:58 +0000 (09:28 -0400)]
Merge pull request #985 from ZhenyuLeng/noneed_op_is_discardable

suites/rados: test osd_discard_disconnected_ops

9 years agoTest osd_discard_disconnected_ops
ZhenyuLeng [Sat, 7 May 2016 03:15:20 +0000 (11:15 +0800)]
Test osd_discard_disconnected_ops
Signed-off-by: ZhenyuLeng <lengzhenyu@ict.ac.cn>
9 years agoMerge pull request #987 from ceph/wip-15563-master
Dan Mick [Fri, 13 May 2016 01:38:27 +0000 (18:38 -0700)]
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>
9 years agoA script to be used in crontab sepia nd ovh lab, so emails sent only on errors
Yuri Weinstein [Mon, 9 May 2016 20:01:04 +0000 (13:01 -0700)]
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>
9 years agoAdded v10.2.0 => jewel upgrade case
Yuri Weinstein [Thu, 12 May 2016 20:40:03 +0000 (13:40 -0700)]
Added v10.2.0 => jewel upgrade case

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
9 years agotasks/cephfs: test 'df' output in volumeclient
John Spray [Mon, 25 Apr 2016 22:33:04 +0000 (23:33 +0100)]
tasks/cephfs: test 'df' output in volumeclient

Fixes: http://tracker.ceph.com/issues/15599
Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: fix ps usage to not truncate cmds
John Spray [Thu, 12 May 2016 10:16:56 +0000 (11:16 +0100)]
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>
9 years agoMerge pull request #990 from ceph/wip-multi-cluster-fixes
Sage Weil [Wed, 11 May 2016 19:18:59 +0000 (15:18 -0400)]
Merge pull request #990 from ceph/wip-multi-cluster-fixes

fixes for some issues caused by the multi-cluster branch

9 years agotasks: fix {testdir}/data paths
Josh Durgin [Wed, 11 May 2016 19:08:17 +0000 (12:08 -0700)]
tasks: fix {testdir}/data paths

The multi-cluster branch updated these to have a '$cluster.' prefix

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agotasks/ceph.healthy: allow None as config
Josh Durgin [Wed, 11 May 2016 19:07:16 +0000 (12:07 -0700)]
tasks/ceph.healthy: allow None as config

This is used by the pg-removal-interruption test.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agotasks/resolve_stuck_peering: fix whitespace and indentation
Josh Durgin [Wed, 11 May 2016 19:06:01 +0000 (12:06 -0700)]
tasks/resolve_stuck_peering: fix whitespace and indentation

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agotasks/resolve_stuck_peering: adjust to new ctx.manager location
Josh Durgin [Wed, 11 May 2016 19:01:52 +0000 (12:01 -0700)]
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>
9 years agoMerge pull request #986 from ceph/wip-crush-drop-legacy
Samuel Just [Wed, 11 May 2016 18:12:03 +0000 (11:12 -0700)]
Merge pull request #986 from ceph/wip-crush-drop-legacy

rados: test jewel instead of legacy tunables

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agotasks/cephfs: add TestVolumeClient.test_purge
John Spray [Tue, 5 Apr 2016 17:49:18 +0000 (18:49 +0100)]
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>
9 years agoMerge pull request #975 from xiaoxichen/prefix
John Spray [Wed, 11 May 2016 14:08:29 +0000 (09:08 -0500)]
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>
9 years agoMerge pull request #968 from ajarr/wip-15045
John Spray [Wed, 11 May 2016 12:23:12 +0000 (07:23 -0500)]
Merge pull request #968 from ajarr/wip-15045

tasks/cephfs: test volume client eviction

Reviewed-by: John Spray <john.spray@redhat.com>
9 years agoMerge pull request #989 from ceph/revert-981-revert-955-tracker13531
Samuel Just [Tue, 10 May 2016 17:28:03 +0000 (10:28 -0700)]
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>
9 years agoRevert "Revert "Rados: Tracker-13531-resolve stuck peering""
Samuel Just [Tue, 10 May 2016 17:27:32 +0000 (10:27 -0700)]
Revert "Revert "Rados: Tracker-13531-resolve stuck peering""

9 years agoMerge pull request #937 from ceph/wip-multi-cluster
Josh Durgin [Mon, 9 May 2016 22:21:00 +0000 (15:21 -0700)]
Merge pull request #937 from ceph/wip-multi-cluster

multi-cluster support and basic rbd mirroring test

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agotasks/create_verify_lfn_objects: adjust to new ctx.manager location
Josh Durgin [Mon, 9 May 2016 21:52:57 +0000 (14:52 -0700)]
tasks/create_verify_lfn_objects: adjust to new ctx.manager location

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agosuites: add multi-cluster tests to the teuthology suite
Josh Durgin [Thu, 7 Apr 2016 02:01:33 +0000 (19:01 -0700)]
suites: add multi-cluster tests to the teuthology suite

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agotasks: update ctx.ceph.conf readers to use per-cluster conf
Josh Durgin [Wed, 6 Apr 2016 05:40:17 +0000 (22:40 -0700)]
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>
9 years agosuites/rbd: add basic mirroring suite
Josh Durgin [Mon, 4 Apr 2016 23:54:17 +0000 (16:54 -0700)]
suites/rbd: add basic mirroring suite

Just one workunit to run so far.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agotasks: add an rbd-mirror task
Josh Durgin [Thu, 31 Mar 2016 06:05:37 +0000 (23:05 -0700)]
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>
9 years agotasks/ceph: ignore EEXIST for the archive data dir creation
Josh Durgin [Wed, 30 Mar 2016 00:14:45 +0000 (17:14 -0700)]
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>
9 years agotasks/ceph: pull each mon dir only once
Josh Durgin [Wed, 30 Mar 2016 00:10:28 +0000 (17:10 -0700)]
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>
9 years agotasks/ceph: only run ceph_log and valgrind_post once
Josh Durgin [Tue, 29 Mar 2016 23:46:11 +0000 (16:46 -0700)]
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>
9 years agotasks/ceph: make scrubbing cluster-aware
Josh Durgin [Fri, 25 Mar 2016 04:57:02 +0000 (21:57 -0700)]
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>
9 years agotasks/watch_notify_same_primary: adjust to new ctx.manager location
Josh Durgin [Fri, 25 Mar 2016 01:22:58 +0000 (18:22 -0700)]
tasks/watch_notify_same_primary: adjust to new ctx.manager location

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agotasks/thrash_pool_snaps: adjust to new ctx.manager location
Josh Durgin [Fri, 25 Mar 2016 01:21:13 +0000 (18:21 -0700)]
tasks/thrash_pool_snaps: adjust to new ctx.manager location

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agotasks/repair_test: clean up manager usage, adjust to new location
Josh Durgin [Fri, 25 Mar 2016 01:19:12 +0000 (18:19 -0700)]
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>
9 years agotasks/reg11184: adjust to new ctx.manager location
Josh Durgin [Fri, 25 Mar 2016 01:07:53 +0000 (18:07 -0700)]
tasks/reg11184: adjust to new ctx.manager location

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agotasks/radosbench: adjust to new ctx.manager location
Josh Durgin [Fri, 25 Mar 2016 01:06:05 +0000 (18:06 -0700)]
tasks/radosbench: adjust to new ctx.manager location

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agotasks/rados: adjust to new ctx.manager location
Josh Durgin [Fri, 25 Mar 2016 01:01:37 +0000 (18:01 -0700)]
tasks/rados: adjust to new ctx.manager location

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agotasks/populate_rbd_pool: adjust to new ctx.manager location
Josh Durgin [Fri, 25 Mar 2016 01:00:11 +0000 (18:00 -0700)]
tasks/populate_rbd_pool: adjust to new ctx.manager location

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agotasks/peering_speed_test: adust for new ctx.manager location
Josh Durgin [Fri, 25 Mar 2016 00:57:55 +0000 (17:57 -0700)]
tasks/peering_speed_test: adust for new ctx.manager location

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agotasks/osd_failsafe_enospc: adjust for new ctx.manager location
Josh Durgin [Fri, 25 Mar 2016 00:52:49 +0000 (17:52 -0700)]
tasks/osd_failsafe_enospc: adjust for new ctx.manager location

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agotasks/divergent_priors*: adjust to new ctx.manager location
Josh Durgin [Fri, 25 Mar 2016 00:47:38 +0000 (17:47 -0700)]
tasks/divergent_priors*: adjust to new ctx.manager location

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agotasks/ceph_objectstore_tool: use existing manager
Josh Durgin [Fri, 25 Mar 2016 00:15:14 +0000 (17:15 -0700)]
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>
9 years agotasks/ceph_manager: make utility_task cluster-aware
Josh Durgin [Fri, 25 Mar 2016 00:14:17 +0000 (17:14 -0700)]
tasks/ceph_manager: make utility_task cluster-aware

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agotasks/ceph: make restart subtask cluster-aware
Josh Durgin [Fri, 25 Mar 2016 03:24:01 +0000 (20:24 -0700)]
tasks/ceph: make restart subtask cluster-aware

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agotasks/ceph: make wait_for_mon_quorum cluster-aware
Josh Durgin [Fri, 25 Mar 2016 03:23:36 +0000 (20:23 -0700)]
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>
9 years agotasks/ceph: make wait_for_osds_up cluster-aware
Josh Durgin [Fri, 25 Mar 2016 03:22:16 +0000 (20:22 -0700)]
tasks/ceph: make wait_for_osds_up cluster-aware

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agotasks/ceph: update ctx.manager usage to ctx.managers
Josh Durgin [Fri, 25 Mar 2016 00:12:39 +0000 (17:12 -0700)]
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>
9 years agotasks/workunit: work with roles that include cluster
Josh Durgin [Thu, 24 Mar 2016 02:31:48 +0000 (19:31 -0700)]
tasks/workunit: work with roles that include cluster

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agotasks: move find_remote to util, rename and add helper
Josh Durgin [Thu, 24 Mar 2016 01:55:45 +0000 (18:55 -0700)]
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>
9 years agotasks/blktrace: make cluster-aware
Josh Durgin [Thu, 24 Mar 2016 00:50:39 +0000 (17:50 -0700)]
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>
9 years agotasks/ceph_manager: make Thrasher cluster-aware
Josh Durgin [Thu, 24 Mar 2016 00:29:39 +0000 (17:29 -0700)]
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>
9 years agotasks/ceph_manager: make mount_osd_data() cluster-aware
Josh Durgin [Thu, 24 Mar 2016 00:15:40 +0000 (17:15 -0700)]
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>
9 years agotasks/ceph_manager: add cluster param to write_conf()
Josh Durgin [Wed, 23 Mar 2016 23:50:53 +0000 (16:50 -0700)]
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>
9 years agotasks/ceph_manager: simplify remote lookup, and make it cluster aware
Josh Durgin [Wed, 23 Mar 2016 23:45:51 +0000 (16:45 -0700)]
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>
9 years agotasks/ceph_manager: parameterize CephManager with cluster
Josh Durgin [Wed, 23 Mar 2016 23:30:48 +0000 (16:30 -0700)]
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>
9 years agotasks/thrashosds: adjust to per-cluster managers
Josh Durgin [Wed, 23 Mar 2016 20:08:33 +0000 (13:08 -0700)]
tasks/thrashosds: adjust to per-cluster managers

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agotasks/thrashosds: add an option to specify the cluster to thrash
Josh Durgin [Wed, 23 Mar 2016 20:05:15 +0000 (13:05 -0700)]
tasks/thrashosds: add an option to specify the cluster to thrash

Thrashing must be aware of the cluster it is using, since it maintains
some invariants (e.g. enough osds up when waiting to recover).

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agotasks/ceph: store cluster config in a per-cluster dict
Josh Durgin [Wed, 23 Mar 2016 23:48:53 +0000 (16:48 -0700)]
tasks/ceph: store cluster config in a per-cluster dict

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agotasks/ceph: create a CephManager per cluster
Josh Durgin [Fri, 18 Mar 2016 03:18:21 +0000 (20:18 -0700)]
tasks/ceph: create a CephManager per cluster

Thrashings tasks will be updated to use ctx.managers indexed by
cluster later.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agotasks/ceph: make healthy() cluster-aware
Josh Durgin [Fri, 18 Mar 2016 03:16:35 +0000 (20:16 -0700)]
tasks/ceph: make healthy() cluster-aware

ceph.healthy may be used as a standalone task, so it may not always
have the cluster name in its configuration.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agotasks/ceph: make cephfs_setup() cluster-aware
Josh Durgin [Fri, 18 Mar 2016 03:06:44 +0000 (20:06 -0700)]
tasks/ceph: make cephfs_setup() cluster-aware

Note that cephfs tests using the Filesystem abstractions will need to
be converted to understand multiple clusters later. This just updates
the ceph task portion.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agotasks/ceph: make crush_setup() cluster-aware
Josh Durgin [Fri, 18 Mar 2016 02:31:32 +0000 (19:31 -0700)]
tasks/ceph: make crush_setup() cluster-aware

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agotasks/ceph: adapt to cluster-aware daemon.resolve_role_list
Josh Durgin [Wed, 16 Mar 2016 05:54:08 +0000 (22:54 -0700)]
tasks/ceph: adapt to cluster-aware daemon.resolve_role_list

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agotasks/ceph: make run_daemon() cluster-aware
Josh Durgin [Fri, 18 Mar 2016 02:19:57 +0000 (19:19 -0700)]
tasks/ceph: make run_daemon() cluster-aware

Pass --cluster where appropriate and include the full role in file
names.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agotasks/ceph: convert cluster creation to work with multiple clusters
Josh Durgin [Thu, 17 Mar 2016 02:10:10 +0000 (19:10 -0700)]
tasks/ceph: convert cluster creation to work with multiple clusters

Add a cluster option to the ceph task, and pass that through to
cluster(). Make sure monitors and clients don't collide by adding
their cluster to paths they use.

This assumes there is one ceph task per cluster, and osds from
multiple clusters do not share hosts (or else the block device
assignment won't work).

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agotasks/ceph_client: add cluster param
Josh Durgin [Thu, 17 Mar 2016 02:05:20 +0000 (19:05 -0700)]
tasks/ceph_client: add cluster param

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agorados: test jewel instead of legacy tunables
Sage Weil [Mon, 9 May 2016 12:31:24 +0000 (08:31 -0400)]
rados: test jewel instead of legacy tunables

Legacy tunables semi-frequently turn up crush mappings that only
return 1 instead of 2 results.  Switch to covering jewel tunables
explicitly instead.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agofs/volume_client: exercise the configurable prefix and ns_prefix.
Xiaoxi Chen [Wed, 27 Apr 2016 17:01:55 +0000 (12:01 -0500)]
fs/volume_client: exercise the configurable prefix and ns_prefix.

Also ensure namespace_prefix and vol_prefix are set to default values
if they are not explicitly passed.

Fixes #15417

Signed-off-by: Xiaoxi Chen <xiaoxchen@ebay.com>
9 years agorados: debug rgw test
Sage Weil [Fri, 6 May 2016 16:03:00 +0000 (12:03 -0400)]
rados: debug rgw test

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #984 from ceph/wip-name-len
Sage Weil [Thu, 5 May 2016 16:46:10 +0000 (12:46 -0400)]
Merge pull request #984 from ceph/wip-name-len

drop broken name length config args

9 years agodrop broken name length config args
Sage Weil [Thu, 5 May 2016 13:07:36 +0000 (09:07 -0400)]
drop broken name length config args

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #982 from ceph/wip-13507
David Zafman [Wed, 4 May 2016 16:38:56 +0000 (09:38 -0700)]
Merge pull request #982 from ceph/wip-13507

Changes for wip-13507 and test fixes

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #911 from ceph/wip-8885
David Zafman [Wed, 4 May 2016 16:36:24 +0000 (09:36 -0700)]
Merge pull request #911 from ceph/wip-8885

Add dump_ops_enable and optrack_toggle_delay options
Add noscrub_toggle_delay and flip the noscrub osd flags

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agocopyed upgrade/infernalis suite to master branch
Yuri Weinstein [Wed, 4 May 2016 15:46:29 +0000 (08:46 -0700)]
copyed upgrade/infernalis suite to master branch

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
9 years agosuites: allow four remote clients for fs/recovery
Ramana Raja [Wed, 20 Apr 2016 17:06:09 +0000 (22:36 +0530)]
suites: allow four remote clients for fs/recovery

test_volume_client requires four clients.

Signed-off-by: Ramana Raja <rraja@redhat.com>
9 years agotasks/cephfs: test volume client eviction
Ramana Raja [Tue, 19 Apr 2016 04:42:08 +0000 (10:12 +0530)]
tasks/cephfs: test volume client eviction

Test whether the CephFSVolumeClient can evict a client based on its
auth ID and the volume path it has mounted.

Fixes: http://tracker.ceph.com/issues/15045
Signed-off-by: Ramana Raja <rraja@redhat.com>
9 years agotasks/cephfs: make mount point more configurable
Ramana Raja [Tue, 19 Apr 2016 04:11:22 +0000 (09:41 +0530)]
tasks/cephfs: make mount point more configurable

The mount points of the test clients were created based on the auth
ID they used. So two clients using the same auth ID could not create
different mount points in a straight forward way. Expose the
directory name of the mount point as a public attribute allowing
client mount points to be easily changed whenever needed.

Signed-off-by: Ramana Raja <rraja@redhat.com>
9 years agorepair_test: Disable scheduled scrubbing to not mess up do_pg_scrub()
David Zafman [Mon, 2 May 2016 01:11:51 +0000 (18:11 -0700)]
repair_test: Disable scheduled scrubbing to not mess up do_pg_scrub()

Fixes: http://tracker.ceph.com/issues/15679
Signed-off-by: David Zafman <dzafman@redhat.com>