]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
[RM-12649] No need to call "ceph mon add" 341/head
authorTravis Rhoden <trhoden@redhat.com>
Wed, 12 Aug 2015 17:33:29 +0000 (10:33 -0700)
committerTravis Rhoden <trhoden@redhat.com>
Wed, 12 Aug 2015 17:33:29 +0000 (10:33 -0700)
ceph mon add is not needed - merely starting the ceph-mon
daemon will cause it to join the cluster when all the other
steps have been done properly.

Calling "ceph mon add" as we were doing leads to hangs when
moving from 1 to 2 monitors.

Fixes: #12649
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
ceph_deploy/hosts/common.py

index 4fce095a35017014c984e8f5124923dc0429e042..26cc1864e7a127408ded5a16af53df3fcacca772 100644 (file)
@@ -146,18 +146,6 @@ def mon_add(distro, args, monitor_keyring):
             ] + user_args
         )
 
-        # add it
-        remoto.process.run(
-            distro.conn,
-            [
-                'ceph',
-                'mon',
-                'add',
-                hostname,
-                args.address,
-            ],
-        )
-
         logger.info('unlinking keyring file %s' % keyring)
         distro.conn.remote_module.unlink(keyring)