It's an admin error; tell an admin.
Signed-off-by: Sage Weil <sage@redhat.com>
std::ostringstream errstr;
if (!s->auth_caps.parse(g_ceph_context, auth_cap_str, &errstr)) {
dout(1) << __func__ << ": auth cap parse error: " << errstr.str()
- << " parsing '" << auth_cap_str << "'" << dendl;
+ << " parsing '" << auth_cap_str << "'" << dendl;
+ clog->warn() << name << " mds cap '" << auth_cap_str
+ << "' does not parse: " << errstr.str() << "\n";
}
} catch (buffer::error& e) {
// Assume legacy auth, defaults to: