]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart_runner: set mounted to True at the end of mount() 35267/head
authorRishabh Dave <ridave@redhat.com>
Wed, 27 May 2020 09:15:59 +0000 (14:45 +0530)
committerRishabh Dave <ridave@redhat.com>
Wed, 27 May 2020 09:15:59 +0000 (14:45 +0530)
Not doing so prevents cleanup methods from running.

Fixes: https://tracker.ceph.com/issues/45723
Signed-off-by: Rishabh Dave <ridave@redhat.com>
qa/tasks/vstart_runner.py

index 9f9f60657b22a50aa6022da7a85842702647edf6..d957ef0862b4d038478ec93eca9a7917b3eaaf39 100644 (file)
@@ -779,6 +779,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