Join GitHub today
rgw: clarify the error message when trying to create an existed user #5938
when creating a user with existing email or key,the error message is "user:xxx exists"
eg.execute " radosgw-admin user create --uid=tid --display-name=tname --email=temail", user tid is successfully created.
We cannot tell which actually causes the conflict (uid, email or key), so I believe it is necessary to print more detailed error messages.
@yehudasa，thx，and I have another question to ask you.