<div dir="ltr"><span style="font-size:12.8px">No, I didn't.</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I ran "python setup.py install" one more time. Here is the output:</div><div style="font-size:12.8px"><a href="http://paste.openstack.org/show/585535/" target="_blank">http://paste.openstack.org/<wbr>show/585535/</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 13, 2016 at 8:21 AM, John van Ommen <span dir="ltr"><<a href="mailto:john.vanommen@gmail.com" target="_blank">john.vanommen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">To me, the errors you're receiving are indicative of the swift3<br>
package not installing correctly.<br>
<br>
When you ran that first step (setup.py), did you get errors?<br>
<span class="HOEnZb"><font color="#888888"><br>
John<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Wed, Oct 12, 2016 at 10:03 PM, Alexandr Porunov<br>
<<a href="mailto:alexandr.porunov@gmail.com">alexandr.porunov@gmail.com</a>> wrote:<br>
> Hello,<br>
><br>
> It still doesn't work... The same error is shown. Maybe I missed something?<br>
> Maybe before the installation I had to done something or something else. I<br>
> tried different things to run it. But when we do have swift3 or/and s3token<br>
> in pipeline it doesn't work.<br>
><br>
> Sincerely,<br>
> Alexandr<br>
><br>
> On Thu, Oct 13, 2016 at 12:17 AM, Mark Kirkwood<br>
> <<a href="mailto:mark.kirkwood@catalyst.net.nz">mark.kirkwood@catalyst.net.nz</a><wbr>> wrote:<br>
>><br>
>><br>
>><br>
>> On 13/10/16 06:26, Alexandr Porunov wrote:<br>
>>><br>
>>> 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/<wbr>swift3</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<br>
>>> container_sync bulk ratelimit swift3 s3token authtoken keystoneauth<br>
>>> container-quotas account-quotas slo dlo versioned_writes proxy-logging<br>
>>> 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>
>><br>
>> Yeah - for Mitaka (or thereabouts) onwards that s3token config needs to<br>
>> change:<br>
>><br>
>> [filter:s3token]<br>
>> paste.filter_factory = keystoneclient.middleware.s3_<wbr>token:filter_factory<br>
>> auth_uri = <a href="http://keystone:35357/" rel="noreferrer" target="_blank">http://keystone:35357/</a><br>
>> reseller_prefix = AUTH_<br>
>><br>
>> Alternatively the older port/protocol/host variables still work instead of<br>
>> auth_uri:<br>
>><br>
>> [filter:s3token]<br>
>> paste.filter_factory = keystoneclient.middleware.s3_<wbr>token: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<br>
>> when you hit this.<br>
>><br>
>> regards<br>
>><br>
>> Mark<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> ______________________________<wbr>_________________<br>
>> Mailing list:<br>
>> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a><br>
>> Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
>> Unsubscribe :<br>
>> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a><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/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a><br>
> Post to : <a href="mailto:openstack@lists.openstack.org">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/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a><br>
><br>
</div></div></blockquote></div><br></div>