You have been subscribed to a public bug by Victor Tapia (vtapia):

[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 protected]
#[ success ]
radosgw-admin user create --uid=test --display-name="AN test" 
[email protected]
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).

** Affects: ceph
     Importance: Unknown
         Status: Unknown

** Affects: cloud-archive
     Importance: Low
         Status: New

** Affects: cloud-archive/queens
     Importance: Low
         Status: Won't Fix

** Affects: cloud-archive/rocky
     Importance: Low
         Status: Won't Fix

** Affects: cloud-archive/stein
     Importance: Low
         Status: Won't Fix

** Affects: cloud-archive/train
     Importance: Low
         Status: Won't Fix

** Affects: cloud-archive/ussuri
     Importance: Low
         Status: New

** Affects: cloud-archive/victoria
     Importance: Low
         Status: New

** Affects: ceph (Ubuntu)
     Importance: Low
         Status: New

** Affects: ceph (Ubuntu Bionic)
     Importance: Low
         Status: New

** Affects: ceph (Ubuntu Focal)
     Importance: Low
         Status: New

** Affects: ceph (Ubuntu Groovy)
     Importance: Low
         Status: New

** Affects: ceph (Ubuntu Hirsute)
     Importance: Low
         Status: New


** Tags: amd64 apport-bug bionic patch sts-sru-needed verification-failed 
verification-failed-focal verification-failed-groovy verification-ussuri-failed
-- 
[SRU] radosgw-admin user create error message confusing if user with email 
already exists
https://bugs.launchpad.net/bugs/1914584
You received this bug notification because you are a member of STS Sponsors, 
which is subscribed to the bug report.

-- 
Mailing list: https://launchpad.net/~sts-sponsors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sts-sponsors
More help   : https://help.launchpad.net/ListHelp

Reply via email to