]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
10 years agoInitial checkin for hammer-x suite
Yuri Weinstein [Wed, 15 Apr 2015 23:31:21 +0000 (16:31 -0700)]
Initial checkin for hammer-x suite
Used "ceph osd crush tunables hammer"

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

10 years agotask/samba: ignore return code of fuser/losf
Yan, Zheng [Tue, 21 Apr 2015 03:30:12 +0000 (11:30 +0800)]
task/samba: ignore return code of fuser/losf

if mount point is not used by anyone, both fuser and losf return 1

Fixes: #10624
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit c049387b7b0832e78a4a1370691798f726985799)

10 years agotask/samba: use SIGTERM to stop samba server
Yan, Zheng [Tue, 14 Apr 2015 09:05:40 +0000 (17:05 +0800)]
task/samba: use SIGTERM to stop samba server

man samba(8) contains sentences:

To shut down a user's smbd process it is recommended that SIGKILL (-9)
NOT be used, except as a last resort, as this may leave the shared
memory area in an inconsistent state. The safe way to terminate an smbd
is to send it a SIGTERM (-15) signal and wait for it to die on its own.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit 86bd6bc3771694cd9ee5cd071255f3cf4c40c812)

10 years agoMerge pull request #416 from ceph/wip-11316-next
Gregory Farnum [Tue, 21 Apr 2015 21:09:29 +0000 (14:09 -0700)]
Merge pull request #416 from ceph/wip-11316-next

Backport to next: fix ceph-deploy task with CephFS (#11316)

10 years agotasks/ceph_deploy: configure CephFS
John Spray [Mon, 6 Apr 2015 18:54:23 +0000 (19:54 +0100)]
tasks/ceph_deploy: configure CephFS

This test apparently had not been touched since
"fs new" was added.  In addition to calling
Filesystem.create:
 * modify the get_nodes_using_role
   function to modify ctx.cluster.remotes so that the
   service IDs match what ceph-deploy will set
 * log exceptions during ceph_deploy setup, as otherwise
   they can get lost if another exception occurs during
   teardown (so that it's all easier to debug).
 * default to passing --dev=master during install, so
   that we don't error out horribly when run without
   an explicit branch set (e.g. when run outside
   scheduled suite)

Fixes: #11316
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 7c2e6cdc6cd3d02969d3494d120b12daaa13efa8)

10 years agotasks/cephfs: cope with missing ctx.daemons attr
John Spray [Wed, 8 Apr 2015 09:41:20 +0000 (10:41 +0100)]
tasks/cephfs: cope with missing ctx.daemons attr

...so that we may be used with the ceph_deploy task
that doesn't set that up.

Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit f36011051cabb8e7b06194c778e640e98d328e8a)

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>
(cherry picked from commit 8b61310ce3eedeb8ac60446933cd5db548de6434)

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>
(cherry picked from commit ea7c39222ae084c90b5a8510ce5af35a2f75a6e3)

10 years agosuites/fs: update log whitelist
John Spray [Wed, 1 Apr 2015 17:29:08 +0000 (18:29 +0100)]
suites/fs: update log whitelist

These ones had been passing because of #11177,
now that that is fixed they require an update.

Fixes: #11300
Signed-off-by: John Spray <john.spray@redhat.com>
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
(cherry picked from commit fa2a86196c3ed39c1726be689e42ed5d4aae197a)

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>
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>
10 years agotasks/cephfs: fix/improve fuse force umount (again)
John Spray [Thu, 12 Feb 2015 19:15:40 +0000 (19:15 +0000)]
tasks/cephfs: fix/improve fuse force umount (again)

teuthology helpfully escapes things for us so
the \; didn't need the backslash.  The logic
was still falling over in some cases too.

Additionally, make the FUSE /sys/ abort operation
more surgical by working out the connection name
of our own mount during mount().

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agomsgr: move async msgr tests to singleton-nomsgr
Samuel Just [Thu, 26 Feb 2015 22:32:39 +0000 (14:32 -0800)]
msgr: move async msgr tests to singleton-nomsgr

Introduced: e92d2e4ca0013fa379fdf5830d4fe28abf65c33b
Fixes: 10918
Signed-off-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoexclude the virtualenv from being linted in tox.ini
Alfredo Deza [Thu, 26 Feb 2015 19:37:25 +0000 (14:37 -0500)]
exclude the virtualenv from being linted in tox.ini

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

10 years agoMerge pull request #349 from ceph/wip-10954-hammer
Zack Cerza [Thu, 26 Feb 2015 20:09:15 +0000 (13:09 -0700)]
Merge pull request #349 from ceph/wip-10954-hammer

lint fixes for hammer

10 years agoremove unused import from repair_test
Alfredo Deza [Thu, 26 Feb 2015 20:04:02 +0000 (15:04 -0500)]
remove unused import from repair_test

Signed-off-by: Alfredo Deza <adeza@redhat.com>
10 years agoignore tox hidden dir
Alfredo Deza [Thu, 26 Feb 2015 16:18:28 +0000 (11:18 -0500)]
ignore tox hidden dir

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

10 years agoremove unused variable assignment
Alfredo Deza [Thu, 26 Feb 2015 16:26:15 +0000 (11:26 -0500)]
remove unused variable assignment

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

10 years agoremove unused import from fuse
Alfredo Deza [Thu, 26 Feb 2015 19:55:02 +0000 (14:55 -0500)]
remove unused import from fuse

Signed-off-by: Alfredo Deza <adeza@redhat.com>
10 years agoremove uneeded variable assignment for call
Alfredo Deza [Thu, 26 Feb 2015 16:35:31 +0000 (11:35 -0500)]
remove uneeded variable assignment for call

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

10 years agoremove unused import in calamari_setup
Alfredo Deza [Thu, 26 Feb 2015 16:25:12 +0000 (11:25 -0500)]
remove unused import in calamari_setup

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

10 years agoremove unused imports from populate_rbd
Alfredo Deza [Thu, 26 Feb 2015 16:27:11 +0000 (11:27 -0500)]
remove unused imports from populate_rbd

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