]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: silence error message for nonexistent realm 43507/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 15 Oct 2021 15:57:13 +0000 (11:57 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 15 Oct 2021 15:57:15 +0000 (11:57 -0400)
in a normal vstart cluster without a realm or period, every command
prints this error message:

0 RGWPeriod::init failed to init realm  id  : (2) No such file or directory

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_zone.cc

index 9dd98d43f5dff998f38bff78b920902d3ed483f5..a9f6ecfd9c9cff5476857c81c4807f64d7a22a0d 100644 (file)
@@ -1009,7 +1009,7 @@ int RGWPeriod::init(const DoutPrefixProvider *dpp,
     RGWRealm realm(realm_id, realm_name);
     int ret = realm.init(dpp, cct, sysobj_svc, y);
     if (ret < 0) {
-      ldpp_dout(dpp, 0) << "RGWPeriod::init failed to init realm " << realm_name  << " id " << realm_id << " : " <<
+      ldpp_dout(dpp, 4) << "RGWPeriod::init failed to init realm " << realm_name << " id " << realm_id << " : " <<
        cpp_strerror(-ret) << dendl;
       return ret;
     }