mirror of
https://github.com/ceph/ceph
synced 2024-12-29 15:03:33 +00:00
rgw: silence error message for nonexistent realm
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>
This commit is contained in:
parent
845d215057
commit
ca8997acaf
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user