Commit Graph

5798 Commits

Author SHA1 Message Date
Patrick Donnelly
69fe46c1bc
Merge remote-tracking branch 'origin/pull/1/head' into multimds-thrash
* origin/pull/1/head:
  tasks/vstart_runner: fix default run-all
  tasks/vstart_runner: update for Filesystem changes
2016-11-08 10:54:55 -05:00
Sage Weil
dad47ee5fe rados/upgrade: skip libcephfs2
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-08 10:47:04 -05:00
John Spray
530d03d3f8 tasks/vstart_runner: fix default run-all
This broke when path changed.  It's a bit
weird to run the cephfs tests by default
now that vstart_runner is not cephfs-specific,
but for the moment just restore the old
behaviour.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-11-08 12:15:19 +00:00
John Spray
f748226843 tasks/vstart_runner: update for Filesystem changes
Signed-off-by: John Spray <john.spray@redhat.com>
2016-11-08 12:15:19 +00:00
Patrick Donnelly
9832beac85
tasks/mds_thrash: support multimds
This commit amends the MDS thrasher task to also work on multimds
clusters. Main changes:

o New FSStatus class in tasks/cephfs/filesystem.py which gets a snapshot
  of the fsmap (`ceph fs dump`). This allows consecutive operations on
  the same fsmap without repeated fs dumps.

o Only one MDSThrasher is started for each file system.

o The MDSThrasher operates on ranks instead of names (and groups of
  standbys following the initial active).

o The MDSThrasher also will change the max_mds for the cluster to a new
  value [1, current) or (current, starting max_mds]. When reduced,
  randomly selected MDSs other than rank 0 will be deactivated to reach
  the new max_mds. The likelihood of changing max_mds in a given cycle of
  the MDSThrasher is set by the "thrash_max_mds" config.

o The MDSThrasher prints out stats on completion, e.g. number of
  mds deactivated or mds_max changed.

Pre-requisite for: http://tracker.ceph.com/issues/10792
Partially fixes: http://tracker.ceph.com/issues/15134

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2016-11-07 21:24:09 -05:00
Sage Weil
49ca81242d Merge pull request #1223 from ceph/wip-jlayton-libcephfs2
libcephfs1 -> libcephfs2 rename
2016-11-07 18:41:42 -06:00
Zack Cerza
f047522cf5 Merge pull request #1236 from ceph/wip-upgrade-mgr
rados/upgrade: skip ceph-mgr on jewel install
2016-11-07 10:30:19 -07:00
Sage Weil
ae80d85515 rados/upgrade: skip ceph-mgr on jewel install
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-07 12:21:18 -05:00
Gregory Farnum
1df9e7d10c Merge pull request #1234 from jcsp/wip-fixup-cephfs
Fix running cephfs python tests without mgr daemon

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-11-06 16:04:14 -05:00
John Spray
fa3098e0b7 tasks/ceph_test_case: only construct needed parts
Don't construct Filesystem and MDSCluster if there
are no MDSs in the system, don't construct MgrCluster
if there are no mgrs in the system.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-11-06 14:20:19 +00:00
John Spray
42a59fc1b6 tasks/vstart_runner: fix paths in docstring
Should have been updated when this file moved.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-11-06 14:20:19 +00:00
John Spray
9583ab6545 tasks/mgr: remove duplicated method definition
This was already defined in parent CephCluster class.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-11-06 10:58:33 +00:00
Sage Weil
c4166e3392 Merge pull request #1229 from ceph/wip-jewel-upgrades
fix ceph-mgr install for upgrade tests
2016-11-04 17:20:07 -05:00
Sage Weil
c2faef4e6b upgrade/jewel-x/point-to-point: fix upgrades
skip ceph-mgr

Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-04 17:58:20 -04:00
Samuel Just
abf7d094b6 Merge pull request #1233 from ceph/wip-17759
Added short pg log entries to rgw test

Reviewed-by: Samuel Just <sjust@redhat.com>
2016-11-04 12:53:17 -07:00
Tamil Muthamizhan
f1576c833c Added short pg log entries to rgw test
This change aims to test rgw with messenger failure injection
and very short logs.

Signed-off-by: Tamil Muthamizhan <tmuthami@redhat.com>
2016-11-04 12:37:28 -07:00
Sage Weil
eae9d285e2 objectstore/bluestore: disable bluefs env mirror
We can't atomically append to two env backends, which means
that we can see size mismatches when we inject failures.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-04 14:38:45 -04:00
Sage Weil
0683e74def Merge pull request #1232 from ceph/wip-blackhole
tasks: use new generic objectstore_blackhole option
2016-11-04 13:38:02 -05:00
Sage Weil
4ae6b36964 tasks: use new generic objectstore_blackhole option
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-04 11:30:40 -04:00
Sage Weil
81f99d1421 upgrade/client-upgrades: exclude ceph-mgr from old installs
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-03 12:07:05 -04:00
Sage Weil
dfa6ff06a8 upgrade/firefly-hammer-x: remove
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-03 12:06:19 -04:00
Sage Weil
ae61780b14 upgrade/hammer-x: remove
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-03 12:06:09 -04:00
Sage Weil
f2e07578a9 upgrade/infernalis*: remove
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-03 12:05:50 -04:00
Sage Weil
f724eba1a5 upgrade/jewel-x: skip ceph-mgr install
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-03 12:05:27 -04:00
Sage Weil
879a056e01 rados/objectstore/objectstore: suppress core dumps
Some of these tests to fork and assertion tests that leave
core behind, and that is normal.  Disable core dumps.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-02 13:46:45 -04:00
Kefu Chai
8f9fab9dfe Merge pull request #1086 from jcsp/wip-ceph-mgr
Create ceph-mgr tests

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-01 20:42:30 +08:00
John Spray
b1412ccbdb tasks: update cephfs_test_runner for mgr
Signed-off-by: John Spray <john.spray@redhat.com>
2016-11-01 12:21:51 +01:00
John Spray
f929c19e0c packages: install ceph-mgr
Signed-off-by: John Spray <john.spray@redhat.com>
2016-11-01 12:21:51 +01:00
John Spray
326a33b4fa tasks: update to run ceph-mgr daemons
Signed-off-by: John Spray <john.spray@redhat.com>
2016-11-01 12:21:51 +01:00
John Spray
7b3d152bc1 suites: create mgr yaml
Signed-off-by: John Spray <john.spray@redhat.com>
2016-11-01 12:21:51 +01:00
John Spray
38c23c1841 tasks: create ceph-mgr tests
Signed-off-by: John Spray <john.spray@redhat.com>
2016-11-01 12:21:51 +01:00
John Spray
a9df9e088d tasks/cephfs: refactor test case class
A more generic CephTestCase and CephCluster, for
writeing non-cephfs test cases.

