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>
(cherry picked from commit
a92f8e78b890339b2e98981d2bc3f4cc706a9c38)
] + 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)