<p>Hi,</p>
<p>2012/02/02 18:44 "Akira Yoshiyama" <<a href="mailto:akirayoshiyama@gmail.com">akirayoshiyama@gmail.com</a>>:<br>
><br>
> Hi,<br>
><br>
> Please check the review:<br>
> <a href="https://review.openstack.org/#q,3076,n,z">https://review.openstack.org/#q,3076,n,z</a><br>
><br>
> Use swiftauth and s3token middleware and you may be able to do what you want. I'm sorry that I haven't try it.<br>
><br>
> Or, you can use authtoken and _patched_ swift3 middleware. You'll find the patch in the view above.</p>
<p>That's wrong. You can use _s3token_, authtoken and patched swift3.</p>
<p>I modified the wiki:<br>
<a href="http://wiki.openstack.org/Keystone-BP-S3Token">http://wiki.openstack.org/Keystone-BP-S3Token</a> </p>
<p>I added authtoken in main pipeline just now.</p>
<p>Regards,<br>
Akira Yoshiyama</p>
<p>><br>
> 2012/02/02 14:47 "Pete Zaitcev" <<a href="mailto:zaitcev@redhat.com">zaitcev@redhat.com</a>>:<br>
><br>
>> Hello:<br>
>><br>
>> Does anyone happen to have Swift running with S3 and Keystone? If yes,<br>
>> send me the proxy-server.conf, please. Also, I'd like to ask a few<br>
>> questions, if I may. I tried to piece it together from the code,<br>
>> but failed.<br>
>><br>
>> The authentication is done with a special hook into Keystone. It supplies<br>
>> middleware, keystone/keystone/middleware/s3_token.py, which invokes<br>
>> a POST to v2 Keysone with OS-KSS3:s3Credentials, then sets a req. header<br>
>> X-Auth-Token. So far so good.<br>
>><br>
>> However, how does it fit in with Swift? The actual S3 operations are<br>
>> implemented by swift/common/middleware/swift3.py, which rolls up the<br>
>> canonical string, then stuffs it into env['HTTP_X_AUTH_TOKEN'].<br>
>> The intent is, as I understand, to invoke the special purpose<br>
>> code in tempauth and thus is useless for Keystone. So, how is this<br>
>> supposed to work?<br>
>><br>
>> I imagine the pipeline should look something like this:<br>
>><br>
>>  [pipeline:main]<br>
>>  pipeline = healthcheck cache s3auth swift3 proxy-server<br>
>><br>
>>  [filter:s3auth]<br>
>>  use = egg:keystone#swiftauth<br>
>>  service_protocol = http<br>
>>  service_host = 192.168.129.18<br>
>>  service_port = 5000<br>
>><br>
>>  [filter:swift3]<br>
>>  use = egg:swift#swift3<br>
>><br>
>> Except... There is no entry point for s3_auth in keystone egg.<br>
>><br>
>> Documentation seems to be absent. I suppose I could put it together,<br>
>> if I got it all working at least once.<br>
>><br>
>> Confused,<br>
>> -- Pete<br>
>><br>
>> _______________________________________________<br>
>> Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>
>> Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
>> Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>
>> More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br>
</p>