]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks/cephfs/test_scrub.py: use umount_wait to avoid ceph-fuse stuck 35403/head
authorXiubo Li <xiubli@redhat.com>
Mon, 1 Jun 2020 01:57:24 +0000 (21:57 -0400)
committerNathan Cutler <ncutler@suse.com>
Thu, 4 Jun 2020 14:36:44 +0000 (16:36 +0200)
commit3438db71ab292e5d361afd68d8049df4f563d855
tree7927a6ba760837cdabf6088bde5129b1ed4a6d7b
parent547e340e86bd5463af2d49a848cf5701e0f3f036
qa/tasks/cephfs/test_scrub.py: use umount_wait to avoid ceph-fuse stuck

If the ceph-fuse client need to flush the caps and does sync wait,
the umount() will just return successfully, then the netns container
will be destroyed and the network will not be reachable, but the
ceph-fuse daemon is still stucked and waiting for the flush caps ack.

This will cause the ceph-fuse daemon get stuck forever and if the
mds daemons get restarted, it will try to reconnect the clients,
but the stucked ceph-fuse daemnon won't reply to it, because it is
not reachable any more.

Fixes: https://tracker.ceph.com/issues/45665
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit a7423b2286154a4403e586b5148984649f988a03)
qa/tasks/cephfs/test_scrub.py