Project

General

Profile

Actions

Bug #36235

open

unable to create users in different tenants with same e-mail address

Added by Nick Erdmann over 5 years ago. Updated almost 4 years ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I'm unable to create RGW users in different tenants with the same e-mail address. I think this should be possible.

Steps to reproduce:
$ radosgw-admin user create --uid=a\$user --email= --display-name=user
[...]
$ radosgw-admin user create --uid=b\$user --email= --display-name=user
could not create user: unable to parse parameters, user id mismatch, operation id: a$user does not match: b$user

This affects Luminous 12.2.8 and the master branch as of 27 Sep 2018.

Actions #1

Updated by Yehuda Sadeh over 5 years ago

This is the current expected behavior. The email index is cross tenant locator for all users.

Actions #2

Updated by Yehuda Sadeh over 5 years ago

  • Assignee set to Marcus Watts
Actions #3

Updated by Yehuda Sadeh over 5 years ago

@mwatts we need to understand whether the current behavior makes sense, or does it need to be changed.

Actions #4

Updated by Anton Oks almost 4 years ago

Hi all.

Ran into this also now.

We want to have multiple "RGW users", representing different things like projects, applications, fab equipment, IoT devices,... BUT we need to map the real owner/responsible also to that RGW account.
The real person will also have to review feedback once in a while if i.e. the RGW user(s), "his" buckets ... are still needed or not... and we would like to use the "responsible" email addresses for this review/feedback process.

All this means, we have to be able to have different RGW users with the same email address.

Any workaround, hints, ... how we could archive what we need?
Or any chance to even officially implement this into RGW (if not, what is/was the rational for NOT having it in now)?

Actions

Also available in: Atom PDF