From 65c851e4e11f54ff4052c7fa0c18348d3f84a5e4 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Mon, 2 Nov 2020 10:01:59 -0800 Subject: [PATCH] qa: leave one standby available to avoid warning 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 (cherry picked from commit 59451923d31f5e4f707aa6d22ececc8edd395ca9) --- qa/tasks/cephfs/test_volumes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/tasks/cephfs/test_volumes.py b/qa/tasks/cephfs/test_volumes.py index cd9b35d3417cf..503d8c79f7a71 100644 --- a/qa/tasks/cephfs/test_volumes.py +++ b/qa/tasks/cephfs/test_volumes.py @@ -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) -- 2.39.5