]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
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 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: 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 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>
9 years agoscrub_test: Fix swapped assert error messages
David Zafman [Sat, 30 Apr 2016 00:46:51 +0000 (17:46 -0700)]
scrub_test: Fix swapped assert error messages

Signed-off-by: David Zafman <dzafman@redhat.com>
9 years agoscrub_test: Fixes need with wip-13507
David Zafman [Fri, 29 Apr 2016 22:33:44 +0000 (15:33 -0700)]
scrub_test: Fixes need with wip-13507

Accept an attribute if not present as False
Change required due change to dict with "epoch" and "inconsistents"

Signed-off-by: David Zafman <dzafman@redhat.com>
9 years agoMerge pull request #976 from ceph/wip-xfs-hadoop
Gregory Farnum [Tue, 3 May 2016 14:09:06 +0000 (07:09 -0700)]
Merge pull request #976 from ceph/wip-xfs-hadoop

suites/hadoop: use xfs

9 years agoMerge pull request #981 from ceph/revert-955-tracker13531
Samuel Just [Tue, 3 May 2016 03:39:56 +0000 (20:39 -0700)]
Merge pull request #981 from ceph/revert-955-tracker13531

Revert "Rados: Tracker-13531-resolve stuck peering"

9 years agoRevert "Rados: Tracker-13531-resolve stuck peering"
Samuel Just [Tue, 3 May 2016 03:39:39 +0000 (20:39 -0700)]
Revert "Rados: Tracker-13531-resolve stuck peering"

9 years agoMerge pull request #955 from shylesh/tracker13531
Samuel Just [Mon, 2 May 2016 22:53:54 +0000 (15:53 -0700)]
Merge pull request #955 from shylesh/tracker13531

Rados: Tracker-13531-resolve stuck peering

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoRados: wip-13531:Resolve stuck peering
shylesh kumar [Wed, 13 Apr 2016 19:06:45 +0000 (15:06 -0400)]
Rados: wip-13531:Resolve stuck peering

Signed-off-by: shylesh kumar <shylesh.mohan@gmail.com>
9 years agoMerge remote-tracking branch 'gh/jewel'
Sage Weil [Mon, 2 May 2016 00:57:30 +0000 (20:57 -0400)]
Merge remote-tracking branch 'gh/jewel'

9 years agoCephManager: Wait 1 second for pool creation to get far enough along
David Zafman [Fri, 29 Apr 2016 21:16:59 +0000 (14:16 -0700)]
CephManager: Wait 1 second for pool creation to get far enough along

Fixes: http://tracker.ceph.com/issues/15673
Signed-off-by: David Zafman <dzafman@redhat.com>
9 years agotasks/cephfs: add TestStandbyReplay.test_standby_replay_unused
John Spray [Fri, 29 Apr 2016 19:07:16 +0000 (20:07 +0100)]
tasks/cephfs: add TestStandbyReplay.test_standby_replay_unused

For the case where we have a daemon come up that
wants to be a standby replay, but someone else
is already following the target, so he has to
be just a regular standy instead.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agoCephManager: Maximum 2 minutes for raw cluster commands
David Zafman [Thu, 14 Apr 2016 17:23:58 +0000 (10:23 -0700)]
CephManager: Maximum 2 minutes for raw cluster commands

Signed-off-by: David Zafman <dzafman@redhat.com>
9 years agothrasher: Add noscrub_toggle_delay and flip the noscrub osd flags
David Zafman [Mon, 11 Apr 2016 23:37:07 +0000 (16:37 -0700)]
thrasher: Add noscrub_toggle_delay and flip the noscrub osd flags

Signed-off-by: David Zafman <dzafman@redhat.com>
9 years agothrasher: Add dump_ops_enable and optrack_toggle_delay options
David Zafman [Tue, 15 Mar 2016 18:29:17 +0000 (11:29 -0700)]
thrasher: Add dump_ops_enable and optrack_toggle_delay options

Add dump_ops_enable which continuously dumps ops using 3 commands
Add optrack_toggle_delay to alternate op tracking enablement

Signed-off-by: David Zafman <dzafman@redhat.com>
9 years agoceph_manager: Add timeout to admin_socket/osd_admin_socket
David Zafman [Tue, 12 Apr 2016 16:27:33 +0000 (09:27 -0700)]
ceph_manager: Add timeout to admin_socket/osd_admin_socket

Signed-off-by: David Zafman <dzafman@redhat.com>
9 years agoMerge pull request #891 from ceph/wip-rgw-new-multisite
Casey Bodley [Fri, 29 Apr 2016 16:10:28 +0000 (12:10 -0400)]
Merge pull request #891 from ceph/wip-rgw-new-multisite

Wip rgw new multisite

Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 years agotasks/cephfs: update failover test for standby changes
John Spray [Tue, 29 Mar 2016 11:11:18 +0000 (12:11 +0100)]
tasks/cephfs: update failover test for standby changes

Previously, an MDS could be used as a replay even
if it had "standby replay = false", this is changed
now so that replays will only happen explicitly.

Signed-off-by: John Spray <john.spray@redhat.com>