]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agoMerge remote-tracking branch 'origin/wip-vstart-runner' into infernalis
Greg Farnum [Wed, 7 Oct 2015 17:55:36 +0000 (10:55 -0700)]
Merge remote-tracking branch 'origin/wip-vstart-runner' into infernalis

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agosmoke/basic/tasks/libcephfs: fix client debug override
Sage Weil [Wed, 7 Oct 2015 16:27:21 +0000 (12:27 -0400)]
smoke/basic/tasks/libcephfs: fix client debug override

Also debug mds

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge remote-tracking branch 'gh/infernalis'
Sage Weil [Tue, 6 Oct 2015 20:49:46 +0000 (16:49 -0400)]
Merge remote-tracking branch 'gh/infernalis'

Conflicts:
suites/upgrade/hammer-x/point-to-point-x/point-to-point.yaml

9 years agoupgrade/hammer-x/point-to-point: whitelist wrongly marked me down
Sage Weil [Tue, 6 Oct 2015 20:46:50 +0000 (16:46 -0400)]
upgrade/hammer-x/point-to-point: whitelist wrongly marked me down

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #585 from dachary/wip-buildpackages-test
Loic Dachary [Mon, 5 Oct 2015 00:02:34 +0000 (02:02 +0200)]
Merge pull request #585 from dachary/wip-buildpackages-test

buildpackages: implicit for OpenStack

9 years agoMerge pull request #596 from ceph/wip-radosbench
Loic Dachary [Sun, 4 Oct 2015 23:57:04 +0000 (01:57 +0200)]
Merge pull request #596 from ceph/wip-radosbench

tasks/radosbench: wait just a bit longer

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoWhite listed WAR 'failed to encode' fixes #13349
Yuri Weinstein [Sat, 3 Oct 2015 15:27:39 +0000 (08:27 -0700)]
White listed WAR 'failed to encode' fixes #13349

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
(cherry picked from commit 37a881aee191038139b37153a25555fc6b7f8fed)

9 years agoMerge pull request #602 from ceph/wip13349
Yuri Weinstein [Sun, 4 Oct 2015 21:57:50 +0000 (14:57 -0700)]
Merge pull request #602 from ceph/wip13349

White listed WAR 'failed to encode' fixes #13349

9 years agoWhite listed WAR 'failed to encode' fixes #13349
Yuri Weinstein [Sat, 3 Oct 2015 15:27:39 +0000 (08:27 -0700)]
White listed WAR 'failed to encode' fixes #13349

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
9 years agoMerge pull request #549 from ceph/wip-krbd-fio
vasukulkarni [Fri, 2 Oct 2015 18:54:26 +0000 (11:54 -0700)]
Merge pull request #549 from ceph/wip-krbd-fio

Add rbd fio test to exercise block IO on all format/features

9 years agoupgrade/hammer-x/point-to-point: use different client for second rgw
Sage Weil [Fri, 2 Oct 2015 17:24:19 +0000 (13:24 -0400)]
upgrade/hammer-x/point-to-point: use different client for second rgw

Can't do 2 rgw's on the same client id.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit a0f0194ab2edec81f19b111b9317a5149defd4e9)
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
9 years agokrbd fio tests using sync engine for format 2 and features 1 and 2.
Vasu Kulkarni [Wed, 30 Sep 2015 18:50:06 +0000 (14:50 -0400)]
krbd fio tests using sync engine for format 2 and features 1 and 2.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agokrbd test using fio for format 2 and features 1 and 2.
Vasu Kulkarni [Wed, 30 Sep 2015 18:47:42 +0000 (14:47 -0400)]
krbd test using fio for format 2 and features 1 and 2.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agorbd fio tests using rbd engine, tests on clones as well using features 1 and 13.
Vasu Kulkarni [Wed, 30 Sep 2015 16:59:03 +0000 (12:59 -0400)]
rbd fio tests using rbd engine, tests on clones as well using features 1 and 13.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agorbd io tests using fio, various fio options can be specified in yaml
Vasu Kulkarni [Wed, 30 Sep 2015 05:07:47 +0000 (01:07 -0400)]
rbd io tests using fio, various fio options can be specified in yaml

