From 9cf73a4327fe60e8c0cb273e2f703dde1c8f9dff Mon Sep 17 00:00:00 2001 From: Travis Rhoden Date: Wed, 12 Aug 2015 10:33:29 -0700 Subject: [PATCH] [RM-12649] No need to call "ceph mon add" 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 (cherry picked from commit a92f8e78b890339b2e98981d2bc3f4cc706a9c38) --- ceph_deploy/hosts/common.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/ceph_deploy/hosts/common.py b/ceph_deploy/hosts/common.py index 4fce095..26cc186 100644 --- a/ceph_deploy/hosts/common.py +++ b/ceph_deploy/hosts/common.py @@ -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) -- 2.47.3