<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>Hi Judd – I'm not sire I understand. Can you give me an example of two tenants, their usernames, and the endpoints you would like them to have in Keystone?</div>
<div><br>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Judd Maltin <<a href="mailto:judd@newgoliath.com">judd@newgoliath.com</a>><br>
<span style="font-weight:bold">Date: </span>Fri, 18 Nov 2011 15:22:09 -0500<br>
<span style="font-weight:bold">To: </span><<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>><br>
<span style="font-weight:bold">Subject: </span>[Openstack] Keystone & Swift: swiftauth tenant namespace collisions?<br>
</div>
<div><br>
</div>
In keystone auth for swift (swiftauth), is there a way to eliminate namespace conflicts across tenants?"
<br>
<br>
i.e. in tempauth we use account:username password<br>
<br>
curl -k  -v -H 'X-Auth-User: test:tester' -H 'X-Auth-Token: testing' <a href="http://127.0.0.1:8080/auth/v1.0">
http://127.0.0.1:8080/auth/v1.0</a><br>
<br>
in swiftauth we use username password:<br>
<pre>$ swift -A <a href="http://127.0.0.1:5000/v1.0">http://127.0.0.1:5000/v1.0</a> -U joeuser -K secrete stat -v
StorageURL: <a href="http://127.0.0.1:8888/v1/AUTH_1234">http://127.0.0.1:8888/v1/AUTH_1234</a>
Auth Token: 74ce1b05-e839-43b7-bd76-85ef178726c3
Account: AUTH_12</pre>
<br>
How can I indicate my tenant (aka account) in this scheme.  I already have lots of data.<br>
<br>
Further, should I create custom endpoint templates for each tenant to address "Account: AUTH_12" being unknown to my current swift account db?<br>
<br>
Thanks very much,<br>
-judd<br>
<br clear="all">
<br>
-- <br>
Judd Maltin<br>
T: 917-882-1270<br>
F: 501-694-7809<br>
A loving heart is never wrong.<br>
<br>
<br>
<br>
_______________________________________________ Mailing list: <a href="https://launchpad.net/~openstack">
https://launchpad.net/~openstack</a> Post to : <a href="mailto:openstack@lists.launchpad.net">
openstack@lists.launchpad.net</a> Unsubscribe : <a href="https://launchpad.net/~openstack">
https://launchpad.net/~openstack</a> More help : <a href="https://help.launchpad.net/ListHelp">
https://help.launchpad.net/ListHelp</a> </span>
</body>
</html>