Commit Graph

67 Commits

Author SHA1 Message Date
Rishabh Dave
48a95d00ba qa/cephfs: allow specifying mountpoints for FUSE mounts
Allow specifying the directory in CephFS that should be FUSE mounted at
the given path.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2019-11-06 11:36:10 +05:30
Jos Collin
319acf981e
qa/tasks: check if fs mounted in umount_wait
Fixes: https://tracker.ceph.com/issues/42020
Signed-off-by: Jos Collin <jcollin@redhat.com>
2019-11-02 05:02:48 +05:30
Kyr Shatskyy
7e87f80a87 tests: use python3 compatible print
Fixes: https://tracker.ceph.com/issues/42210
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
2019-10-11 19:02:04 +02:00
Rishabh Dave
54c3bb5531 qa/cephfs: memoize FUSE client pid
Save client PID so that we avoid calling get_client_pid() every now and
then. This, more importantly, allows sending SIGCONT to client which is
already stopped using SIGKILL.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2019-07-13 12:54:15 +05:30
Patrick Donnelly
c7ce967b77
mds: allow boot on read-only
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-01-02 14:17:14 -08:00
Patrick Donnelly
092801ae34
qa: add timeouts for remote ops for client mounts
Fixes: https://tracker.ceph.com/issues/36390

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-10-17 10:39:13 -07:00
Patrick Donnelly
8620c4caf5
vstart_runner: pass ctx to FuseMount and load mount info
Credit to Venky for finding the problem.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-18 06:42:16 -07:00
Patrick Donnelly
333444e8aa
Merge PR #21885 into master
* refs/pull/21885/head:
	qa: update cluster log health warning message
	qa: add tests for client features
	mds: evict clients that lack required features
	mds: cleanup MDSRank::evict_client
	mds: infer client version by client metadata and connection's features
	mds: introduce "ceph fs set <fs_name> min_compat_client <release_name>"
	mds: tell client why it's rejected
	mds: introduce cephfs' own feature bits
	mds: make Server::prepare_force_open_sessions() update client metadata

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-13 13:57:17 -07:00
Patrick Donnelly
441a2730e5
qa: add tests for client features
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-12 10:12:12 -07:00
Patrick Donnelly
4d3060b990
qa: use root to find client admin socket
Permissions on /var/run/ceph changed post-Mimic.

Fixes: http://tracker.ceph.com/issues/24872

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-11 11:28:20 -07:00
Yan, Zheng
5688476513 qa/tasks/cephfs: add test for renewing stale session
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-05-03 10:50:28 +08:00
Rishabh Dave
18a9d0c491 qa/tasks: allow custom timeout for umount_wait()
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2018-04-30 12:02:56 +00:00
Patrick Donnelly
575c3716e3
qa: fix log typo
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-12 11:02:19 -07:00
Patrick Donnelly
b4f962a486
qa: log ceph-fuse kill/cleanup
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-06 13:40:11 -07:00
Yan, Zheng
b49d6d8ead qa/cephfs: lsof if umount fails
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-07-19 15:32:37 +08:00
John Spray
6203f33df4 tasks/cephfs: tear down on mount() failure
There were some cases where we would leave a mountpoint
that would cause the teuthology teardown to get hung up
when it tried to look inside cephtest/

Signed-off-by: John Spray <john.spray@redhat.com>
2017-02-06 22:53:21 +00:00
Sage Weil
c01f2ee0e2 move ceph-qa-suite dirs into qa/ 2016-12-14 11:29:55 -06:00