Commit Graph

4542 Commits

Author SHA1 Message Date
tmuthamizhan
e2c6341a00 Merge pull request #462 from ceph/wip-12023
Add point releases (tags) to hammer release  #12023
2015-06-16 15:11:51 -07:00
Yuri Weinstein
029fdfd741 Initial checking for #12023
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2015-06-16 13:56:58 -07:00
Josh Durgin
0ef0cfb9d1 Merge branch 'next' 2015-06-15 15:48:08 -07:00
Josh Durgin
c0e3f8f79c upgrade-x: use compatible rados api tests
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2015-06-15 15:47:48 -07:00
Travis Rhoden
1c6fed70a8 Merge pull request #454 from ceph/wip-cdtests
Single node ceph-deploy tests to exercise commonly used cli

Reviewed-by: Travis Rhoden <trhoden@redhat.com>
2015-06-15 14:02:10 -07:00
Greg Farnum
154f055f03 ceph: fix up log rotation stopper
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
(cherry picked from commit 451c5ca79d)
2015-06-15 06:51:47 -07:00
Vasu Kulkarni
b455e4a7c9 Single Node Ceph-deploy tests to exercise commonly used CLI and test init startup
- Add 1node tests to Smoke and include ceph-deploy test
   - Review Comments , add rgw cli test

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2015-06-12 15:07:52 -04:00
John Spray
3d935a363d Merge pull request #460 from ceph/wip-logrotate-fix
ceph: fix up log rotation stopper

Reviewed-by: John Spray <john.spray@redhat.com>
2015-06-12 19:20:17 +01:00
Greg Farnum
451c5ca79d ceph: fix up log rotation stopper
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-06-12 11:19:24 -07:00
Gregory Farnum
bf9a9a2d9f Merge pull request #457 from ceph/wip-11913
tasks/cephfs: fix race in test_full

Reviewed by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-06-11 22:39:46 -07:00
John Spray
63a563d0e7 tasks/cephfs: fix race in test_full
Sometimes mount A would get a cap revoke when mount
B did its last IO, resulting in mount A's OSD epoch
getting updated too.

Fix by making sure mount B is the last one to have
done IO before we do the barrier, so that when
it does IO again after the barrier, mount A can't
be holding any caps that B would need.

