]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
10 years agotasks/cephfs: tweak use of mon for admin commands
John Spray [Tue, 7 Apr 2015 13:14:15 +0000 (14:14 +0100)]
tasks/cephfs: tweak use of mon for admin commands

... s/mon_remote/admin_remote/ and allow caller to pass
in which remote they want to use for that.  Enables use
with ceph_deploy task which does not give admin keys
to mons.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks/ceph: refactor legacy FS configuration check
John Spray [Mon, 6 Apr 2015 18:53:50 +0000 (19:53 +0100)]
tasks/ceph: refactor legacy FS configuration check

Move up into Filesystem so that this can be used from
the ceph_deploy task as well.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agosuites: whitelist log messages for auto-repair test
John Spray [Tue, 14 Apr 2015 13:12:27 +0000 (14:12 +0100)]
suites: whitelist log messages for auto-repair test

Log messages being checked now since #11177
was fixed.

Signed-off-by: John Spray <john.spray@redhat.com>
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
10 years agotasks: implement TestStrays.test_mv_hardlink_cleanup
John Spray [Wed, 1 Apr 2015 22:50:14 +0000 (23:50 +0100)]
tasks: implement TestStrays.test_mv_hardlink_cleanup

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks: update test_journal_repair
John Spray [Wed, 1 Apr 2015 12:56:13 +0000 (13:56 +0100)]
tasks: update test_journal_repair

This broke with recent Client changes that
do better caching of readdir results, such
that doing an ls twice is no longer sufficient
to see a fresh result after repair - we need
to remount instead.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agosuites/fs: clean up whitespace in YAML
John Spray [Wed, 1 Apr 2015 15:51:26 +0000 (16:51 +0100)]
suites/fs: clean up whitespace in YAML

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agosuites: run fs/recovery with two MDSs
John Spray [Tue, 24 Feb 2015 09:25:44 +0000 (09:25 +0000)]
suites: run fs/recovery with two MDSs

Some tests need both, and others should
ignore it.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agosuites: add .yamls for the recent cephfs tests
John Spray [Mon, 23 Feb 2015 16:36:38 +0000 (16:36 +0000)]
suites: add .yamls for the recent cephfs tests

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agosuites: put fuse clients on separate hosts
John Spray [Mon, 23 Feb 2015 16:33:16 +0000 (16:33 +0000)]
suites: put fuse clients on separate hosts

