Commit Graph

244 Commits

Author SHA1 Message Date
John Spray
35cb248ce5 Merge pull request #959 from xiaoxichen/add_ns_check
tasks/cephfs: check data written to NS.

Reviewed-by: John Spray <john.spray@redhat.com>
2016-04-26 12:22:48 -05:00
Xiaoxi Chen
226a5068ed tasks/cephfs: check data written to NS.
NS is always used for security isolation.

Signed-off-by: Xiaoxi Chen <xiaoxchen@ebay.com>
2016-04-17 17:27:57 +08:00
Gregory Farnum
827bf93d80 Merge pull request #936 from ceph/wip-layout-snafu-followup
tasks/cephfs: test health messages from readonly stat
2016-04-12 07:50:02 -07:00
Gregory Farnum
7cd48dbe82 Merge pull request #933 from ceph/wip-fs-lockouts
cephfs: update tests to enable multimds when needed
2016-04-12 07:49:51 -07:00
Gregory Farnum
89b15788f9 Reproducer for 15303
Reproducer for http://tracker.ceph.com/issues/15303
2016-04-12 07:47:07 -07:00
Greg Farnum
a739533cd1 FIXUP 'cephfs: update tests to enable multimds when needed' 2016-04-11 21:46:12 -07:00
Greg Farnum
1c4e019ad4 cephfs: enable dirfrags in test_data_scan fragmentation test
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2016-04-11 14:16:30 -07:00
Greg Farnum
5e7e017d7d cephfs: update tests to enable multimds when needed
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2016-04-06 16:32:44 -07:00
John Spray
ac383735ae tasks/cephfs: test health messages from readonly stat
Signed-off-by: John Spray <john.spray@redhat.com>
2016-04-06 17:17:32 +01:00
John Spray
9263bef283 tasks/cephfs: update vstart_runner for cmake build changes
All binaries now go into bin/

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-29 12:13:37 +01:00
John Spray
240c0dd2f0 tasks/cephfs: reproducer for #15303 client bug
Run through two-client scenario where the first client
thinks a dir is empty even though the second client
has written some files to it.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-29 12:13:15 +01:00
John Spray
4f33f263eb tasks/cephfs: tidy Mount.ls to return [] on empty dir
Previously returned ['']

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-29 12:13:15 +01:00
Sage Weil
826aaad0bd Merge remote-tracking branch 'gh/jewel' 2016-03-28 12:39:11 -04:00
Gregory Farnum
11963dcd3e Merge pull request #905 from ceph/wip-15065
tasks/cephfs: extend TestMultiFilesystems
2016-03-24 18:01:41 -07:00
Yan, Zheng
b977e86f5d tasks/cephfs: test for request caps during lookup/open
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-03-24 17:47:53 -07:00
Gregory Farnum
f5a1cab663 Merge pull request #874 from ceph/jewel-15008
Jewel 15008

Reviewed-by: John Spray <john.spray@redhat.com>
2016-03-23 17:09:02 -07:00
John Spray
41b27979f1 tasks/cephfs: extend TestMultiFilesystems
...with cases for standby_for_rank and standby_for_fscid.

Fixes: #15065
Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-22 12:03:13 +00:00
Sage Weil
7567c80885 Merge remote-tracking branch 'gh/jewel' 2016-03-17 09:27:07 -04:00
Gregory Farnum
7413c38bdf Merge pull request #875 from ceph/wip-15124
tasks/cephfs: support old mdsmap command during setup
2016-03-15 22:33:29 -07:00
Gregory Farnum
6254215399 Merge pull request #861 from ceph/wip-vstart-fixes
tasks/cephfs: vstart & fuse improvements
2016-03-15 12:41:07 -07:00
Gregory Farnum
5116fb07f0 Merge pull request #867 from ceph/jewel-15050
tasks/cephfs: cover fancy layout in test_strays
2016-03-15 12:27:47 -07:00
John Spray
9e202b44c8 tasks/cephfs: support old mdsmap command during setup
While Filesystem at large requires the new commands, for
use from the `ceph` task we must support old style commands,
as the ceph task is used to instantiate old clusters during
upgrade testing.

