]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: remove -EEXIST error msg for ZoneCreate 8909/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Tue, 3 May 2016 12:56:38 +0000 (14:56 +0200)
committerAbhishek Lekshmanan <abhishek@suse.com>
Tue, 3 May 2016 19:56:08 +0000 (21:56 +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>
src/rgw/rgw_rados.cc

index 6b4ece733c9ab5e1549682c598b259eaf1ccaeb9..c7757f720f0754eb91d8a7daeb1b9a1ae09a34f9 100644 (file)
@@ -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;
   }