test rbd or krbd using fio, can also run io on rbd clones if option is specified in yaml
various options like image-size, rbd format/features, fio io size, readwrite options can be provided in yaml.
check the docstring for exact usage.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agoMerge pull request #599 from ceph/wip-hammer-x
Yuri Weinstein [Fri, 2 Oct 2015 17:32:12 +0000 (10:32 -0700)]
Merge pull request #599 from ceph/wip-hammer-x

upgrade/hammer-x/point-to-point: use different client for second rgw

9 years agoupgrade/hammer-x/point-to-point: use different client for second rgw
Sage Weil [Fri, 2 Oct 2015 17:24:19 +0000 (13:24 -0400)]
upgrade/hammer-x/point-to-point: use different client for second rgw

Can't do 2 rgw's on the same client id.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agotasks/cephfs: fix FuseMount bin path in vstart
John Spray [Fri, 2 Oct 2015 16:38:23 +0000 (17:38 +0100)]
tasks/cephfs: fix FuseMount bin path in vstart

FuseMount only uses the prefix for finding the 'ceph'
executable, which is in ./ for either cmake or
authtools, not ./src for cmake like other binaries.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: fix test_journal_migration
John Spray [Fri, 2 Oct 2015 16:37:44 +0000 (17:37 +0100)]
tasks/cephfs: fix test_journal_migration

It was trying to get the output file from
a different remote than the one used to
run the journal tool.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: move mds_scrub_checks
John Spray [Wed, 23 Sep 2015 10:21:15 +0000 (11:21 +0100)]
tasks/cephfs: move mds_scrub_checks

...into a CephFSTestCase.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: move journal migration test
John Spray [Wed, 23 Sep 2015 09:49:24 +0000 (10:49 +0100)]
tasks/cephfs: move journal migration test

...into a CephFSTestCase.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: extend vstart_runner's ctx&run
John Spray [Wed, 23 Sep 2015 12:01:14 +0000 (13:01 +0100)]
tasks/cephfs: extend vstart_runner's ctx&run

Sufficiently to enable using workunits.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: add --interactive for vstart runner
John Spray [Tue, 25 Aug 2015 15:03:16 +0000 (16:03 +0100)]
tasks/cephfs: add --interactive for vstart runner

Just like interactive-on-error in teuthology.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: fix FuseMount._asok_path
John Spray [Tue, 22 Sep 2015 10:29:13 +0000 (11:29 +0100)]
tasks/cephfs: fix FuseMount._asok_path

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: remove a redundant sudo
John Spray [Mon, 24 Aug 2015 19:42:06 +0000 (20:42 +0100)]
tasks/cephfs: remove a redundant sudo

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: raise error on non-string stdins
John Spray [Mon, 24 Aug 2015 15:57:21 +0000 (16:57 +0100)]
tasks/cephfs: raise error on non-string stdins

Shouldn't be any from the fs tests that get run

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: warn if vstart_runner can't import mods
John Spray [Mon, 24 Aug 2015 15:24:48 +0000 (16:24 +0100)]
tasks/cephfs: warn if vstart_runner can't import mods

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: stop if needed binaries are absent
John Spray [Mon, 24 Aug 2015 15:20:46 +0000 (16:20 +0100)]
tasks/cephfs: stop if needed binaries are absent

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: add instructions to vstart_runner
John Spray [Mon, 24 Aug 2015 14:54:34 +0000 (15:54 +0100)]
tasks/cephfs: add instructions to vstart_runner

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: updates for cmake environ
John Spray [Thu, 6 Aug 2015 09:20:34 +0000 (10:20 +0100)]
tasks/cephfs: updates for cmake environ

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: add vstart runner script
John Spray [Mon, 20 Jul 2015 11:32:45 +0000 (12:32 +0100)]
tasks/cephfs: add vstart runner script

