]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: leave one standby available to avoid warning 39292/head
authorPatrick Donnelly <pdonnell@redhat.com>
Mon, 2 Nov 2020 18:01:59 +0000 (10:01 -0800)
committerKotresh HR <khiremat@redhat.com>
Fri, 12 Feb 2021 09:55:12 +0000 (15:25 +0530)
Four file systems will use all MDS and generate this warning:

2020-11-02T03:48:33.407 INFO:teuthology.orchestra.run.smithi003.stdout:2020-11-02T03:24:21.817337+0000 mon.a (mon.0) 481 : cluster [WRN] Health check failed: insufficient standby MDS daemons available (MDS_INSUFFICIENT_STANDBY)

Fixes: https://tracker.ceph.com/issues/23718
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 59451923d31f5e4f707aa6d22ececc8edd395ca9)

qa/tasks/cephfs/test_volumes.py

index 9570c3ef5d1957ba6d08468eb412216b18dde341..7e1b3bc24822b5647f0836164df7b770a7e5e9a9 100644 (file)
@@ -432,7 +432,7 @@ class TestVolumes(CephFSTestCase):
         volumes = [volume['name'] for volume in vls]
 
         #create new volumes and add it to the existing list of volumes
-        volumenames = self._generate_random_volume_name(3)
+        volumenames = self._generate_random_volume_name(2)
         for volumename in volumenames:
             self._fs_cmd("volume", "create", volumename)
         volumes.extend(volumenames)