Fixes: #15124, #15049, #15106

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-15 16:52:49 +00:00
Yan, Zheng
4a65da5962 cephfs/test_client_limits.py: trim cache when mounting into subdir
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-03-15 19:48:01 +08:00
Yan, Zheng
a54bf91de6 tasks/cephfs: cover fancy layout in test_strays
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-03-11 20:15:56 +08:00
John Spray
9915752acd tasks/cephfs: enable multi fs flag
Cluster won't let you create more than without
setting this flag explicitly.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-11 10:40:12 +00:00
John Spray
e1634ed2ed tasks/cephfs: debug in wait_for_daemons
Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-11 10:40:11 +00:00
John Spray
e666fddf51 tasks/cephfs: switch off extra daemons in TestStrays
Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-11 10:39:37 +00:00
John Spray
53f4430d03 tasks/cephfs: further thrasher fixes
Move the thrasher-specific methods out of CephManager
into MDSThrasher and plumb them into MDSCluster.

Signed-off-by: John Spray <john.spray@redhat.com
2016-03-11 10:39:37 +00:00
John Spray
9ca3721d72 tasks/cephfs: simplify recreate()
Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-11 10:39:36 +00:00
John Spray
09f239f262 tasks/cephfs: update test_journal_repair for multi fs
Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-11 10:36:43 +00:00
John Spray
c94d50258d tasks/cephfs: add TestStandbyReplay
In addition to the multi-fs tests, more localised
standby-replay cases.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-11 10:36:43 +00:00
John Spray
212a507e04 tasks/cephfs: fix datascan for multiple filesystems
Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-11 10:36:43 +00:00
John Spray
e2176667a0 tasks/cephfs: move the journaltool smoke test into python land
This is one of those things that had a convoluted .yaml file
because it predated the ability to write explicit procedural
python tests.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-11 10:36:43 +00:00
John Spray
951102df37 tasks/cephfs: rename Filesystem.reset to recreate
Name was ambiguous wrt "fs reset"

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-11 10:36:43 +00:00
John Spray
b02afb2a2a tasks: fix mds_thrash for multi filesystems
Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-11 10:36:43 +00:00
John Spray
22b350de86 tasks: generalise cephfs classes for multi-fs
Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-11 10:36:43 +00:00
John Spray
8528cccf63 tasks: add cephfs TestMultiFilesystems
Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-11 10:36:42 +00:00
John Spray
a693be2792 tasks/cephfs: vstart & fuse improvements
A couple of corner cases that would get tripped up sometimes
in a vstart_runner.py environment.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-10 12:27:44 +00:00
John Spray
ec0db68b95 tasks: add TestDamage.test_damaged_dentry
A more detailed test for the case of damaged dentries,
because the handling involves the system passing through
a state where the containing dir has invalid stats,
and has the complete flag set even though the
dentry in question is missing.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-03 21:56:47 +00:00
John Spray
356579be97 tasks/cephfs: update TestDamage
...to account for the behavioural changes with
the addition of DamageTable.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-03 21:56:47 +00:00
John Spray
aa193b31be tasks: move wait_for_health up into CephFSTestCase
...so that TestDamage can use it too.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-03 21:56:47 +00:00
John Spray
67b711dee5 tasks/cephfs: optionally stat() in background
Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-03 21:56:47 +00:00
John Spray
7a97fcbe42 tasks/cephfs: avoid sleep in test_client_cache_size
Instead of waiting 30s and then checking, use
wait_until_true to complete as soon as the
condition is met.  Test runs faster this way.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-03 21:56:47 +00:00
John Spray
41747d6f3f tasks/cephfs: remove extraneous ;s in test_client_limits
These are harmless but they stand out in some editors.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-03 21:56:47 +00:00
Yan, Zheng
21348aba27 tasks/cephfs: add test case for scrub repair
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-03-03 21:56:47 +00:00
Sage Weil
bb2f575598 tasks/cephfs/filesystem: ceph_file_layout -> file_layout_t
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 09:27:59 -05:00
Gregory Farnum
73e02e8e87 Merge pull request #776 from ceph/wip-sharded-scan
tasks/cephfs: test sharded cephfs-data-scan
2016-02-18 06:46:13 -08:00
Gregory Farnum
64c469abf4 Merge pull request #789 from ceph/wip-14146
tasks/cephfs: check status asok output while in reconnect
2016-02-17 22:38:19 -08:00
Gregory Farnum
88eb2e73a8 Merge pull request #787 from ceph/wip-13903
Wip 13903 tests
2016-02-17 22:37:53 -08:00
Greg Farnum
3c76c57065 cephfs/test_full: add some gratuitous debugging
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2016-02-15 10:52:52 -08:00