Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions ceph_deploy/mon.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ def mon_add(args):
)

mon_section = 'mon.%s' % mon_host
(name, host) = next(mon_hosts(args.mon))
cfg_mon_addr = cfg.safe_get(mon_section, 'mon addr')

if args.address:
Expand Down Expand Up @@ -223,8 +224,8 @@ def mon_add(args):

# tell me the status of the deployed mon
time.sleep(2) # give some room to start
catch_mon_errors(distro.conn, rlogger, mon_host, cfg, args)
mon_status(distro.conn, rlogger, mon_host, args)
mon_status(distro.conn, rlogger, name, args)
catch_mon_errors(distro.conn, rlogger, name, cfg, args)
distro.conn.exit()

except RuntimeError as e:
Expand Down