From: Abhishek Lekshmanan Date: Tue, 3 May 2016 12:56:38 +0000 (+0200) Subject: rgw: remove -EEXIST error msg for ZoneCreate X-Git-Tag: v10.2.3~117^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a40cfe4df81c03b197dc31888f5d77927eeae7c5;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 (cherry picked from commit 2ace9d7f349ef09d3ed87fb216cda3e305ef706f) --- diff --git a/src/rgw/rgw_rados.cc b/src/rgw/rgw_rados.cc index 8a3420c05c0b..18778271ca32 100644 --- a/src/rgw/rgw_rados.cc +++ b/src/rgw/rgw_rados.cc @@ -1507,7 +1507,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; }