]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw: silence log message
authorYehuda Sadeh <yehuda@redhat.com>
Fri, 28 Jun 2019 22:00:43 +0000 (15:00 -0700)
committerCasey Bodley <cbodley@redhat.com>
Mon, 29 Jul 2019 19:20:50 +0000 (15:20 -0400)
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/services/svc_bucket_sobj.cc

index 154b79d581eca07b92514911cd9a4f1497432790..6926ba30c380211860eaaf0f79e5ae622480b36a 100644 (file)
@@ -309,7 +309,11 @@ int RGWSI_Bucket_SObj::read_bucket_instance_info(RGWSI_Bucket_BI_Ctx& ctx,
   *info = e.info;
 
   if (ret < 0) {
-    lderr(cct) << "ERROR: do_read_bucket_instance_info failed: " << ret << dendl;
+    if (ret != -ENOENT) {
+      lderr(cct) << "ERROR: do_read_bucket_instance_info failed: " << ret << dendl;
+    } else {
+      ldout(cct, 20) << "do_read_bucket_instance_info, bucket instance not found (key=" << key << ")" << dendl;
+    }
     return ret;
   }