]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks: force umount during kclient teardown
authorJohn Spray <john.spray@redhat.com>
Wed, 25 Jan 2017 12:23:37 +0000 (12:23 +0000)
committerJohn Spray <john.spray@redhat.com>
Wed, 1 Feb 2017 00:26:59 +0000 (00:26 +0000)
commit7f7f44ea5c0f6c6b9d0aaab61e046ff85ef407c8
tree9d0b9e13307c5491b25cb45d8b216781959f7ee5
parent6995d2c1422f6cbd57f7abc0b2a5178fa99d9b37
qa/tasks: force umount during kclient teardown

Previously we could readily end up hanging on teardown
when something had gone wrong with umount.  Forcing
is a big hammer (umount_wait will power cycle the node
if umount isn't working), so if we had to do that
then raise an exception to indicate that something
was wrong with the test.

Fixes: http://tracker.ceph.com/issues/18663
Signed-off-by: John Spray <john.spray@redhat.com>
qa/tasks/kclient.py