There can be cases where overfull and underfull(see example in
https://tracker.ceph.com/issues/42756) will be empty, which is not
necessarily an error. These error messages can end up spamming
the ceph-mgr log.
Fixes: https://tracker.ceph.com/issues/42756
Signed-off-by: Neha Ojha <nojha@redhat.com>
<< dendl;
}
if (overfull.empty()) {
- lderr(cct) << __func__ << " failed to build overfull" << dendl;
+ ldout(cct, 20) << __func__ << " failed to build overfull" << dendl;
break;
}
<< dendl;
}
if (underfull.empty()) {
- lderr(cct) << __func__ << " failed to build underfull" << dendl;
+ ldout(cct, 20) << __func__ << " failed to build underfull" << dendl;
break;
}