<div dir="ltr"><div>Hello,</div><div><br></div><div>It still doesn't work... The same error is shown. Maybe I missed something? Maybe before the installation I had to done something or something else. I tried different things to run it. But when we do have swift3 or/and s3token in pipeline it doesn't work.</div><div><br></div><div>Sincerely,</div><div>Alexandr</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 13, 2016 at 12:17 AM, Mark Kirkwood <span dir="ltr"><<a href="mailto:mark.kirkwood@catalyst.net.nz" target="_blank">mark.kirkwood@catalyst.net.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
On 13/10/16 06:26, Alexandr Porunov wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
I want to use S3 api for Swift.<br>
<br>
I have installed swift3 as here:<br>
<br>
git clone <a href="https://github.com/openstack/swift3" rel="noreferrer" target="_blank">https://github.com/openstack/s<wbr>wift3</a><br>
cd swift3<br>
python setup.py install<br>
<br>
Then I have configured my proxy-server.conf as here:<br>
<br>
[pipeline:main]<br>
pipeline = catch_errors gatekeeper healthcheck proxy-logging cache container_sync bulk ratelimit swift3 s3token authtoken keystoneauth container-quotas account-quotas slo dlo versioned_writes proxy-logging proxy-server<br>
<br>
[filter:swift3]<br>
use = egg:swift3#swift3<br>
<br>
[filter:s3token]<br>
use = egg:swift3#s3token<br>
auth_uri = <a href="http://keystone:35357/" rel="noreferrer" target="_blank">http://keystone:35357/</a><br>
reseller_prefix = AUTH_<br>
<br>
Then I tried to restart the proxy:<br>
systemctl restart openstack-swift-proxy<br>
<br>
And it failes.<br>
<br>
<br>
</blockquote>
<br></span>
Yeah - for Mitaka (or thereabouts) onwards that s3token config needs to change:<br>
<br>
[filter:s3token]<br>
paste.filter_factory = keystoneclient.middleware.s3_t<wbr>oken:filter_factory<span class=""><br>
auth_uri = <a href="http://keystone:35357/" rel="noreferrer" target="_blank">http://keystone:35357/</a><br>
reseller_prefix = AUTH_<br>
<br></span>
Alternatively the older port/protocol/host variables still work instead of auth_uri:<br>
<br>
[filter:s3token]<br>
paste.filter_factory = keystoneclient.middleware.s3_t<wbr>oken:filter_factory<br>
auth_port = 35357<br>
auth_host = keystone<br>
auth_protocol = http<br>
<br>
The swift3 docs need updating, as it is not obvious what has gone wrong when you hit this.<br>
<br>
regards<span class="HOEnZb"><font color="#888888"><br>
<br>
Mark</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k</a><br>
</div></div></blockquote></div><br></div>