New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rgw: remove EEXIST error msg for ZoneCreate #8909
Conversation
I would prefer to just remove this error message. There are currently two callers of The other is |
@cbodley makes sense, I only kept it around for actual zone create, I'll update this |
d21d845
to
d33e8b3
Compare
@cbodley updated, also created http://tracker.ceph.com/issues/15720 in case we need a backport |
@theanalyst sorry, I meant remove the dout entirely, not just for the EEXIST case. do you buy that? |
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>
d33e8b3
to
2ace9d7
Compare
@cbodley oh I see, and the calls of |
👍 |
@cbodley ping? |
merging, but not sure if this qualifies for backport - @yehudasa ? |
@cbodley probably yes for backport, but let's wait with this one to 10.2.2 |
@yehudasa, doesn't look like it was backported 😕 |
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 increase the debug level when we see an EEXIST, for
other failures we print the error at debug level 0 itself
Signed-off-by: Abhishek Lekshmanan abhishek@suse.com