<div dir="ltr">The same error..(<div><div>Can't locate Digest/HMAC_SHA1.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ./<a href="http://s3curl.pl">s3curl.pl</a> line 20.</div><div>BEGIN failed--compilation aborted at ./<a href="http://s3curl.pl">s3curl.pl</a> line 20.</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 13, 2016 at 12:01 PM, 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">Hello again,<br>
<br>
I'm not familier with s3curl in detail though,<br>
<span class=""><br>
> ./<a href="http://s3curl.pl" rel="noreferrer" target="_blank">s3curl.pl</a> - 'swift' -key '<wbr>3d8b70ad194a4cf6857e59ec6cccc3<wbr>8d' -get - -s -v<br>
> <a href="http://proxy:8080/v1/AUTH_3f842db875cc48b99d7ff246c27a2e6a" rel="noreferrer" target="_blank">http://proxy:8080/v1/AUTH_<wbr>3f842db875cc48b99d7ff246c27a2e<wbr>6a</a><br>
><br>
<br>
</span>could you try:<br>
<br>
./<a href="http://s3curl.pl" rel="noreferrer" target="_blank">s3curl.pl</a> - 'swift' -key 'swift' -get - -s -v <a href="http://proxy:8080/" rel="noreferrer" target="_blank">http://proxy:8080/</a><br>
<br>
IIRC, secret_key is not a swift token but a password you set in your keystone and swift3 doesn't require Swift url so you can request to the host directly.<br>
<br>
Regards,<br>
Kota<br>
<span class=""><br>
<br>
(2016/10/13 17:29), Alexandr Porunov wrote:<br>
> Hello,<br>
><br>
> I try to use s3curl to test swift3 but I miss something.<br>
><br>
> Here is the command which I use:<br>
> ./<a href="http://s3curl.pl" rel="noreferrer" target="_blank">s3curl.pl</a> - 'swift' -key '<wbr>3d8b70ad194a4cf6857e59ec6cccc3<wbr>8d' -get - -s -v<br>
> <a href="http://proxy:8080/v1/AUTH_3f842db875cc48b99d7ff246c27a2e6a" rel="noreferrer" target="_blank">http://proxy:8080/v1/AUTH_<wbr>3f842db875cc48b99d7ff246c27a2e<wbr>6a</a><br>
><br>
> It shows:<br>
> Can't locate Digest/HMAC_SHA1.pm in @INC (@INC contains:<br>
> /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl<br>
> /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ./<br>
> <a href="http://s3curl.pl" rel="noreferrer" target="_blank">s3curl.pl</a> line 20.<br>
> BEGIN failed--compilation aborted at ./<a href="http://s3curl.pl" rel="noreferrer" target="_blank">s3curl.pl</a> line 20.<br>
><br>
> I am not sure that I write the command correctly.<br>
><br>
</span>> *swift* - is the account<br>
> *<wbr>3d8b70ad194a4cf6857e59ec6cccc3<wbr>8d* - is the X-Subject-Token I have got in<br>
<span class="">> the header with this command:<br>
><br>
> curl -i \<br>
>   -H "Content-Type: application/json" \<br>
>   -d '<br>
> { "auth": {<br>
>     "identity": {<br>
>       "methods": ["password"],<br>
>       "password": {<br>
>         "user": {<br>
>           "name": "swift",<br>
>           "domain": { "name": "default" },<br>
>           "password": "swift"<br>
>         }<br>
>       }<br>
>     },<br>
>     "scope": {<br>
>       "project": {<br>
>         "name": "service",<br>
>         "domain": { "name": "default" }<br>
>       }<br>
>     }<br>
>   }<br>
> }' \<br>
>   <a href="http://keystone:5000/v3/auth/tokens" rel="noreferrer" target="_blank">http://keystone:5000/v3/auth/<wbr>tokens</a> ; echo<br>
><br>
</span>> *<a href="http://proxy:8080/v1/AUTH_3f842db875cc48b99d7ff246c27a2e6a" rel="noreferrer" target="_blank">http://proxy:8080/v1/AUTH_<wbr>3f842db875cc48b99d7ff246c27a2e<wbr>6a</a><br>
> <<a href="http://proxy:8080/v1/AUTH_3f842db875cc48b99d7ff246c27a2e6a" rel="noreferrer" target="_blank">http://proxy:8080/v1/AUTH_<wbr>3f842db875cc48b99d7ff246c27a2e<wbr>6a</a>>* - is the<br>
<span class="">> public endpoint<br>
><br>
> Am I doing correctly?<br>
><br>
> Why doesn't it work?<br>
><br>
> Sincerely,<br>
> Alexandr<br>
><br>
><br>
><br>
</span>> ______________________________<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>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<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>