If this is triggered it can be disruptive, since we're marking the
connection down. It points to a real bug, so better visibility is good
(e.g., failing the teuthology jobs).
Signed-off-by: Sage Weil <sage@redhat.com>
// Clients should not be sending us stats unless they are declaring
// themselves to be a daemon for some service.
dout(10) << "rejecting report from non-daemon client " << m->daemon_name
- << dendl;
+ << dendl;
+ clog->warn() << "rejecting report from non-daemon client " << m->daemon_name
+ << " at " << m->get_connection()->get_peer_addrs();
m->get_connection()->mark_down();
return true;
}