From: Abhishek Lekshmanan Date: Tue, 3 May 2016 12:56:38 +0000 (+0200) Subject: rgw: remove -EEXIST error msg for ZoneCreate X-Git-Tag: v11.0.0~594^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2ace9d7f349ef09d3ed87fb216cda3e305ef706f;p=ceph.git rgw: remove -EEXIST error msg for ZoneCreate currently for any admin operations like user create etc. you would always see: `RGWZoneParams::create(): error creating default zone params: (17) File Exists` in stdout as the debug level is set to 0, which doesn't make much sense for an end user, so skip the error message, callers of the function handle the error message anyway, so we skip it here Fixes: http://tracker.ceph.com/issues/15720 Signed-off-by: Abhishek Lekshmanan --- diff --git a/src/rgw/rgw_rados.cc b/src/rgw/rgw_rados.cc index 6b4ece733c9a..c7757f720f07 100644 --- a/src/rgw/rgw_rados.cc +++ b/src/rgw/rgw_rados.cc @@ -1496,7 +1496,6 @@ int RGWZoneParams::create(bool exclusive) r = RGWSystemMetaObj::create(exclusive); if (r < 0) { - ldout(cct, 0) << "RGWZoneParams::create(): error creating default zone params: " << cpp_strerror(-r) << dendl; return r; }