To mitigate the weirdness when we start
trying to abort /sys/fs/fuse/connections/*

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agosuites: update tasks to use cephfs_test_runner
John Spray [Mon, 23 Feb 2015 15:16:20 +0000 (15:16 +0000)]
suites: update tasks to use cephfs_test_runner

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks: update journal_repair test for 'damaged' state
John Spray [Thu, 26 Mar 2015 17:15:28 +0000 (17:15 +0000)]
tasks: update journal_repair test for 'damaged' state

To track recent change in master where instead of
crashing on missing MDSTable object we'll go
into damaged state.

Instead of catching a crash, handle the rank's
transition to the damanged state.  Leave the crash
handling code (unused for the moment) in the
Filesystem class in case it's needed elsewhere
soon.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks/cephfs: add test_strays
John Spray [Wed, 21 Jan 2015 14:28:13 +0000 (14:28 +0000)]
tasks/cephfs: add test_strays

This tests the new purge file/ops throttling
in the MDS, via the new perf counters for
strays/purging.

Fixes: #10390
Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks/cephfs: add test_sessionmap
John Spray [Thu, 26 Mar 2015 17:50:23 +0000 (17:50 +0000)]
tasks/cephfs: add test_sessionmap

Tests for the persistence behaviour of SessionMap.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks: generalise cephfs test runner
John Spray [Thu, 26 Mar 2015 17:52:10 +0000 (17:52 +0000)]
tasks: generalise cephfs test runner

...to avoid having boilerplate in each test module,
and gain the ability to run them all in one go
with a nice test-by-test pass/fail report.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks/ceph_fuse: populate ctx.mounts earlier
John Spray [Tue, 24 Feb 2015 09:26:10 +0000 (09:26 +0000)]
tasks/ceph_fuse: populate ctx.mounts earlier

...so that if an error happens during mount, I can
use the interactive console to access ctx.mounts.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks/mds_flush: be more careful monitoring stats
John Spray [Thu, 19 Feb 2015 09:12:38 +0000 (09:12 +0000)]
tasks/mds_flush: be more careful monitoring stats

Were previously taking the baseline from just after the
client did a delete, which was racy: should have taken
it from before, to get a steady state.

Also update the perf dump calls to take advantage of
the new filtering syntax.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks: lots of s/mds_restart/mds_fail_restart/
John Spray [Sat, 7 Feb 2015 09:33:58 +0000 (09:33 +0000)]
tasks: lots of s/mds_restart/mds_fail_restart/

Wherever we are subsequently waiting for daemons
to be healthy, we should be doing a fail during the restart.

Also catch some places that were doing this longhand and use
the handy fail_restart version instead.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks/cephfs: better multiple-mds handling
John Spray [Fri, 6 Feb 2015 09:55:04 +0000 (09:55 +0000)]
tasks/cephfs: better multiple-mds handling

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks/ceph_manager: DRY in mds_status
John Spray [Fri, 6 Feb 2015 09:50:59 +0000 (09:50 +0000)]
tasks/ceph_manager: DRY in mds_status

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agoceph_manager: fix bad type assertions
John Spray [Fri, 13 Feb 2015 12:09:50 +0000 (12:09 +0000)]
ceph_manager: fix bad type assertions

In python, isinstance(foo, str) will fail if
a unicode string is passed in.  The correct check
is basestring.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks/cephfs: be tolerant of multiple MDSs
John Spray [Wed, 4 Feb 2015 12:52:42 +0000 (12:52 +0000)]
tasks/cephfs: be tolerant of multiple MDSs

...as long as only one is active, all the ops
that default to talking to a single MDS should
be happy to talk to the active MDS, even if there
happens to be a standby lying around too.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agoMerge pull request #395 from fullerdj/wip-rbd-xfstests-201504
Josh Durgin [Tue, 14 Apr 2015 00:11:06 +0000 (17:11 -0700)]
Merge pull request #395 from fullerdj/wip-rbd-xfstests-201504

RBD: add YAML variables to override locations for ceph-qa-chef and xfstests

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agoMerge pull request #399 from ceph/wip-11043
Josh Durgin [Thu, 9 Apr 2015 21:53:57 +0000 (14:53 -0700)]
Merge pull request #399 from ceph/wip-11043

Removed per #11070 and resolves #11043

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agoRemoved per #11070 and resolves #11043
Yuri Weinstein [Thu, 9 Apr 2015 21:47:25 +0000 (14:47 -0700)]
Removed per #11070 and resolves #11043

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
10 years agoRBD: added optional YAML parameters to test xfstests from different repos
Douglas Fuller [Tue, 31 Mar 2015 15:52:52 +0000 (08:52 -0700)]
RBD: added optional YAML parameters to test xfstests from different repos

These variables are needed because ceph-qa-suite bootstraps ceph-qa-chef via
http download of solo-from/scratch/run. This adds a variable to override the
default script. It also adds variables to the rbd task to override the versions
of run_xfstests_krbd.sh and run_xfstests.sh downloaded by the default task.

variables added
======
tasks:
-chef
  script_url: # override default location for solo-from-scratch for Chef
  chef_repo: # override default Chef repo used by solo-from-scratch
  chef_branch: # to choose a different git upstream branch for ceph-qa-chef
-rbd.xfstests:
  client.0:
   xfstests_branch: # to choose a different git upstream branch for xfstests
   xfstests_url: # override git base URL for run_xfstests{_krbd}.sh

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
10 years agoIncreased default test RBD size to 10G to help tests pass
Douglas Fuller [Mon, 6 Apr 2015 19:23:38 +0000 (12:23 -0700)]
Increased default test RBD size to 10G to help tests pass

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
10 years agoMerge pull request #367 from dachary/wip-ec-cache-agent
Loic Dachary [Fri, 3 Apr 2015 16:38:44 +0000 (18:38 +0200)]
Merge pull request #367 from dachary/wip-ec-cache-agent

add erasure code and cache agent upgrade tests

Reviewed-by: Yuri Weinstein <yuriw@redhat.com>
10 years agoerasure-code: ec-cache-agent in firefly-x/stress-split-erasure-code
Loic Dachary [Tue, 24 Mar 2015 19:14:45 +0000 (20:14 +0100)]
erasure-code: ec-cache-agent in firefly-x/stress-split-erasure-code

Immediately after the Firefly installation, create an erasure code pool
behind a replicated cache pool. Run deep-scrub on all OSD while a rados
task runs. After upgrading half of the cluster (MON and OSD), run a
rados task again also deep-scrub in parallel.

http://tracker.ceph.com/issues/11054 Fixes: #11054

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoerasure-code: rename firefly-x/stress-split-erasure-code
Loic Dachary [Tue, 24 Mar 2015 19:12:56 +0000 (20:12 +0100)]
erasure-code: rename firefly-x/stress-split-erasure-code

Rename sub-directories of firefly-x/stress-split-erasure-code make room
for a workload immediately after the installation, i.e. number 2.

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agorados: explain that the task is asynchronous by default
Loic Dachary [Fri, 27 Mar 2015 06:19:23 +0000 (07:19 +0100)]
rados: explain that the task is asynchronous by default

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoMerge pull request #393 from ceph/revert-385-wip-mkfs
Andrew Schoen [Thu, 2 Apr 2015 20:18:03 +0000 (15:18 -0500)]
Merge pull request #393 from ceph/revert-385-wip-mkfs

Revert "ceph: be less weird about passing -f to mkfs"

10 years agoRevert "ceph: be less weird about passing -f to mkfs"
Andrew Schoen [Thu, 2 Apr 2015 20:08:13 +0000 (15:08 -0500)]
Revert "ceph: be less weird about passing -f to mkfs"

10 years agoFixed #11306 Whitelist WRN "failed to encode map"
Yuri Weinstein [Wed, 1 Apr 2015 22:53:36 +0000 (15:53 -0700)]
Fixed #11306 Whitelist WRN "failed to encode map"

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
(cherry picked from commit 9b9d27b25ee3f75fedc5db788bbe87b93d517f0e)

10 years agoMerge pull request #388 from athanatos/wip-wrongly
Sage Weil [Tue, 31 Mar 2015 17:06:41 +0000 (10:06 -0700)]
Merge pull request #388 from athanatos/wip-wrongly

rados_python: whitelist wrongly marked me down

10 years agoMerge pull request #387 from athanatos/wip-scrub-repair-test
Sage Weil [Tue, 31 Mar 2015 17:06:10 +0000 (10:06 -0700)]
Merge pull request #387 from athanatos/wip-scrub-repair-test

(scrub|rados)_test: tolerate best guess digest errors as well

10 years agoMerge pull request #386 from athanatos/wip-11156
Sage Weil [Tue, 31 Mar 2015 17:05:37 +0000 (10:05 -0700)]
Merge pull request #386 from athanatos/wip-11156

rados/thrash*: make scrubs happen a lot

10 years agoMerge pull request #385 from ceph/wip-mkfs
Andrew Schoen [Tue, 31 Mar 2015 16:03:00 +0000 (11:03 -0500)]
Merge pull request #385 from ceph/wip-mkfs

ceph: be less weird about passing -f to mkfs

10 years agoceph: fix mkfs -f bug
Sage Weil [Tue, 31 Mar 2015 04:11:35 +0000 (21:11 -0700)]
ceph: fix mkfs -f bug

Pass -f by default to btrfs instead of first trying without and *then*
trying with.

Among other things, this avoids a confusing failure where we try mkfs.ext4
device (no -f), fail for some reason, and then try again with -f and get
a usage error (-f does not mean force for mke2fs).

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agorados_python: whitelist wrongly marked me down
Samuel Just [Mon, 30 Mar 2015 20:47:05 +0000 (13:47 -0700)]
rados_python: whitelist wrongly marked me down

Signed-off-by: Samuel Just <sjust@redhat.com>
10 years ago(scrub|rados)_test: tolerate best guess digest errors as well
Samuel Just [Sun, 29 Mar 2015 23:03:32 +0000 (16:03 -0700)]
(scrub|rados)_test: tolerate best guess digest errors as well

Signed-off-by: Samuel Just <sjust@redhat.com>
10 years agorados/thrash*: make scrubs happen a lot
Samuel Just [Fri, 20 Mar 2015 18:24:22 +0000 (11:24 -0700)]
rados/thrash*: make scrubs happen a lot

Signed-off-by: Samuel Just <sjust@redhat.com>
10 years agoMerge pull request #380 from ceph/wip-11204
Yuri Weinstein [Fri, 27 Mar 2015 19:23:37 +0000 (12:23 -0700)]
Merge pull request #380 from ceph/wip-11204

Make sure that ulimits are adjusted for ceph-objectstore-tool

10 years agoMerge pull request #382 from dmick/master
Andrew Schoen [Fri, 27 Mar 2015 01:03:50 +0000 (18:03 -0700)]
Merge pull request #382 from dmick/master

calamari_setup: der.  Use dict.update() correctly

10 years agocalamari_setup: der. Use dict.update() correctly
Dan Mick [Fri, 27 Mar 2015 00:54:36 +0000 (17:54 -0700)]
calamari_setup: der.  Use dict.update() correctly

Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agoMerge pull request #381 from dmick/master
Andrew Schoen [Fri, 27 Mar 2015 00:21:18 +0000 (17:21 -0700)]
Merge pull request #381 from dmick/master

calamari_setup fixes

10 years agoMerge remote-tracking branch 'gh/hammer'
Sage Weil [Fri, 27 Mar 2015 00:09:33 +0000 (17:09 -0700)]
Merge remote-tracking branch 'gh/hammer'

Conflicts:
.gitignore

10 years agocalamari_setup: Require test_image to be set
Dan Mick [Fri, 27 Mar 2015 00:00:38 +0000 (17:00 -0700)]
calamari_setup: Require test_image to be set

Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agocalamari_setup: centralize config defaults
Dan Mick [Thu, 26 Mar 2015 23:46:35 +0000 (16:46 -0700)]
calamari_setup: centralize config defaults

Make a DEFAULTS dict that is updated by any user parms, so that
defaults are documented centrally and so config.get(key, defval) is
no longer necessary everywhere.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agocalamari_setup: remove "build test image" code; add 'test_image' cfgvar
Dan Mick [Thu, 26 Mar 2015 22:29:37 +0000 (15:29 -0700)]
calamari_setup: remove "build test image" code; add 'test_image' cfgvar

Stop trying to build test images inside this test; presume the test
image is available built externally (in a file path or an http URL).
Config vars ice_tool_dir, ice_version, iceball_location, and
ice_git_location go away in favor of 'test_image', the path to the
testable image (which can still be a tar.gz or an .iso).

Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agocalamari_setup: mounting iso on older distros requires -o loop
Dan Mick [Thu, 26 Mar 2015 22:31:05 +0000 (15:31 -0700)]
calamari_setup: mounting iso on older distros requires -o loop

Ubuntu's mount/kernel support "mount <file> <mntpnt>" directly;
apparently Centos 6 (and presumably RHEL6) require specifying at
least '-o loop' (a /dev/loopN will be dynamically allocated and removed
on unmount).

Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agoMerge pull request #379 from ceph/wip-wn
Andrew Schoen [Fri, 27 Mar 2015 00:00:46 +0000 (17:00 -0700)]
Merge pull request #379 from ceph/wip-wn

fix watch-notify test

10 years agotasks/watch_notify_same_primary: wait for watch before notify
Sage Weil [Thu, 26 Mar 2015 23:51:56 +0000 (16:51 -0700)]
tasks/watch_notify_same_primary: wait for watch before notify

Make sure watch is done registering and ready before sending the
notifies.

Fixes: #10634
Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMake sure that ulimits are adjusted for ceph-objectstore-tool
David Zafman [Thu, 26 Mar 2015 20:04:06 +0000 (13:04 -0700)]
Make sure that ulimits are adjusted for ceph-objectstore-tool

Fixes: #11204
Signed-off-by: David Zafman <dzafman@redhat.com>
10 years agoMerge pull request #378 from dachary/wip-11221-erasure-code-not-parallel
Yuri Weinstein [Wed, 25 Mar 2015 23:35:09 +0000 (16:35 -0700)]
Merge pull request #378 from dachary/wip-11221-erasure-code-not-parallel

erasure-code: enable ec-rados-default.yaml

10 years agoerasure-code: enable ec-rados-default.yaml
Loic Dachary [Tue, 24 Mar 2015 16:41:12 +0000 (17:41 +0100)]
erasure-code: enable ec-rados-default.yaml

The ec-rados-default.yaml started with:

  workload:
    sequential:

which is only suitable for suites/upgrade/giant-x/parallel/2-workload/sequential_run/ec-rados-default.yaml

because suites/upgrade/giant-x/parallel/1-giant-install/giant.yaml has

   - parallel:
      - workload
      - upgrade-sequence

The same file was included in contexts where the parallel task was not
used and the workload did not run:

  ./suites/upgrade/firefly-x/stress-split-erasure-code/5-workload/ec-rados-default.yaml
  ./suites/upgrade/giant-x/stress-split-erasure-code/5-workload/ec-rados-default.yaml
  ./suites/upgrade/giant-x/stress-split-erasure-code-x86_64/5-workload/ec-rados-default.yaml

The ec-rados-default.yaml is modified to be a task instead of a
sequential task in a parallel tasks. The ec-rados-sequential.yaml is
added and is linked in
suites/upgrade/giant-x/parallel/2-workload/sequential_run instead of ec-rados-default.yaml.

http://tracker.ceph.com/issues/11221 Fixes: #11221

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoensure summary is looked for the user we need (part 2)
Loic Dachary [Sun, 22 Mar 2015 16:43:02 +0000 (17:43 +0100)]
ensure summary is looked for the user we need (part 2)

Move the get_user_summary(out, user) logic to util.rgw so that it can be
shared between radosgw_admin_rest.py and radosgw_admin.py and modify
them accordingly.

http://tracker.ceph.com/issues/11180 Fixes: #11180

Signed-off-by: Loic Dachary <loic@dachary.org>
(cherry picked from commit 97e6d808f086834f2350084d5de36be285ad2bde)

10 years agoMerge pull request #377 from ceph/wip-11166
Josh Durgin [Mon, 23 Mar 2015 18:25:34 +0000 (11:25 -0700)]
Merge pull request #377 from ceph/wip-11166

Fixes #11166, whitelisted 'Missing health data for MDS'

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agoFixes #11166, whitelisted 'Missing health data for MDS'
Yuri Weinstein [Mon, 23 Mar 2015 18:17:27 +0000 (11:17 -0700)]
Fixes #11166, whitelisted 'Missing health data for MDS'

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
10 years agoMerge pull request #375 from dachary/wip-rgw-regional-summary
Loic Dachary [Mon, 23 Mar 2015 00:17:07 +0000 (01:17 +0100)]
Merge pull request #375 from dachary/wip-rgw-regional-summary

ensure summary is looked for the user we need (part 2)

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoensure summary is looked for the user we need (part 2)
Loic Dachary [Sun, 22 Mar 2015 16:43:02 +0000 (17:43 +0100)]
ensure summary is looked for the user we need (part 2)

Move the get_user_summary(out, user) logic to util.rgw so that it can be
shared between radosgw_admin_rest.py and radosgw_admin.py and modify
them accordingly.

http://tracker.ceph.com/issues/11180 Fixes: #11180

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoMerge pull request #374 from ceph/wip-11139
Yuri Weinstein [Sat, 21 Mar 2015 21:40:19 +0000 (14:40 -0700)]
Merge pull request #374 from ceph/wip-11139

ceph_manager: Check for exit status 11 from ceph-objectstore-tool import

10 years agoceph_manager: Check for exit status 11 from ceph-objectstore-tool import
David Zafman [Sat, 21 Mar 2015 02:56:55 +0000 (19:56 -0700)]
ceph_manager: Check for exit status 11 from ceph-objectstore-tool import

Fixes: #11139
Signed-off-by: David Zafman <dzafman@redhat.com>
10 years agoMerge pull request #373 from ceph/wip-10861
Gregory Farnum [Sat, 21 Mar 2015 00:44:03 +0000 (17:44 -0700)]
Merge pull request #373 from ceph/wip-10861

fs: fix up dd testing again

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Travis Rhoden <trhoden@redhat.com>
10 years agoMerge pull request #371 from ceph/wip-iso-style
Gregory Meno [Sat, 21 Mar 2015 00:33:53 +0000 (20:33 -0400)]
Merge pull request #371 from ceph/wip-iso-style

Add support for ISOs to tasks/calamari_setup

10 years agofs: fix up dd testing again
Greg Farnum [Sat, 21 Mar 2015 00:09:02 +0000 (17:09 -0700)]
fs: fix up dd testing again

We need to change into the directory during the same shell session as we actually
run the dd...

Fixes: #10861
Backport: hammer, giant, firefly, dumpling

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
10 years agocalamari_setup: oops: ice-tools is still where it was on github.com
Dan Mick [Sat, 21 Mar 2015 00:26:53 +0000 (17:26 -0700)]
calamari_setup: oops: ice-tools is still where it was on github.com

Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agoensure summary is looked for the user we need
Alfredo Deza [Fri, 20 Mar 2015 13:27:05 +0000 (09:27 -0400)]
ensure summary is looked for the user we need

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit f7ea0a424a53bf68cad4cd4c7c78a07401dd6851)

10 years agoMerge pull request #372 from ceph/wip-11180
Andrew Schoen [Fri, 20 Mar 2015 14:33:13 +0000 (09:33 -0500)]
Merge pull request #372 from ceph/wip-11180

ensure summary is looked for the user we need

10 years agoensure summary is looked for the user we need
Alfredo Deza [Fri, 20 Mar 2015 13:27:05 +0000 (09:27 -0400)]
ensure summary is looked for the user we need

Signed-off-by: Alfredo Deza <adeza@redhat.com>
10 years agocalamari_setup: add -y to yum localinstall icesetup
Gregory Meno [Thu, 19 Mar 2015 20:14:52 +0000 (20:14 +0000)]
calamari_setup: add -y to yum localinstall icesetup

also fix a few flake8 things

Signed-off-by: Ubuntu <ubuntu@vpm047.front.sepia.ceph.com>
10 years agocalamari_setup: handle iso, preserving support for tar.gz
Dan Mick [Thu, 19 Mar 2015 00:06:14 +0000 (17:06 -0700)]
calamari_setup: handle iso, preserving support for tar.gz

Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agocalamari_setup: small comment/logmsg fixes, correct git user path
Dan Mick [Thu, 19 Mar 2015 00:05:02 +0000 (17:05 -0700)]
calamari_setup: small comment/logmsg fixes, correct git user path

Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agocalamari_setup: make iceball fetch/creators return path to iceball
Dan Mick [Thu, 19 Mar 2015 00:03:17 +0000 (17:03 -0700)]
calamari_setup: make iceball fetch/creators return path to iceball

Also, widen the concept of "iceball" to include both iso and tar.gz

Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agocalamari_setup: Refactor/simplify in preparation for iso support
Dan Mick [Thu, 19 Mar 2015 00:16:41 +0000 (17:16 -0700)]
calamari_setup: Refactor/simplify in preparation for iso support

Signed-off-by: Gregory Meno <gmeno@redhat.com>
10 years agoImplemented "exclude_packages" feature #11043
Yuri Weinstein [Fri, 6 Mar 2015 00:19:48 +0000 (16:19 -0800)]
Implemented "exclude_packages" feature #11043

Fixed per Josh's comment

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
(cherry picked from commit 4250e22dde45c97ad24793f13fa41e95f16d03a4)

10 years agoMerge pull request #364 from ceph/wip-11043
Josh Durgin [Fri, 6 Mar 2015 19:34:42 +0000 (11:34 -0800)]
Merge pull request #364 from ceph/wip-11043

Implemented "exclude_packages" feature #11043
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agoMerge pull request #363 from ceph/hammer-backports-hadoop
Gregory Farnum [Fri, 6 Mar 2015 17:29:06 +0000 (09:29 -0800)]
Merge pull request #363 from ceph/hammer-backports-hadoop

hadoop: fixup for new replication test

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agoImplemented "exclude_packages" feature #11043
Yuri Weinstein [Fri, 6 Mar 2015 00:19:48 +0000 (16:19 -0800)]
Implemented "exclude_packages" feature #11043

Fixed per Josh's comment

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
10 years agoImplemented "exclude_packages" feature #11043
Yuri Weinstein [Fri, 6 Mar 2015 00:19:48 +0000 (16:19 -0800)]
Implemented "exclude_packages" feature #11043

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
10 years agoMerge pull request #357 from ceph/wip-10949
John Spray [Wed, 4 Mar 2015 19:14:43 +0000 (19:14 +0000)]
Merge pull request #357 from ceph/wip-10949

tasks/cephfs: clean up core on deliberate crash

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agotasks/cephfs: clean up core on deliberate crash
John Spray [Thu, 26 Feb 2015 16:27:13 +0000 (16:27 +0000)]
tasks/cephfs: clean up core on deliberate crash

To avoid internal.coredump task synthesizing a failure
during teardown from the core we left behind.

Fixes: #10949
Signed-off-by: John Spray <john.spray@redhat.com>
10 years agohadoop: fixup for new replication test
Noah Watkins [Tue, 24 Feb 2015 04:02:37 +0000 (20:02 -0800)]
hadoop: fixup for new replication test

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
(cherry picked from commit 6a348ae1870eb4e22a35f4ea86d897fb6d960b88)

10 years agoControl the nfs service correctly on rpm-based systems
Andrew Schoen [Wed, 4 Mar 2015 14:57:03 +0000 (08:57 -0600)]
Control the nfs service correctly on rpm-based systems

This fixes issue #11020

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit 2e4d884fdaabbeca67b519537a80166d3cc99fa3)

10 years agoFixes #11013, use time.sleep instead of manager.sleep which isn't there.
Andrew Schoen [Tue, 3 Mar 2015 22:38:10 +0000 (16:38 -0600)]
Fixes #11013, use time.sleep instead of manager.sleep which isn't there.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit 811c02e3922c4ae29c09bb5f7b48840d0eced951)

10 years agoMerge pull request #362 from ceph/wip-11020
Zack Cerza [Wed, 4 Mar 2015 16:03:33 +0000 (09:03 -0700)]
Merge pull request #362 from ceph/wip-11020

Control the nfs service correctly on rpm-based systems

10 years agoControl the nfs service correctly on rpm-based systems
Andrew Schoen [Wed, 4 Mar 2015 14:57:03 +0000 (08:57 -0600)]
Control the nfs service correctly on rpm-based systems

This fixes issue #11020

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #360 from ceph/wip-11013
Zack Cerza [Tue, 3 Mar 2015 22:55:33 +0000 (15:55 -0700)]
Merge pull request #360 from ceph/wip-11013

Fixes #11013, use time.sleep instead of manager.sleep which isn't there.

10 years agoFixes #11013, use time.sleep instead of manager.sleep which isn't there.
Andrew Schoen [Tue, 3 Mar 2015 22:38:10 +0000 (16:38 -0600)]
Fixes #11013, use time.sleep instead of manager.sleep which isn't there.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #356 from ceph/wip-10948
John Spray [Tue, 3 Mar 2015 20:25:09 +0000 (20:25 +0000)]
Merge pull request #356 from ceph/wip-10948

tasks/cephfs: don't run iptables in parallel

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agoMerge pull request #358 from ceph/wip-10712
John Spray [Tue, 3 Mar 2015 11:42:09 +0000 (11:42 +0000)]
Merge pull request #358 from ceph/wip-10712

tasks: fix intermittent failure in TestFlush

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agoMerge pull request #334 from ceph/wip-fuse-umount
John Spray [Tue, 3 Mar 2015 11:40:12 +0000 (11:40 +0000)]
Merge pull request #334 from ceph/wip-fuse-umount

tasks/cephfs: fix fuse force umount (again)

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agoUse an NFS mount instead of virtio-9p in the qemu task
Andrew Schoen [Thu, 19 Feb 2015 18:35:25 +0000 (12:35 -0600)]
Use an NFS mount instead of virtio-9p in the qemu task

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit 93f2bea3530a523c7b2ac0575033697cea893f2d)

10 years agoworkunit: include /usr/sbin in the PATH for all commands
Greg Farnum [Tue, 24 Feb 2015 05:04:16 +0000 (21:04 -0800)]
workunit: include /usr/sbin in the PATH for all commands

Fixes: #10600
Backport: hammer, giant, firefly, dumpling

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
(cherry picked from commit 0e53f5f38b0cb06a6f4989e622a279c8ba9104eb)

10 years agorename test to tests, follows best practices for tests dirs
Alfredo Deza [Wed, 11 Feb 2015 16:25:45 +0000 (11:25 -0500)]
rename test to tests, follows best practices for tests dirs

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 7b2062602f7d3de206f4660c3e2847f86ac41e24)

10 years agocreate a new get_acl helper to ensure proper xml is compared
Alfredo Deza [Wed, 11 Feb 2015 16:13:28 +0000 (11:13 -0500)]
create a new get_acl helper to ensure proper xml is compared

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 9b6ff638735d03c1f3304198fad51ca701a2c8bd)

10 years agotests for the new acl helper in radosgw_admin
Alfredo Deza [Wed, 11 Feb 2015 16:05:56 +0000 (11:05 -0500)]
tests for the new acl helper in radosgw_admin

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 3801ac9357f78ac05fa850d8944651f26c556d68)

10 years agotasks: fix intermittent failure in TestFlush
John Spray [Mon, 23 Feb 2015 13:43:13 +0000 (13:43 +0000)]
tasks: fix intermittent failure in TestFlush

This was an overly strict success condition: the
flush operation doesn't promise to leave you an empty
journal, it promises that anything in the journal
before the flush will be flushed.

Fixes: #10712
Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotasks/cephfs: don't run iptables in parallel
John Spray [Mon, 2 Mar 2015 11:06:33 +0000 (11:06 +0000)]
tasks/cephfs: don't run iptables in parallel

Where multiple MDSs were on the same node, trying
to concurrently update their firewall state was
causing an exception because the iptables command
errors out if another instance is already running.

Fixes: #10948
Signed-off-by: John Spray <john.spray@redhat.com>
10 years agoChanged suite name from multi-versions to client-upgrade
Yuri Weinstein [Sat, 28 Feb 2015 00:09:30 +0000 (16:09 -0800)]
Changed suite name from multi-versions to client-upgrade

Moved it under upgrades
Replaced rbd workunit

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
(cherry picked from commit bcf7eabc5f0bcd0c6665bc047c076925fbc9bdf5)

10 years agoMerge pull request #354 from ceph/wip-multi-versions
Josh Durgin [Sat, 28 Feb 2015 00:15:30 +0000 (16:15 -0800)]
Merge pull request #354 from ceph/wip-multi-versions

Changed suite name from multi-versions to client-upgrade

Reviewed-by: Josh Durgin <jdurgin@redhat.com>