]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agocephfs: test readahead is working
Patrick Donnelly [Wed, 8 Jun 2016 19:29:17 +0000 (15:29 -0400)]
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>
9 years agoMerge remote-tracking branch 'upstream/pull/1045/head'
Patrick Donnelly [Wed, 8 Jun 2016 17:11:43 +0000 (13:11 -0400)]
Merge remote-tracking branch 'upstream/pull/1045/head'

* upstream/pull/1045/head:
  tasks/cephfs: fix vstart runner _get_pid

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
9 years agotasks/cephfs: fix vstart runner _get_pid
John Spray [Wed, 8 Jun 2016 15:23:13 +0000 (16:23 +0100)]
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>
9 years agoMerge pull request #1043 from batrick/ps-uid
John Spray [Wed, 8 Jun 2016 09:46:47 +0000 (10:46 +0100)]
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>
9 years agoMerge pull request #1044 from batrick/info-placement
John Spray [Wed, 8 Jun 2016 09:46:33 +0000 (10:46 +0100)]
Merge pull request #1044 from batrick/info-placement

vstart_runner: move info message for loaded mods

Reviewed-by: John Spray <john.spray@redhat.com>
9 years agovstart_runner: move info message for loaded mods
Patrick Donnelly [Tue, 7 Jun 2016 20:41:48 +0000 (16:41 -0400)]
vstart_runner: move info message for loaded mods

The message was printing loaded modules before loading each module.

9 years agovstart_runner: only kill/look at user's processes
Patrick Donnelly [Tue, 7 Jun 2016 20:20:27 +0000 (16:20 -0400)]
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.

9 years agoMerge pull request #1038 from ceph/wip-libcephfs-posixacl
Gregory Farnum [Mon, 6 Jun 2016 21:08:29 +0000 (14:08 -0700)]
Merge pull request #1038 from ceph/wip-libcephfs-posixacl

suites/fs: fix config for enabling libcephfs posix ACL

9 years agoMerge pull request #1039 from ceph/wip-16113
Sage Weil [Mon, 6 Jun 2016 19:26:14 +0000 (15:26 -0400)]
Merge pull request #1039 from ceph/wip-16113

suites/rados: add test for 16113

9 years agosuites/rados: add test for 16113
Samuel Just [Thu, 2 Jun 2016 21:05:38 +0000 (14:05 -0700)]
suites/rados: add test for 16113

Signed-off-by: Samuel Just <sjust@redhat.com>
9 years agosuites/fs: fix config for enabling libcephfs posix ACL
Yan, Zheng [Mon, 6 Jun 2016 13:59:00 +0000 (21:59 +0800)]
suites/fs: fix config for enabling libcephfs posix ACL

Signed-off-by: Yan, Zheng <zyan@redhat.com>
9 years agoMerge pull request #1031 from ceph/wip-sleep
Kefu Chai [Sun, 5 Jun 2016 06:27:50 +0000 (14:27 +0800)]
Merge pull request #1031 from ceph/wip-sleep

tasks: fix non-existent sleep function

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agotasks: fix non-existent sleep function
Josh Durgin [Thu, 2 Jun 2016 22:24:56 +0000 (15:24 -0700)]
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>
9 years agoMerge pull request #1028 from dachary/wip-rbd
Jason Dillaman [Thu, 2 Jun 2016 00:59:29 +0000 (20:59 -0400)]
Merge pull request #1028 from dachary/wip-rbd

rbd: provision volumes to format as XFS

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #1014 from ceph/wip-ceph-restart-wusui
Samuel Just [Wed, 1 Jun 2016 20:54:53 +0000 (13:54 -0700)]
Merge pull request #1014 from ceph/wip-ceph-restart-wusui

tasks/ceph.restart osd fix

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agorbd: provision volumes to format as XFS
Loic Dachary [Wed, 1 Jun 2016 18:46:40 +0000 (20:46 +0200)]
rbd: provision volumes to format as XFS

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #1026 from ceph/wip-16064
Samuel Just [Tue, 31 May 2016 14:49:04 +0000 (07:49 -0700)]
Merge pull request #1026 from ceph/wip-16064

scrub_test: Shards are not marked in error when osd guesses

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoscrub_test: Shards are not marked in error when osd guesses
David Zafman [Fri, 27 May 2016 23:56:17 +0000 (16:56 -0700)]
scrub_test: Shards are not marked in error when osd guesses

Signed-off-by: David Zafman <dzafman@redhat.com>
9 years agoMerge pull request #1017 from dachary/wip-buildpackages
Nathan Cutler [Fri, 27 May 2016 07:32:24 +0000 (09:32 +0200)]
Merge pull request #1017 from dachary/wip-buildpackages

openstack: ovh renamed flavors : s/eg/hg/

Reviewed-by: Nathan Cutler <ncutler@suse.com>
9 years agoopenstack: ovh renamed flavors : s/eg/hg/
Loic Dachary [Thu, 26 May 2016 12:34:28 +0000 (14:34 +0200)]
openstack: ovh renamed flavors : s/eg/hg/

http://travaux.ovh.net/?do=details&id=17532

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agotasks/ceph.restart osd fix
Warren Usui [Wed, 25 May 2016 23:59:05 +0000 (16:59 -0700)]
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>
9 years agoMerge pull request #1013 from ceph/wip-15900
Gregory Farnum [Wed, 25 May 2016 01:14:01 +0000 (18:14 -0700)]
Merge pull request #1013 from ceph/wip-15900

tasks/cephfs: fix failure in test_mount_conn_close

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agotasks/cephfs: find processes correctly
John Spray [Mon, 23 May 2016 18:52:21 +0000 (19:52 +0100)]
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>
9 years agotasks/cephfs: fix mount wait in test_mount_conn_close
John Spray [Mon, 23 May 2016 15:00:37 +0000 (16:00 +0100)]
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>
9 years agoMerge pull request #983 from ajarr/wip-15614
John Spray [Mon, 23 May 2016 11:34:38 +0000 (12:34 +0100)]
Merge pull request #983 from ajarr/wip-15614

tasks/cephfs: test read-only authorization for volumes

Reviewed-by: John Spray <john.spray@redhat.com>
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>