<HTML>
<HEAD>
<TITLE>Keystone client, user belongs to many tenants?</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>A question,<BR>
<BR>
I am using anvil to setup the keystone roles/users/tenants.<BR>
<BR>
It seems like the python keystone  client has the following command:<BR>
<BR>
client.users.create<BR>
<BR>
Which seems to take in the following:<BR>
<BR>
</SPAN></FONT><FONT COLOR="#323232"><FONT SIZE="1"><FONT FACE="Courier, Courier New"><SPAN STYLE='font-size:9pt'> </SPAN></FONT></FONT></FONT><FONT SIZE="1"><FONT FACE="Courier, Courier New"><SPAN STYLE='font-size:9pt'><FONT COLOR="#990606"><B>create</B></FONT><FONT COLOR="#323232">(</FONT><FONT COLOR="#999999">self</FONT><FONT COLOR="#323232">, name, password, email, tenant_id<B>=</B></FONT><FONT COLOR="#999999">None</FONT><FONT COLOR="#323232">, enabled<B>=</B></FONT><FONT COLOR="#999999">True</FONT><FONT COLOR="#323232">):<BR>
<BR>
</FONT></SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I would assume a user name can be used in multiple tenants but when I am trying to create a user that spans tenants and it seems like it borks.<BR>
<BR>
ClientException: Conflict occurred attempting to store user. (IntegrityError) (1062, "Duplicate entry 'admin' for key 'name'") 'INSERT INTO user (id, name, extra) VALUES (%s, %s, %s)' ('3e14a9c1fd404c7e81c0dba8bd640575', 'admin', '{"password": "$6$rounds=40000$yX5fL51OyGKjuPjr$8yv.S3GpqsKeaHv4GjNY4YW2vvykWzrEV7RX.qJpyy3CjmyXrZMRRJifEzfa7xv1l.NzoggQBXUAESn3Oqm0x/", "enabled": true, "email": "<a href="admin@example.com">admin@example.com</a>", "tenantId": "d1506184877a449a91fc6adcb553ad97"}') (HTTP 409)<BR>
<BR>
Is this supposed to happen? Is the client supposed to send back this much info also (hashed password??) :-P<BR>
<BR>
Any ideas?</SPAN></FONT>
</BODY>
</HTML>