<div dir="ltr"><div>Thank you all for your help!</div><div><br></div><div>It have started the proxy finally.</div><div><br></div><div>Here is the configuration that I used:</div><div><br></div><div>[filter:swift3]</div><div>use = egg:swift3#swift3</div><div><br></div><div>[filter:s3token]</div><div>paste.filter_factory = swift3.s3_token_middleware:filter_factory</div><div>auth_uri = <a href="http://keystone:35357/">http://keystone:35357/</a></div><div><br></div><div><div>Also I have installed dependencies:</div><div>pip install -r requirements.txt</div><div>pip install -r test-requirements.txt</div></div><div><br></div><div>It seems that swift3 has to update the documentation on github</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 9:23 AM, Kota TSUYUZAKI <span dir="ltr"><<a href="mailto:tsuyuzaki.kota@lab.ntt.co.jp" target="_blank">tsuyuzaki.kota@lab.ntt.co.jp</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Alexandr,<br>
<br>
Though I cannot see the actual reason why the proxy-server failed (your report looks just proxy-server exist with status code 1),<br>
looking at your procedure, you might need to install dependencies (e.g. lxml) for swift3. I mean,<br>
<span class=""><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>
</span>sudo pip install -r requirements.txt<br>
(you may need also "sudo pip install -r test-requirements.txt" for testing)<br>
<br>
If you could share sort of logs why proxy-server got failed, it might be helpful to figure out more.<br>
<br>
Thanks,<br>
Kota<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
(2016/10/13 14:34), Alexandr Porunov wrote:<br>
> No, I didn't.<br>
><br>
> I ran "python setup.py install" one more time. Here is the output:<br>
> <a href="http://paste.openstack.org/show/585535/" rel="noreferrer" target="_blank">http://paste.openstack.org/<wbr>show/585535/</a><br>
><br>
> On Thu, Oct 13, 2016 at 8:21 AM, John van Ommen <<a href="mailto:john.vanommen@gmail.com">john.vanommen@gmail.com</a>><br>
> wrote:<br>
><br>
>> 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>
>><br>
>> John<br>
>><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<br>
>> something?<br>
>>> Maybe before the installation I had to done something or something else.<br>
>> I<br>
>>> tried different things to run it. But when we do have swift3 or/and<br>
>> 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_<br>
>> 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<br>
>> of<br>
>>>> auth_uri:<br>
>>>><br>
>>>> [filter:s3token]<br>
>>>> paste.filter_factory = keystoneclient.middleware.s3_<br>
>> 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/" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/</a><br>
>> openstack<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/" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/</a><br>
>> openstack<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/<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>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
------------------------------<wbr>----------------------------<br>
Kota Tsuyuzaki(露﨑 浩太) <<a href="mailto:tsuyuzaki.kota@lab.ntt.co.jp">tsuyuzaki.kota@lab.ntt.co.jp</a>><br>
NTT Software Innovation Center<br>
Cloud Solution Project<br>
Phone 0422-59-2837<br>
Fax 0422-59-2965<br>
------------------------------<wbr>-----------------------------<br>
<br>
<br>
</font></span></blockquote></div><br></div>