]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: remove -EEXIST error msg for ZoneCreate 9268/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Tue, 3 May 2016 12:56:38 +0000 (14:56 +0200)
committerAbhishek Lekshmanan <abhishek@suse.com>
Mon, 23 May 2016 12:32:13 +0000 (14:32 +0200)
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 <abhishek@suse.com>
(cherry picked from commit 2ace9d7f349ef09d3ed87fb216cda3e305ef706f)

src/rgw/rgw_rados.cc

index 8a3420c05c0b876a1a251c5d42c5cca62428a08e..18778271ca3283023d48491ae1c6b4c1f84b909a 100644 (file)
@@ -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;
   }