]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart_runner: set mounted to True at the end of mount() 35396/head
authorRishabh Dave <ridave@redhat.com>
Wed, 27 May 2020 09:15:59 +0000 (14:45 +0530)
committerNathan Cutler <ncutler@suse.com>
Thu, 4 Jun 2020 13:38:10 +0000 (15:38 +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 27a2c33b12273b737e8f41d215f71bb51553582f..f1e7f4c2d5af10b7f0dc69b50e1105d64b1915e5 100644 (file)
@@ -559,6 +559,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