]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
use create-initial for deploying monitors 177/head
authorAlfredo Deza <alfredo.deza@inktank.com>
Thu, 23 Jan 2014 21:41:49 +0000 (16:41 -0500)
committerAlfredo Deza <alfredo.deza@inktank.com>
Thu, 23 Jan 2014 21:41:49 +0000 (16:41 -0500)
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
teuthology/task/ceph-deploy.py

index 8f37e4dac0d7e3fd7cffe0824f0a1b91f320063c..9364f7f7450caffc956497d666b7803b1015febb 100644 (file)
@@ -219,7 +219,7 @@ def build_ceph_cluster(ctx, config):
             if estatus_mon != 0:
                 raise RuntimeError("ceph-deploy: Failed to create monitor")
     else:
-        mon_create_nodes = './ceph-deploy mon create'+" "+mon_nodes
+        mon_create_nodes = './ceph-deploy mon create-initial'
         estatus_mon = execute_ceph_deploy(ctx, config, mon_create_nodes)
         if estatus_mon != 0:
             raise RuntimeError("ceph-deploy: Failed to create monitors")