This is to allow running CephFSTestCase tests
against a vstart cluster, for much faster turnaround
during development than running teuthology against
built ceph packages.

Not everything will be runnable this way, but for
certain things like filesystem repair scenarios we
have everything we need within a vstart environment.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: mark some tests as @needs_trimming
John Spray [Tue, 28 Jul 2015 13:09:26 +0000 (14:09 +0100)]
tasks/cephfs: mark some tests as @needs_trimming

So that we can drop these tests when not running
client as root.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: add needs_trimming decorator
John Spray [Tue, 28 Jul 2015 13:08:50 +0000 (14:08 +0100)]
tasks/cephfs: add needs_trimming decorator

For tests to advertise that they need the client
to be able to trim its cache (i.e. currently that
means requiring run as root)

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: make FuseMount.teardown safer
John Spray [Tue, 28 Jul 2015 13:08:01 +0000 (14:08 +0100)]
tasks/cephfs: make FuseMount.teardown safer

(don't assume fuse_daemon exists)

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: mark some tests as @long_running
John Spray [Mon, 27 Jul 2015 22:23:28 +0000 (23:23 +0100)]
tasks/cephfs: mark some tests as @long_running

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: add @long_running decorator
John Spray [Mon, 27 Jul 2015 22:21:45 +0000 (23:21 +0100)]
tasks/cephfs: add @long_running decorator

A means for test cases to mark particular methods
as long running, so that the vstart runner can skip
them when running for developers.

This is not a scientific thing, anything that takes
more than about 2 minutes due to lots of iteration
or sleeps.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: cluster_down before fs rm
John Spray [Thu, 23 Jul 2015 14:55:28 +0000 (15:55 +0100)]
tasks/cephfs: cluster_down before fs rm

In teuthology this isn't needed because we join the
mds child processes after killing them.  In vstart
we're killing them asynchronously, so be a bit more
careful to ensure they can't re-insert themselves
to the mdsmap between our calling fail and our calling
fs rm.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: split up TestClientRecovery
John Spray [Thu, 23 Jul 2015 09:40:12 +0000 (10:40 +0100)]
tasks/cephfs: split up TestClientRecovery

...into the part that requires a network-isolated
client and the part that doesn't.

This happens to also be the part that won't work with
vstart vs. the part that will.  teuthology yaml will
still pick up and run both parts.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: make memstore dependency declarative
John Spray [Thu, 23 Jul 2015 09:38:48 +0000 (10:38 +0100)]
tasks/cephfs: make memstore dependency declarative

...instead of checking for it procedurally during
TestClusterFull.setUp

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: refine TestClientLimits.test_client_oldest_tid
John Spray [Thu, 23 Jul 2015 08:52:28 +0000 (09:52 +0100)]
tasks/cephfs: refine TestClientLimits.test_client_oldest_tid

* Instead of creating files in background, create
  them in foreground (simpler).
* Instead of creating max_request*2 files, just create
  max_requests plus a litle bit.
* Set max_requests to 1000 instead of 5000 to run a bit
  faster.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: fix race in TestStrays
John Spray [Wed, 22 Jul 2015 14:27:39 +0000 (15:27 +0100)]
tasks/cephfs: fix race in TestStrays

We weren't waiting for export dir to complete (the asok
just starts the process).  This wasn't noticeable when running
remotely due to latency between the test runner and the MDS,
but it shows up when running against a local vstart cluster.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: work around fuse weirdness
John Spray [Wed, 22 Jul 2015 13:03:42 +0000 (14:03 +0100)]
tasks/cephfs: work around fuse weirdness

