<div dir="ltr"><div>To get token I use the next command:</div><div><br></div><div>curl -i \</div><div> -H "Content-Type: application/json" \</div><div> -d '</div><div>{ "auth": {</div><div> "identity": {</div><div> "methods": ["password"],</div><div> "password": {</div><div> "user": {</div><div> "name": "swift",</div><div> "domain": { "name": "default" },</div><div> "password": "swift"</div><div> }</div><div> }</div><div> },</div><div> "scope": {</div><div> "project": {</div><div> "name": "service",</div><div> "domain": { "name": "default" }</div><div> }</div><div> }</div><div> }</div><div>}' \</div><div> <a href="http://keystone:5000/v3/auth/tokens">http://keystone:5000/v3/auth/tokens</a> ; echo</div><div> </div><div>Here is the latest output:</div><div><br></div><div>HTTP/1.1 201 Created</div><div>Date: Thu, 13 Oct 2016 12:40:53 GMT</div><div>Server: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5</div><div>X-Subject-Token: 21d9ea93e9324fedb8853c94e6698d79</div><div>Vary: X-Auth-Token</div><div>x-openstack-request-id: req-eaf0c587-fcaa-4294-bee6-507385eea1e8</div><div>Content-Length: 1715</div><div>Content-Type: application/json</div><div><br></div><div>{"token": {"methods": ["password"], "roles": [{"id": "908072b0551448a29793277b4ad71688", "name": "admin"}], "expires_at": "2016-10-13T13:40:54.107598Z", "project": {"domain": {"id": "839eff379a694db0b4c69716b7ee7c32", "name": "default"}, "id": "3f842db875cc48b99d7ff246c27a2e6a", "name": "service"}, "catalog": [{"endpoints": [{"region_id": "RegionOne", "url": "<a href="http://proxy:8080/v1/AUTH_3f842db875cc48b99d7ff246c27a2e6a">http://proxy:8080/v1/AUTH_3f842db875cc48b99d7ff246c27a2e6a</a>", "region": "RegionOne", "interface": "internal", "id": "19fe381617d84ca7a7953e1dfd89f181"}, {"region_id": "RegionOne", "url": "<a href="http://proxy:8080/v1">http://proxy:8080/v1</a>", "region": "RegionOne", "interface": "admin", "id": "6ff73960ff4249e7a3f5d9fa7cbe90e0"}, {"region_id": "RegionOne", "url": "<a href="http://proxy:8080/v1/AUTH_3f842db875cc48b99d7ff246c27a2e6a">http://proxy:8080/v1/AUTH_3f842db875cc48b99d7ff246c27a2e6a</a>", "region": "RegionOne", "interface": "public", "id": "ec5e71ac89fc4a66a026ad96d8c0df49"}], "type": "object-store", "id": "83436928701349379c7e643954acbb8d", "name": "swift"}, {"endpoints": [{"region_id": "USA_east_1", "url": "<a href="http://keystone:5000/v3">http://keystone:5000/v3</a>", "region": "USA_east_1", "interface": "public", "id": "2b552dffdf564d7dab281d6676a5e86e"}, {"region_id": "USA_east_1", "url": "<a href="http://keystone:5000/v3">http://keystone:5000/v3</a>", "region": "USA_east_1", "interface": "internal", "id": "8a73678a836a47bbb16a5df7e41576df"}, {"region_id": "USA_east_1", "url": "<a href="http://keystone:35357/v3">http://keystone:35357/v3</a>", "region": "USA_east_1", "interface": "admin", "id": "964dbc7a4920416588bc754bfed583b7"}], "type": "identity", "id": "77366d6be47a46ff94d56e1436fab2aa", "name": "keystone"}], "user": {"domain": {"id": "839eff379a694db0b4c69716b7ee7c32", "name": "default"}, "id": "1fb1511494744101b9cfab7b68d9098e", "name": "swift"}, "audit_ids": ["lGLvUwAXQo2f2L6WNxvl-Q"], "issued_at": "2016-10-13T12:40:54.107633Z"}}</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 13, 2016 at 12:40 PM, Alexandr Porunov <span dir="ltr"><<a href="mailto:alexandr.porunov@gmail.com" target="_blank">alexandr.porunov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thank you. You were right.<div><br></div><div>Now s3curl works but I don't know how to use it.. I try to check if swift3 is working with the next command:</div><div><div> ./<a href="http://s3curl.pl" target="_blank">s3curl.pl</a> --id 'swift' -key '<wbr>384c48d6a26244aebcfa26cff4567b<wbr>c0' -get -s -v <a href="http://proxy:8080/v1/AUTH_3f842db875cc48b99d7ff246c27a2e6a" target="_blank">http://proxy:8080/v1/AUTH_<wbr>3f842db875cc48b99d7ff246c27a2e<wbr>6a</a></div></div><div><br></div><div>and</div><div><br></div><div><div> ./<a href="http://s3curl.pl" target="_blank">s3curl.pl</a> --id 'swift' -key 'swift' -get -s -v <a href="http://proxy:8080/v1/AUTH_3f842db875cc48b99d7ff246c27a2e6a" target="_blank">http://proxy:8080/v1/AUTH_<wbr>3f842db875cc48b99d7ff246c27a2e<wbr>6a</a></div></div><div><br></div><div>in both cases I get the same error:</div><div><div><?xml version='1.0' encoding='UTF-8'?></div><div><Error><Code><wbr>InvalidBucketName</Code><<wbr>Message>The specified bucket is not valid.</Message><RequestId><wbr>tx75447f12c8434120b20cd-<wbr>0057ff7ffe</RequestId><<wbr>BucketName>v1</BucketName></<wbr>Error></div></div><div><br></div><div>Do you know how to resolve it?</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 13, 2016 at 12:10 PM, Turbo Fredriksson <span dir="ltr"><<a href="mailto:turbo@bayour.com" target="_blank">turbo@bayour.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Oct 13, 2016, at 9:29 AM, Alexandr Porunov wrote:<br>
<br>
> Can't locate Digest/HMAC_SHA1.pm in @INC (@INC contains:<br>
<br>
</span>You need to install the "libdigest-hmac-perl" package..<br>
<span class="m_3698483132915313863HOEnZb"><font color="#888888">--<br>
Try not. Do. Or do not. There is no try!<br>
- Yoda<br>
</font></span><div class="m_3698483132915313863HOEnZb"><div class="m_3698483132915313863h5"><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>
</div></div></blockquote></div><br></div>