This avoids overloading one class with the functionality
needed by lots of different subsystems.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-11-01 12:21:41 +01:00
John Spray
f3b5acd737 Merge pull request #1219 from ceph/wip-cephfs-scan-links
tasks/cephfs: add TestDataScan.test_scan_links

Reviewed-by: John Spray <john.spray@redhat.com>
2016-10-28 11:03:43 +01:00
John Spray
57226b979a tasks/cephfs: fixup test_backtrace_repair
The branches got mixed up and the merged one wasn't
the same one that was tested.  This is the one that
works!

Signed-off-by: John Spray <john.spray@redhat.com>
2016-10-28 10:33:17 +01:00
Zack Cerza
34fc504dd7 Merge pull request #1220 from ceph/wip-10235
Remove obsolete calamari code
2016-10-27 13:27:23 -06:00
John Spray
912429e12b suites/hadoop: run only on ubuntu
Workaround for http://tracker.ceph.com/issues/16640

Signed-off-by: John Spray <john.spray@redhat.com>
2016-10-27 17:51:54 +01:00
John Spray
b454cc9d32 Merge pull request #1145 from michaelsevilla/mantle
mds: add tests for mantle (programmable balancer)

Reviewed-by: John Spray <john.spray@redhat.com>
2016-10-26 20:31:44 +01:00
Dan Mick
e24d3e00e8 Remove obsolete calamari code
It's dead, Jim.

Fixes: http://tracker.ceph.com/issues/10235
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2016-10-25 21:23:09 -07:00
Yan, Zheng
cd9421f1c1 tasks/cephfs: add TestDataScan.test_scan_links
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-10-25 21:37:08 +08:00
John Spray
5fe0d6e241 Merge pull request #1218 from jcsp/wip-backtrace-repair
tasks/cephfs: add TestForwardScrub.test_backtrace_repair

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-10-25 11:55:33 +01:00
Jeff Layton
51a5e19359 libcephfs1 -> libcephfs2 rename
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2016-10-24 09:12:53 -04:00
John Spray
5f77f09b01 tasks/cephfs: add TestForwardScrub.test_backtrace_repair
Signed-off-by: John Spray <john.spray@redhat.com>
2016-10-24 11:37:47 +01:00
Gregory Farnum
9a30b55f46 Merge pull request #1216 from ceph/wip-pg-files
tasks/cephfs: add TestDataScan.test_pg_files

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-10-21 14:48:47 -07:00
Gregory Farnum
4afdb4301c Merge pull request #1217 from ceph/wip-17558
mon-seesaw: add mon-seesaw test and mon_seesaw task

Reviewed-by: Sam Just <sjust@redhat.com>
2016-10-21 14:40:58 -07:00
Kefu Chai
569bb035f5 mon-seesaw: add mon-seesaw test and mon_seesaw task
mon_seesaw task replaces a monitor with a newly reployed one, in a
single-mon test including this task OSDs will not be able to connect
to cluster if the tracker#17558 is not fixed on the monitor side.

http://tracker.ceph.com/issues/17558
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-10-20 10:47:49 +08:00
John Spray
b2588f7cf5 tasks/cephfs: add TestDataScan.test_pg_files
Fixes: http://tracker.ceph.com/issues/17249
Signed-off-by: John Spray <john.spray@redhat.com>
2016-10-19 23:19:21 +01:00
Zack Cerza
01dab7fc65 Merge pull request #1213 from jcsp/wip-generate-caps
tasks/ceph: move generate_caps from teuthology
2016-10-19 11:35:51 -06:00
John Spray
257827012f Merge pull request #1202 from ajarr/wip-check-volume-size
test_volume_client: check volume size

Reviewed-by: John Spray <john.spray@redhat.com>
2016-10-19 15:19:14 +02:00
John Spray
5f3435e17b Merge pull request #1166 from ajarr/wip-17216
tasks/cephfs : test recovery of partial auth update

Reviewed-by: John Spray <john.spray@redhat.com>
2016-10-19 15:18:52 +02:00
John Spray
298cc8f932 tasks/ceph: move generate_caps from teuthology
This was only used in this task, and it is much too
ceph-specific to belong in teuthology.

Fixes: http://tracker.ceph.com/issues/17614
Signed-off-by: John Spray <john.spray@redhat.com>
2016-10-19 13:05:36 +01:00