Currently it unnecessarily floods the log of the OSD which hosts
rbd_mirroring object with "No such file or directory" errors. Just
drop it as read_key() already logs all errors except ENOENT.
Credit to N Balachandran <nibalach@redhat.com> for spotting this.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
std::string mirror_ns_decode;
int r = read_key(hctx, mirror::REMOTE_NAMESPACE, &mirror_ns_decode);
if (r < 0) {
- CLS_ERR("error getting mirror remote namespace: %s",
- cpp_strerror(r).c_str());
return r;
}