Hi,

radosgw-admin create user sometimes seem to misbehave when trying to
create similarly-named accounts with the same email address:

radosgw-admin -n client.rgw.sto-1-2 user create --uid=XXXDELETEME
--display-name=carthago --email=h...@sanger.ac.uk
{
    "user_id": "XXXDELETEME",
[...]

radosgw-admin -n client.rgw.sto-1-2 user create --uid=DELETEME
--display-name=carthago --email=h...@sanger.ac.uk
{
    "user_id": "XXXDELETEME",
[...]

This second command should surely say
"could not create user: unable to create user, email: h...@sanger.ac.uk
is the email address an existing user"

Rather than returning the credential of a different uid?

I tripped over this when doing some testing, and it confused my script
because it was expecting the 'create' to fail...

Regards,

Matthew


-- 
 The Wellcome Trust Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to