From 52b13e82a6a0fcb554e79a933cff3350340fee5c Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sat, 16 Apr 2016 09:10:51 -0400 Subject: [PATCH] tasks/ceph: allow set allow_multiple to fail This will fail on upgrade tests. Signed-off-by: Sage Weil --- tasks/ceph.py | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/tasks/ceph.py b/tasks/ceph.py index e41dfdbd82c39..2f260688b7880 100644 --- a/tasks/ceph.py +++ b/tasks/ceph.py @@ -287,13 +287,16 @@ def cephfs_setup(ctx, config): is_active_mds = lambda role: role.startswith('mds.') and not role.endswith('-s') and role.find('-s-') == -1 all_roles = [item for remote_roles in mdss.remotes.values() for item in remote_roles] num_active = len([r for r in all_roles if is_active_mds(r)]) - mon_remote.run(args=[ - 'sudo', - 'adjust-ulimits', - 'ceph-coverage', - coverage_dir, - 'ceph', 'mds', 'set', 'allow_multimds', 'true', - '--yes-i-really-mean-it']) + mon_remote.run( + args=[ + 'sudo', + 'adjust-ulimits', + 'ceph-coverage', + coverage_dir, + 'ceph', 'mds', 'set', 'allow_multimds', 'true', + '--yes-i-really-mean-it'], + check_status=False, # probably old version, upgrade test + ) mon_remote.run(args=[ 'sudo', 'adjust-ulimits', -- 2.39.5