]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
tasks/ceph: allow set allow_multiple to fail
authorSage Weil <sage@redhat.com>
Sat, 16 Apr 2016 13:10:51 +0000 (09:10 -0400)
committerSage Weil <sage@redhat.com>
Sat, 16 Apr 2016 13:10:51 +0000 (09:10 -0400)
This will fail on upgrade tests.

Signed-off-by: Sage Weil <sage@redhat.com>
tasks/ceph.py

index e41dfdbd82c39dbf78b21141b00eab9093e7f10f..2f260688b78802578c08ee38f3cd9abbffc77291 100644 (file)
@@ -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',