]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks/cephfs/test_scrub.py: use umount_wait to avoid ceph-fuse stuck 35616/head
authorXiubo Li <xiubli@redhat.com>
Mon, 1 Jun 2020 01:57:24 +0000 (21:57 -0400)
committerVicente Cheng <freeze.bilsted@gmail.com>
Wed, 17 Jun 2020 09:05:36 +0000 (09:05 +0000)
commita31eec36ab27f7b490de38da483414d965557e47
treea7446b482f6e249f931a109e9fd6bf8e6cc4b6ea
parentec315386e94adb4f844f6f3b7ce519e8f7789213
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