]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart_runner: set mounted to True at the end of mount() 35447/head
authorRishabh Dave <ridave@redhat.com>
Wed, 27 May 2020 09:15:59 +0000 (14:45 +0530)
committerNathan Cutler <ncutler@suse.com>
Sat, 6 Jun 2020 08:39:30 +0000 (10:39 +0200)
Not doing so prevents cleanup methods from running.

Fixes: https://tracker.ceph.com/issues/45723
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 418dea32c22f878936b883a6b7c2900ba02e72a1)

qa/tasks/vstart_runner.py

index df7005e9911abcc23824800b0abb597162bbe12f..171189d71b3838ec02392ef6139a5c7ca224f636 100644 (file)
@@ -866,6 +866,8 @@ class LocalFuseMount(FuseMount):
 
         self.gather_mount_info()
 
+        self.mounted = True
+
     def _run_python(self, pyscript, py_version='python'):
         """
         Override this to remove the daemon-helper prefix that is used otherwise