diff options
author | Yehuda Sadeh <yehuda@inktank.com> | 2013-08-26 11:16:08 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-10-01 09:22:00 -0700 |
commit | 055e31359ac977943f014270cc56a1b7786abee3 (patch) | |
tree | 8cf27d76ceebabe30e53d9b2d310ab7a97391af5 | |
parent | 409aba6ff5239f40f25863da0fb603a44c1da47c (diff) | |
download | ceph-055e31359ac977943f014270cc56a1b7786abee3.tar.gz |
rgw: quiet down warning message
Fixes: #6123
We don't want to know about failing to read region map info
if it's not found, only if failed on some other error. In
any case it's just a warning.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
-rw-r--r-- | src/rgw/rgw_rados.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rgw/rgw_rados.cc b/src/rgw/rgw_rados.cc index 1b97f28e2fa..556aa1abba5 100644 --- a/src/rgw/rgw_rados.cc +++ b/src/rgw/rgw_rados.cc @@ -897,7 +897,9 @@ int RGWRados::init_complete() ret = region_map.read(cct, this); if (ret < 0) { - ldout(cct, 0) << "WARNING: cannot read region map" << dendl; + if (ret != -ENOENT) { + ldout(cct, 0) << "WARNING: cannot read region map" << dendl; + } ret = region_map.update(region); if (ret < 0) { ldout(cct, 0) << "ERROR: failed to update regionmap with local region info" << dendl; |