]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
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)
commita40cfe4df81c03b197dc31888f5d77927eeae7c5
treefff4a0ded5589dc5663cbbef98bd00f9b10eb9fa
parentc11db6f103b2dd0049894a606916a84d66933833
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 <abhishek@suse.com>
(cherry picked from commit 2ace9d7f349ef09d3ed87fb216cda3e305ef706f)
src/rgw/rgw_rados.cc