I am seeing a strange thing where it seems like sometimes
a ls of /sys/fs/fuse/connections is returning empty when
connections do exist.  It is pretty easy to make this
a non-issue by waiting for "more conns than we started with"
instead of "list of conns is different", so do that.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: prefix override in FuseMount
John Spray [Wed, 22 Jul 2015 11:14:56 +0000 (12:14 +0100)]
tasks/cephfs: prefix override in FuseMount

For asok and invokation of ceph CLI.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: use stdin/stdout in Filesystem._read_data_xattr
John Spray [Wed, 22 Jul 2015 11:13:39 +0000 (12:13 +0100)]
tasks/cephfs: use stdin/stdout in Filesystem._read_data_xattr

...so that it doesn't rely on a temp local file and using
run.Raw(">") in commands.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: handle endpoint not connected
John Spray [Wed, 22 Jul 2015 10:08:47 +0000 (11:08 +0100)]
tasks/cephfs: handle endpoint not connected

Previously failure to stat mnt dir was interpreted
as being unmounted.  For "transport endpoint no connected"
error we do want to recognise that it is mounted, albeit
with no ceph-fuse process.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: use Filesystem.rados instead of direct CLI
John Spray [Wed, 22 Jul 2015 10:03:10 +0000 (11:03 +0100)]
tasks/cephfs: use Filesystem.rados instead of direct CLI

Because it's slicker and because I can wrap it for vstart.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: add Filesystem.exists
John Spray [Wed, 22 Jul 2015 09:08:55 +0000 (10:08 +0100)]
tasks/cephfs: add Filesystem.exists

Use this during test setup to check whether
a filesystem is configured at all, before
trying to tear it down.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: add Filesystem._prefix
John Spray [Tue, 21 Jul 2015 17:39:05 +0000 (18:39 +0100)]
tasks/cephfs: add Filesystem._prefix

So that my vstart subclass can put ./ before
all the commands.

One could set $PATH, but I like to unambiguously point
it at the local built binaries in case someone also
has some systemwide packages.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: use raw_cluster_cmd instead of manual "ceph"
John Spray [Tue, 21 Jul 2015 17:38:21 +0000 (18:38 +0100)]
tasks/cephfs: use raw_cluster_cmd instead of manual "ceph"

It's less repetitive, and I can override it for use with
vstart.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: add Filesystem.delete_all
John Spray [Tue, 21 Jul 2015 15:30:38 +0000 (16:30 +0100)]
tasks/cephfs: add Filesystem.delete_all

So that we can clear down filesysteems created by
someone other than ourselves (like vstart.sh)

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: make Filesystem rados command overridable
John Spray [Tue, 21 Jul 2015 15:29:51 +0000 (16:29 +0100)]
tasks/cephfs: make Filesystem rados command overridable

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotasks/cephfs: use raw_cluster_cmd in Filesystem
John Spray [Tue, 21 Jul 2015 07:29:25 +0000 (08:29 +0100)]
tasks/cephfs: use raw_cluster_cmd in Filesystem

...instead of manually invoking 'ceph' -- so that
it's easier to override this for vstart.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agoMerge pull request #595 from ceph/wip-quota
Loic Dachary [Fri, 2 Oct 2015 12:59:27 +0000 (14:59 +0200)]
Merge pull request #595 from ceph/wip-quota

log-whitelist 'reached quota' for librados test.sh

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agotasks/radosbench: wait just a bit longer
Sage Weil [Fri, 2 Oct 2015 12:44:01 +0000 (08:44 -0400)]
tasks/radosbench: wait just a bit longer

