Actions
Bug #49137
closedradosgw-admin user create error message is confusing if user with supplied email address already exists
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
Community (user)
Tags:
Backport:
pacific octopus nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
02/03/2021
Affected Versions:
Ceph - v12.2.13, Ceph - v12.2.14, Ceph - v12.2.2, Ceph - v12.2.3, Ceph - v12.2.4, Ceph - v12.2.5, Ceph - v12.2.6, Ceph - v12.2.7, Ceph - v12.2.8, Ceph - v12.2.9, Ceph - v13.0.0, Ceph - v13.2.0, Ceph - v13.2.1, Ceph - v13.2.10, Ceph - v13.2.11, Ceph - v13.2.2, Ceph - v13.2.3, Ceph - v13.2.4, Ceph - v13.2.5, Ceph - v13.2.6, Ceph - v13.2.7, Ceph - v13.2.8, Ceph - v13.2.9, Ceph - v14.0.0, Ceph - v14.2.0, Ceph - v14.2.1, Ceph - v14.2.10, Ceph - v14.2.11, Ceph - v14.2.12, Ceph - v14.2.13, Ceph - v14.2.14, Ceph - v14.2.15, Ceph - v14.2.16, Ceph - v14.2.17, Ceph - v14.2.2, Ceph - v14.2.3, Ceph - v14.2.4, Ceph - v14.2.5, Ceph - v14.2.6, Ceph - v14.2.7, Ceph - v14.2.8, Ceph - v14.2.9, Ceph - v15.0.0, Ceph - v15.2.1, Ceph - v15.2.2, Ceph - v15.2.3, Ceph - v15.2.4, Ceph - v15.2.5, Ceph - v15.2.6, Ceph - v15.2.7, Ceph - v15.2.8, Ceph - v15.2.9, Ceph - v16.0.0, Ceph - v16.0.1, Ceph - v16.1.0, Ceph - v16.1.1, Ceph - v17.0.0
ceph-qa-suite:
rgw
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Hi,
If you try and create an S3 user account with an email address that's already in use, you get a very confusing error message.
Suppose that bar@domain is already in use for an S3 account uid=baz
radosgw-admin user create --uid=foo --display-name=Foo --email=bar@domain
will return something like:
could not create user: unable to parse parameters, user id mismatch, operation id: baz does not match: foo
...which is pretty confusing.
I think I have a patch to make the error message more helpful, but thought I should put in a tracker issue in the mean time. I found this in Luminous, but it's still present in master.
Actions