<div dir="ltr">I'm building environment with Swift + Keystone.<div style>I have set <tt class="" style="font-family:Consolas,'Deja Vu Sans Mono','Bitstream Vera Sans Mono',monospace;font-size:13.63636302947998px;background-color:rgb(242,242,242);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(221,221,221);color:rgb(51,51,51);line-height:20px"><span class="">admin_user</span></tt><span style="color:rgb(0,0,0);font-family:'Lucida Grande','Lucida Sans Unicode',Geneva,Verdana,sans-serif;font-size:13.63636302947998px;line-height:20px">, </span><tt class="" style="font-family:Consolas,'Deja Vu Sans Mono','Bitstream Vera Sans Mono',monospace;font-size:13.63636302947998px;background-color:rgb(242,242,242);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(221,221,221);color:rgb(51,51,51);line-height:20px"><span class="">admin_password</span></tt><span style="color:rgb(0,0,0);font-family:'Lucida Grande','Lucida Sans Unicode',Geneva,Verdana,sans-serif;font-size:13.63636302947998px;line-height:20px">, </span><tt class="" style="font-family:Consolas,'Deja Vu Sans Mono','Bitstream Vera Sans Mono',monospace;font-size:13.63636302947998px;background-color:rgb(242,242,242);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(221,221,221);color:rgb(51,51,51);line-height:20px"><span class="">admin_tenant_name</span></tt>, but it doesn't work.</div>
<div style>I followed the document: <a href="http://docs.openstack.org/developer/swift/overview_auth.html">http://docs.openstack.org/developer/swift/overview_auth.html</a> and chmouel's blog: <a href="http://blog.chmouel.com/2011/11/24/swift-and-keystone-middleware-part1/">http://blog.chmouel.com/2011/11/24/swift-and-keystone-middleware-part1/</a></div>
<div style><br></div><div style>My swift and keystone run well:</div><div style><br></div><div style><img src="cid:ii_13cfbc6a28696d08" alt="Inline image 1" width="764" height="428"><br></div><div style><br></div><div style>
But failed in curl:</div><div style><img src="cid:ii_13cfbc74e2de8db2" alt="Inline image 2" width="764" height="121"><br></div><div style><br></div><div style>I guess the value of admin_user/admin_password/admin_tenant_name doesn't save in db.</div>
<div style><br></div><div style>Which step do I missed? or some problems in my proxy config?</div><div style><br></div><div style>Here is my current config.</div><div style><div>[DEFAULT]</div><div>bind_port = 8888</div><div>
user = swift</div><div><br></div><div>[pipeline:main]</div><div>pipeline = catch_errors healthcheck cache authtoken keystoneauth proxy-server</div><div><br></div><div>[app:proxy-server]</div><div>use = egg:swift#proxy</div>
<div>account_autocreate = true</div><div><br></div><div>[filter:keystoneauth]</div><div>use = egg:swift#keystoneauth</div><div>operator_roles = admin, swiftoperator</div><div><br></div><div>[filter:authtoken]</div><div># Delaying the auth decision is required to support token-less</div>
<div># usage for anonymous referrers ('.r:*').</div><div>paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory</div><div>auth_host = keystonehost</div><div>auth_port = 35357</div><div>auth_protocol = http</div>
<div>auth_uri = <a href="http://keystonehost:5000/">http://keystonehost:5000/</a></div><div>admin_tenant_name = service</div><div>admin_user = swift</div><div>admin_password = password</div><div><br></div><div>[filter:cache]</div>
<div>use = egg:swift#memcache</div><div>set log_name = cache</div><div><br></div><div>[filter:catch_errors]</div><div>use = egg:swift#catch_errors</div><div><br></div><div>[filter:healthcheck]</div><div>use = egg:swift#healthcheck</div>
</div></div>