]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: accept operation on current fs status
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 11 Feb 2020 03:23:56 +0000 (19:23 -0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 13 Feb 2020 15:51:10 +0000 (07:51 -0800)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
qa/tasks/cephfs/filesystem.py

index 0fef19f3230c05d76ec104192967c2adc1e68bba..9c99785628901d3e6af10ce15ee4646cccdadaca 100644 (file)
@@ -818,14 +818,14 @@ class Filesystem(MDSCluster):
 
         return result
 
-    def get_active_names(self):
+    def get_active_names(self, status=None):
         """
         Return MDS daemon names of those daemons holding ranks
         in state up:active
 
         :return: list of strings like ['a', 'b'], sorted by rank
         """
-        return self.get_daemon_names("up:active")
+        return self.get_daemon_names("up:active", status=status)
 
     def get_all_mds_rank(self, status=None):
         mdsmap = self.get_mds_map(status)