Fixes: #11913
Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-11 11:21:26 +01:00
Loic Dachary
82dc23a683 erasure-code: lrc plugin workload
Add a workload that uses the lrc erasure code plugin. Instead of adding
it to suites/rados/thrash-erasure-code/workloads, a new suite is created
at suites/rados/thrash-erasure-code-big because it needs more OSDs than
other erasure code plugins. The alternative would be to increase the
number of OSDs for all erasure code plugins, but that would needlessly
increase the resources requirements.

 * cluster/12-osds.yaml creates a 12 OSDs, 3 MONs cluster

 * thrash-erasure-code-big/thrashers/*.yaml are the same as
   thrash-erasure-code/thrashers/*.yaml except they require that at
   least 8 OSDs are in at all times (instead of 4) because lrc PGs with
   k=4, m=2, l=3 are undersized if they do not have 8 OSDs. It is
   possible that crush fails to map 8 OSDs when only 8 OSDs are
   available, but that must not disturb the workload because min_size is
   4.

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

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-06-11 10:48:45 +02:00
Sage Weil
dab2ae2e3d Merge remote-tracking branch 'gh/next' 2015-06-10 13:15:11 -04:00
Loic Dachary
14112110e2 Merge pull request #455 from ceph/wip-11937
thrasher: Can't test ceph-objectstore-tool if nodes turned off (power…

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-10 17:48:37 +02:00
John Spray
07eb03acee tasks/cephfs: time out on ceph-fuses that don't die
For cases where we have e.g. poked the fuse abort
file for a process, but it's still not dying.  Because
this is a special class of error (unlike e.g. when
we force umount something because the network is gone)
raise the error instead of trying again to kill
the client.

Fixes: #11835
Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-10 10:56:07 +01:00
John Spray
a1a8303793 Merge pull request #452 from ceph/wip-logrotate
Logrotate

Reviewed-by: John Spray <john.spray@redhat.com>
2015-06-10 10:53:43 +01:00
Greg Farnum
6573e92fb3 ceph: update log rotation for review comments
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-06-09 16:16:50 -07:00
David Zafman
b255db820f thrasher: Can't test ceph-objectstore-tool if nodes turned off (powercycle)
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-06-09 14:24:47 -07:00
John Spray
eabe37fbe1 Merge pull request #440 from ceph/wip-fs-clientnum
Reduce fs test node usage

Reviewed-by: John Spray <john.spray@redhat.com>
2015-06-09 21:31:43 +01:00
Greg Farnum
ba5b3bb9b8 add log-rotate configs to the userspace suite
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-06-08 17:37:42 -07:00
Greg Farnum
96f3eb9dbe ceph: support arbitrarily-named daemons in logrotate
And make it more configurable in terms of sizes.

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-06-08 17:36:49 -07:00
Greg Farnum
5935f86e49 ceph: enable mds log rotation
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-06-08 17:36:49 -07:00
Greg Farnum
281058cba4 suites/multimds: use 2-node clusters for pure userspace subsuites
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-06-08 17:29:51 -07:00
Greg Farnum
dd2fa897c6 suites/fs: use a two-node layout for most userspace tests
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-06-08 17:29:40 -07:00
Greg Farnum
01256c9b82 suites/fs: switch standby-replay tests to use a smaller cluster
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-06-08 17:20:15 -07:00
Gregory Farnum
7f8b8660d9 Merge pull request #449 from ceph/wip-fsync
tasks/cephfs: add TestClientRecovery.test_fsync

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-06-05 13:50:17 -07:00
Samuel Just
5cb2631e7c Merge pull request #451 from athanatos/wip-11677
Wip 11677

Reviewed-by: Sage Weil <sage@redhat.com>
2015-05-29 15:17:22 -07:00
Gregory Farnum
3f15458391 Merge pull request #450 from ceph/wip-fix-blacklist
tasks/cephfs: fix typo in blacklist clearing

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-05-29 11:23:04 -07:00
John Spray
6d3b5c6b5e tasks/cephfs: add TestClientRecovery.test_fsync
To test that metadata written recently is
preserved across a client+server crash when
barriered with a directory fsync.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-05-29 14:33:01 +01:00
John Spray
df91f98e5b tasks/cephfs: fix typo in blacklist clearing
Broken in aa0ffb3

Signed-off-by: John Spray <john.spray@redhat.com>
2015-05-29 13:46:01 +01:00
Samuel Just
3127cda33a rados: add write_excl and append_excl
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-05-28 15:36:41 -07:00
Samuel Just
91b300d12c rados/thrash: add test for radosgw with snaps
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-05-28 15:36:39 -07:00
Gregory Farnum
d9959b18ba Merge pull request #443 from ceph/wip-11301
tasks/cephfs: reset osd blacklist between tests

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-05-27 14:29:26 -07:00
Gregory Farnum
4a79c75daf Merge pull request #447 from ceph/wip-11779
tasks/cephfs: fix timing in test_full

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-05-27 14:17:27 -07:00
John Spray
90b22c877e Merge pull request #444 from ceph/wip-11756
tasks/cephfs: mount fusectl before listing fuse connections

Reviewed-by: John Spray <john.spray@redhat.com>
2015-05-27 15:29:26 +02:00
Ilya Dryomov
633ab410e3 ceph_deploy: no need to fetch overrides twice
Looks like Sandon's and Sage's changes raced and there are now two
sites where we fetch overrides.  One should be enough.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2015-05-27 15:41:38 +03:00
Ilya Dryomov
9c3040c0b2 krbd: add unmap subsuite
.. for testing various unmap scenarios, mostly unmap by spec, but also
unmap by device and device partition.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2015-05-27 15:41:38 +03:00
John Spray
5ff2743de4 tasks/cephfs: fix timing in test_full
The interval between writes was too short because
it was not taking account of the way OSDMap full
flags are set on tick rather than immediately.

Fixes: #11779

Signed-off-by: John Spray <john.spray@redhat.com>
2015-05-27 12:40:49 +01:00
Josh Durgin
eb6339116c Merge pull request #438 from ceph/wip-11405
client-upgrade: test librbd backwards compatibility

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-05-26 10:27:50 -07:00
Yan, Zheng
bd542353f5 tasks/cephfs: mount fusectl before listing fuse connections
Fixes: #11756
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-05-26 22:18:57 +08:00
John Spray
aa0ffb313c tasks/cephfs: reset osd blacklist between tests
...to avoid OSDMap modifications happening in the
background due to blacklist expiry.

Fixes: #11301

Signed-off-by: John Spray <john.spray@redhat.com>
2015-05-22 11:04:46 +01:00
Yuri Weinstein
23caf5261b Added script to schedule 1/14th part of rados
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
(cherry picked from commit a7064a7b3d)
2015-05-19 13:47:22 -07:00
Yuri Weinstein
a7064a7b3d Added script to schedule 1/14th part of rados
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2015-05-19 13:44:36 -07:00
Gregory Farnum
fed8837c98 Merge pull request #442 from ceph/wip-client-cache-size
cephfs/test_client_limits.py: invalidate kernel dcache according to client cache size

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-05-15 10:36:16 -07:00
Gregory Farnum
8eb3255a4c Merge pull request #425 from ceph/wip-flock-optional
cephfs/mount: check FUSE version before invoking flock

Reviewed-by: John Spray <john.spray@redhat.com>
2015-05-14 21:52:30 -07:00
Gregory Farnum
d9e4433630 Merge pull request #398 from ceph/wip-quota-full
Test for CephFS full handling with pool quotas (#11276)

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-05-14 16:38:05 -07:00
David Zafman
aaacfb8e4d Merge pull request #402 from ceph/wip-11343
Reviewed-by: Samuel Just <sjust@redhat.com>
2015-05-14 10:56:20 -07:00
Yan, Zheng
c7e8e544a8 cephfs/test_client_limits.py: invalidate kernel dcache according to client_cache_size
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-05-13 14:40:28 +08:00
Greg Farnum
f780f1894b cephfs/test_client_recovery: check FUSE version before invoking flock
flock only works properly on FUSE versions >=2.9, which is newer
than eg Ubuntu Precise. So check the version on our client mounts and
only test flock if it's at least that new.

Fixes: #9995

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-05-12 14:43:19 -07:00
John Spray
938db47dc0 suites: update log whitelist for TestQuotaFull
A quota ENOSPC looks different in the log than
as capacity ENOSPC

Signed-off-by: John Spray <john.spray@redhat.com>
2015-05-11 18:19:53 +01:00