Commit Graph

7 Commits

Author SHA1 Message Date
John Spray
a96a7b027c task/cephfs: generalise Filesystem for multi-MDS
This enables tasks like mds_journal_migration to be
run in an environment with standby-replay MDSs present.

Signed-off-by: John Spray <john.spray@redhat.com>
2014-07-25 13:33:31 +01:00
John Spray
72b3417890 task/mds_journal_migration: use existing clients
Since refactoring ceph_fuse and kclient tasks
to store Mount objects on ctx, the mds_journal_migration
task can use those instead of explicitly instantiating its own.

Signed-off-by: John Spray <john.spray@redhat.com>
2014-07-21 12:56:05 +01:00
John Spray
403ba2c892 task/cephfs: use dedent for embedded python
Signed-off-by: John Spray <john.spray@redhat.com>
2014-07-15 13:30:16 +01:00
John Spray
8bb77ed9e1 task: add mds_client_recovery
This task exercises the CephFS session recovery
behavior.

Signed-off-by: John Spray <john.spray@redhat.com>
2014-07-15 13:30:16 +01:00
John Spray
d91f028e26 task: refactor kclient into KernelMount
Additionally make both kclient and ceph_fuse
tasks yield a collection of CephFSMount
objects so that subsequent tasks can
retrieve them.

Signed-off-by: John Spray <john.spray@redhat.com>
2014-07-15 13:30:16 +01:00
John Spray
6cba4973c3 task: create FuseMount class from ceph_fuse
This is for use by other tasks that need filesystem
mounts under their own control.

Signed-off-by: John Spray <john.spray@redhat.com>
2014-07-15 13:30:11 +01:00
John Spray
6c05747da7 task: move Filesystem class to shared location
...in preparation for tests other than mds_journal_migration
to use it.

Signed-off-by: John Spray <john.spray@redhat.com>
2014-07-14 16:37:41 +01:00