[Bug 1914584] Re: [SRU] radosgw-admin user create error message confusing if user with email already exists
Timo Aaltonen
1914584 at bugs.launchpad.net
Mon Apr 26 13:46:45 UTC 2021
Hello Matthew, or anyone else affected,
Accepted ceph into groovy-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/ceph/15.2.11-0ubuntu0.20.10.1 in a
few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
groovy to verification-done-groovy. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-groovy. In either case, without details of your testing we will
not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
** Changed in: ceph (Ubuntu Groovy)
Status: Triaged => Fix Committed
** Tags added: verification-needed verification-needed-groovy
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1914584
Title:
[SRU] radosgw-admin user create error message confusing if user with
email already exists
Status in Ceph:
Unknown
Status in Ubuntu Cloud Archive:
Fix Released
Status in Ubuntu Cloud Archive queens series:
Triaged
Status in Ubuntu Cloud Archive rocky series:
Triaged
Status in Ubuntu Cloud Archive stein series:
Triaged
Status in Ubuntu Cloud Archive train series:
Triaged
Status in Ubuntu Cloud Archive ussuri series:
Triaged
Status in Ubuntu Cloud Archive victoria series:
Triaged
Status in ceph package in Ubuntu:
Fix Released
Status in ceph source package in Bionic:
Triaged
Status in ceph source package in Focal:
Triaged
Status in ceph source package in Groovy:
Fix Committed
Status in ceph source package in Hirsute:
Fix Released
Bug description:
[Impact]
When creating a new S3 user, the error message is confusing if the
email address used is already associated with another S3 account.
To reproduce:
radosgw-admin user create --uid=foo --display-name="Foo test" --email=bar at domain.invalid
#[ success ]
radosgw-admin user create --uid=test --display-name="AN test" --email=bar at domain.invalid
could not create user: unable to parse parameters, user id mismatch, operation id: foo does not match: test
As a result, it's completely unclear what went wrong with the user
creation.
[Test case]
Create an S3 account via radosgw-admin. Then create another user but use
the same email address - it should provide a clear description of what
the problem is.
[Where problems could occur]
The new message may yet be unclear or could complain that an email
exists even though it doesn't exist (false positive). It's an improved
diagnostic by checking if the email id exists. Perhaps, user creation
might become problematic if the fix doesn't work.
[Other Info]
- The patch was provided by Matthew Vernon (attached here)
- Upstream tracker: https://tracker.ceph.com/issues/49137
- Upstream PR: https://github.com/ceph/ceph/pull/39293
- Backported to Pacific, Octopus, and Nautilus upstream releases. Luminous is EOL'ed upstream, so we'd like to backport to Luminous (Bionic/queens).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ceph/+bug/1914584/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list