mirror of
https://github.com/ceph/ceph
synced 2025-01-11 05:29:51 +00:00
ceph-mon: slightly more helpful output during mkfs
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
3b797011b9
commit
ae638bfd04
@ -413,6 +413,7 @@ int main(int argc, const char **argv)
|
||||
|
||||
entity_addr_t local;
|
||||
if (have_local_addr(g_ceph_context, ls, &local)) {
|
||||
dout(0) << " have local addr " << local << dendl;
|
||||
string name;
|
||||
local.set_type(entity_addr_t::TYPE_MSGR2);
|
||||
if (!monmap.get_addr_name(local, name)) {
|
||||
@ -432,6 +433,8 @@ int main(int argc, const char **argv)
|
||||
<< " is local, but not 'noname-' + something; "
|
||||
<< "not assuming it's me" << dendl;
|
||||
}
|
||||
} else {
|
||||
dout(0) << " no local addrs match monmap" << dendl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user