A run failed due to thrashing.. missed by about 30s (the osd
eventually sent the last reply but we'd already timed out).

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agolog-whitelist 'reached quota' for librados test.sh
Sage Weil [Fri, 2 Oct 2015 12:33:46 +0000 (08:33 -0400)]
log-whitelist 'reached quota' for librados test.sh

A new test verifies that we are stopped by the pool quota (and get
the right error messages or block).  See ceph.git
32962740ce9211626d310a002b23afeb0d05b500.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #461 from ceph/wip-client-oldest-tid
Gregory Farnum [Fri, 2 Oct 2015 05:37:15 +0000 (22:37 -0700)]
Merge pull request #461 from ceph/wip-client-oldest-tid

cephfs/test_client_limits.py: update test_client_oldest_tid

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agorados/singleton-nomsgr/all/full-tiering: time out rados -p
Sage Weil [Thu, 1 Oct 2015 19:37:22 +0000 (15:37 -0400)]
rados/singleton-nomsgr/all/full-tiering: time out rados -p

We will hit a quota and block (not error out).

See #13283
Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #592 from ceph/wip-13000-centos-activate
Loic Dachary [Thu, 1 Oct 2015 06:49:20 +0000 (08:49 +0200)]
Merge pull request #592 from ceph/wip-13000-centos-activate

ceph-deploy: always zap disk before creating an osd

9 years agoMerge pull request #580 from dachary/wip-13250-ceph-deploy-branch
Josh Durgin [Wed, 30 Sep 2015 23:45:30 +0000 (19:45 -0400)]
Merge pull request #580 from dachary/wip-13250-ceph-deploy-branch

ceph-deploy: fix ceph-deploy-branch config options

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agotasks/ceph_manager: %d -> %s
Sage Weil [Wed, 30 Sep 2015 18:58:32 +0000 (14:58 -0400)]
tasks/ceph_manager: %d -> %s

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoceph-deploy: always zap disk before creating an osd
Loic Dachary [Wed, 30 Sep 2015 13:37:37 +0000 (15:37 +0200)]
ceph-deploy: always zap disk before creating an osd

The existing logic is to ceph-deploy osd create --zap-disk which will
zap the data device before preparing it. However it will not zap the
journal device (see http://tracker.ceph.com/issues/13291).

If ceph-deploy osd create fails, a fall back will zap both the data
device and the journal and try prepare again. This could work if
the device preparation and activation was synchronous and catch all
errors that could be caused by an unclean journal device. However,
the activation is asynchronous and it is entirely possible for a device
to be prepared successfully and fail to activate in the background.

The data and journal device are always zapped before calling ceph-deploy
osd create. The logic is simpler and the overhead is low.

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

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agorados/singleton-nomsgr/all/11429: blackhole osd.0 to close race
Sage Weil [Wed, 30 Sep 2015 18:42:05 +0000 (14:42 -0400)]
rados/singleton-nomsgr/all/11429: blackhole osd.0 to close race

Blackhole filestore ops so that we ensure it doesn't complete
the pg deletions before the restart function does a clean shutdown
etc.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoupgrade/hammer-x/tiering: fix upgrade sequence
Sage Weil [Wed, 30 Sep 2015 13:34:26 +0000 (09:34 -0400)]
upgrade/hammer-x/tiering: fix upgrade sequence

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agotasks/ceph_manager: fix logging on failed pool property
Sage Weil [Wed, 30 Sep 2015 13:23:26 +0000 (09:23 -0400)]
tasks/ceph_manager: fix logging on failed pool property

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #591 from athanatos/wip-13234
Sage Weil [Wed, 30 Sep 2015 12:35:10 +0000 (08:35 -0400)]
Merge pull request #591 from athanatos/wip-13234

rados: add test for 13234.yaml

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agorados: add test for 13234.yaml
Samuel Just [Wed, 30 Sep 2015 00:23:31 +0000 (17:23 -0700)]
rados: add test for 13234.yaml

Signed-off-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #586 from ceph/wip-mdscap
John Spray [Tue, 29 Sep 2015 09:08:20 +0000 (10:08 +0100)]
Merge pull request #586 from ceph/wip-mdscap

tasks/cephfs: mds allow

Reviewed-by: John Spray <john.spray@redhat.com>
9 years agoMerge pull request #575 from ceph/wip-32bits-ceph-fuse
Gregory Farnum [Tue, 29 Sep 2015 05:19:28 +0000 (22:19 -0700)]
Merge pull request #575 from ceph/wip-32bits-ceph-fuse

suites/fs: test ceph-fuse with 32-bits ino_t

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agobuildpackages: implicit for OpenStack
Loic Dachary [Mon, 28 Sep 2015 20:46:10 +0000 (22:46 +0200)]
buildpackages: implicit for OpenStack

When using the teuthology-openstack command, buildpackages is implicit
and does not need to be included when running the test suite. Move the
stanza to the debug directory as a reminder when debuging.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agorados/singleton-nomsgr/all/11429: grep osd.0 only
Sage Weil [Mon, 28 Sep 2015 17:10:45 +0000 (13:10 -0400)]
rados/singleton-nomsgr/all/11429: grep osd.0 only

Restart can be slow enough that osd.1 and 2 finish deleting the
pgs.  Verifying one osd sees the instance is sufficient.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agotasks/cephfs: mds allow
Sage Weil [Mon, 28 Sep 2015 16:38:04 +0000 (12:38 -0400)]
tasks/cephfs: mds allow

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge remote-tracking branch 'gh/wip-infernalis'
Sage Weil [Mon, 28 Sep 2015 14:32:04 +0000 (10:32 -0400)]
Merge remote-tracking branch 'gh/wip-infernalis'

9 years agoMerge pull request #583 from dachary/wip-buildpackages-flock
Loic Dachary [Mon, 28 Sep 2015 00:03:54 +0000 (02:03 +0200)]
Merge pull request #583 from dachary/wip-buildpackages-flock

buildpackages: flock must --close

9 years agoMerge pull request #584 from dachary/wip-buildpackages-centos-6
Loic Dachary [Mon, 28 Sep 2015 00:01:30 +0000 (02:01 +0200)]
Merge pull request #584 from dachary/wip-buildpackages-centos-6

buildpackages: user-data must be per os-type/os-version

9 years agobuildpackages: user-data must be per os-type/os-version
Loic Dachary [Sun, 27 Sep 2015 11:22:42 +0000 (13:22 +0200)]
buildpackages: user-data must be per os-type/os-version

CentOS 6.5 needs to install a package and reboot to grow the root file
system. Instead of assuming a common user-data.txt file can fit all
Operating Systems, make one user data per os-type/os-version combination.

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoadd cache tiering test for hammer-x
Kefu Chai [Thu, 20 Aug 2015 14:49:44 +0000 (22:49 +0800)]
add cache tiering test for hammer-x

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
10 years agorados/singleton-nomsgr/all/11439: fix greps
Sage Weil [Sat, 26 Sep 2015 06:00:56 +0000 (02:00 -0400)]
rados/singleton-nomsgr/all/11439: fix greps

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agobuildpackages: flock must --close
Loic Dachary [Sat, 26 Sep 2015 13:20:19 +0000 (15:20 +0200)]
buildpackages: flock must --close

The process run by flock must not inherit the file descriptor because
this will cause the lock to be held forever should the command survive
the call to flock. This is for instance the case for the ssh-agent.

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoMerge pull request #581 from dachary/wip-11883-git-url
Loic Dachary [Sat, 26 Sep 2015 11:44:56 +0000 (13:44 +0200)]
Merge pull request #581 from dachary/wip-11883-git-url

buildpackages: get Ceph git url via get_ceph_git_url()

10 years agobuildpackages: get Ceph git url via get_ceph_git_url()
Loic Dachary [Fri, 25 Sep 2015 11:52:05 +0000 (13:52 +0200)]
buildpackages: get Ceph git url via get_ceph_git_url()

Instead of relying on git_base_url, use the get_ceph_git_url() to obtain
the URL of the Ceph repository to use with git clone. This allows the
user to override it via the git_ceph_url configuration option and the
--git-ceph-url command line option to teuthology-openstack.

http://tracker.ceph.com/issues/11883 Refs: #11883

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoceph-deploy: fix ceph-deploy-branch config options
Loic Dachary [Fri, 25 Sep 2015 13:08:18 +0000 (15:08 +0200)]
ceph-deploy: fix ceph-deploy-branch config options

The config paramter of download_ceph_deploy does not have a ceph-deploy
item, therefore the ceph-deploy-branch parameter is always assumed to be
master.

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoupgrade/hammer-x/parallel: set infernalis settings after upgrade
Sage Weil [Thu, 24 Sep 2015 23:15:01 +0000 (19:15 -0400)]
upgrade/hammer-x/parallel: set infernalis settings after upgrade

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoreleases/infernalis.yaml: final steps after infernalis upgrade
Sage Weil [Thu, 24 Sep 2015 23:14:14 +0000 (19:14 -0400)]
releases/infernalis.yaml: final steps after infernalis upgrade

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agotasks/divergent_priors2: wait for osd to start before tell
Sage Weil [Fri, 25 Sep 2015 03:34:17 +0000 (23:34 -0400)]
tasks/divergent_priors2: wait for osd to start before tell

Otherwise we can get

2015-09-24T19:22:15.191 INFO:teuthology.orchestra.run.mira080.stderr:Error ENXIO: problem getting command descriptions from osd.1

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agorados/singleton-nomsgr/all/11429: more reliably create orphan pgs
Sage Weil [Fri, 25 Sep 2015 03:11:16 +0000 (23:11 -0400)]
rados/singleton-nomsgr/all/11429: more reliably create orphan pgs

Make sure osds have the latest map with a pg ls

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #574 from ceph/wip-13098
Sage Weil [Fri, 25 Sep 2015 02:56:53 +0000 (22:56 -0400)]
Merge pull request #574 from ceph/wip-13098

rados/singleton-nomsgr/all/full-tiering: test full cache tier

10 years agorados/singleton-nomsgr/all/full-tiering: test full cache tier
Sage Weil [Fri, 25 Sep 2015 02:55:56 +0000 (22:55 -0400)]
rados/singleton-nomsgr/all/full-tiering: test full cache tier

Verify fix for #13098

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #577 from ceph/wip-get-prop
Zack Cerza [Thu, 24 Sep 2015 16:20:44 +0000 (10:20 -0600)]
Merge pull request #577 from ceph/wip-get-prop

tolerate pg_num get failure

10 years agotasks/ceph_manager: ignore failure getting pg_num
Sage Weil [Thu, 24 Sep 2015 16:19:07 +0000 (12:19 -0400)]
tasks/ceph_manager: ignore failure getting pg_num

Otherwise, we may fail while racing with a workload that deletes a pool:

2015-09-23T15:01:52.855 INFO:tasks.workunit.client.1.vpm128.stdout:[ RUN      ] LibRadosTwoPoolsPP.PromoteSnapTrimRace
2015-09-23T15:01:53.892 INFO:teuthology.orchestra.run.vpm176:Running: 'sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage ceph osd pool get .rgw pg_num'
2015-09-23T15:01:54.206 INFO:teuthology.orchestra.run.vpm176:Running: 'sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage ceph osd pool get .rgw.gc pg_num'
2015-09-23T15:01:54.462 INFO:teuthology.orchestra.run.vpm176:Running: 'sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage ceph osd pool get .users.uid pg_num'
2015-09-23T15:01:54.696 INFO:teuthology.orchestra.run.vpm176:Running: 'sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage ceph osd pool get .users.email pg_num'
2015-09-23T15:01:55.006 INFO:teuthology.orchestra.run.vpm176:Running: 'sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage ceph osd pool get .users pg_num'
2015-09-23T15:01:55.296 INFO:teuthology.orchestra.run.vpm176:Running: 'sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage ceph osd pool get .rgw.buckets.index pg_num'
2015-09-23T15:01:55.523 INFO:teuthology.orchestra.run.vpm176:Running: 'sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage ceph osd pool get .log pg_num'
2015-09-23T15:01:55.752 INFO:teuthology.orchestra.run.vpm176:Running: 'sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage ceph osd pool get .usage pg_num'
2015-09-23T15:01:56.188 INFO:teuthology.orchestra.run.vpm176:Running: 'sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage ceph osd pool get .rgw.buckets.extra pg_num'
2015-09-23T15:01:56.625 INFO:teuthology.orchestra.run.vpm176:Running: 'sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage ceph osd pool get test-rados-api-vpm128-17360-6 pg_num'
2015-09-23T15:01:56.928 INFO:teuthology.orchestra.run.vpm176:Running: 'sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage ceph osd pool get test-rados-api-vpm128-17360-13 pg_num'
2015-09-23T15:01:57.193 INFO:teuthology.orchestra.run.vpm176.stderr:Error ENOENT: unrecognized pool 'test-rados-api-vpm128-17360-13'
2015-09-23T15:01:57.206 ERROR:teuthology.parallel:Exception in parallel execution
Traceback (most recent call last):
...

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #576 from ceph/wip-13031-packages
Loic Dachary [Wed, 23 Sep 2015 19:37:25 +0000 (21:37 +0200)]
Merge pull request #576 from ceph/wip-13031-packages

buildpackages: make rpm packages

Reviewed-by: Joe Julian <jjulian@io.com>
10 years agobuildpackages: make rpm packages
Loic Dachary [Wed, 16 Sep 2015 21:45:38 +0000 (23:45 +0200)]
buildpackages: make rpm packages

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoMerge pull request #573 from ceph/wip-hammer-x
Sage Weil [Wed, 23 Sep 2015 19:06:55 +0000 (15:06 -0400)]
Merge pull request #573 from ceph/wip-hammer-x

hammer-x fixes

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoupgrade/hammer-x/stress-split-erasure-code-x86_64: specify arch
Sage Weil [Wed, 23 Sep 2015 19:05:51 +0000 (15:05 -0400)]
upgrade/hammer-x/stress-split-erasure-code-x86_64: specify arch

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agosuites/fs: test ceph-fuse with 32-bits ino_t
Yan, Zheng [Wed, 23 Sep 2015 08:00:06 +0000 (16:00 +0800)]
suites/fs: test ceph-fuse with 32-bits ino_t

Signed-off-by: Yan, Zheng <zyan@redhat.com>
10 years agoMerge pull request #571 from dachary/wip-isa-arch
Sage Weil [Tue, 22 Sep 2015 17:40:50 +0000 (13:40 -0400)]
Merge pull request #571 from dachary/wip-isa-arch

erasure-code: isolate isa plugin arch constraint

10 years agoupgrade/hammer-x: use supported distros, not hard-coded rhel7+trusty
Sage Weil [Tue, 22 Sep 2015 17:24:34 +0000 (13:24 -0400)]
upgrade/hammer-x: use supported distros, not hard-coded rhel7+trusty

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoupgrade/hammer-x: use rgw civetweb
Sage Weil [Tue, 22 Sep 2015 02:13:35 +0000 (22:13 -0400)]
upgrade/hammer-x: use rgw civetweb

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoupgrade/hammer-x/parallel: clients are hammer to for final workload
Sage Weil [Tue, 22 Sep 2015 02:12:38 +0000 (22:12 -0400)]
upgrade/hammer-x/parallel: clients are hammer to for final workload

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoupgrade/hammer-x/point-to-point: fix x client
Sage Weil [Mon, 21 Sep 2015 16:30:39 +0000 (12:30 -0400)]
upgrade/hammer-x/point-to-point: fix x client

- install hammer for hammer->x upgrade
- use hammer branch for workunit

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #453 from ceph/wip-11835
Gregory Farnum [Mon, 21 Sep 2015 23:09:48 +0000 (16:09 -0700)]
Merge pull request #453 from ceph/wip-11835

tasks/cephfs: time out on ceph-fuses that don't die

Reviewed-by: Greg Farnum <gfarnum@redhat.com>