]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: leave one standby available to avoid warning 39390/head
authorPatrick Donnelly <pdonnell@redhat.com>
Mon, 2 Nov 2020 18:01:59 +0000 (10:01 -0800)
committerKotresh HR <khiremat@redhat.com>
Fri, 5 Mar 2021 06:50:32 +0000 (12:20 +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 cd9b35d3417cf2c760614b3c74686693f146780e..503d8c79f7a71b3dafed5d25d89e7aff56f531cf 100644 (file)
@@ -433,7 +433,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)