]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
use elif instead of else to handle cases for jewel install
authorVasu Kulkarni <vasu@redhat.com>
Thu, 27 Jul 2017 18:17:31 +0000 (11:17 -0700)
committerVasu Kulkarni <vasu@redhat.com>
Thu, 7 Sep 2017 19:22:56 +0000 (12:22 -0700)
jewel needs neither filestore or bluestore as an option, so provide none
when running with jewel branch.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
qa/tasks/ceph_deploy.py

index b8847b15453bdc1a99098a1a62ee4673df110f83..a06183df723f1bcd50850ae3951df67c41a177db 100644 (file)
@@ -342,7 +342,7 @@ def build_ceph_cluster(ctx, config):
             # first check for filestore, default is bluestore with ceph-deploy
             if config.get('filestore') is not None:
                 osd_create_cmd += '--filestore '
-            else:
+            elif config.get('bluestore') is not None:
                 osd_create_cmd += '--bluestore '
             if config.get('dmcrypt') is not None:
                 osd_create_cmd += '--dmcrypt '