Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RM-36583] align with create by using short hostname #478

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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