[Openstack] Struggling to get the s3 api interface to work with swift.
Kota TSUYUZAKI
tsuyuzaki.kota at lab.ntt.co.jp
Thu May 24 17:16:36 UTC 2018
Hi, Shyam
> tester => {
> id => 'test:tester',
> key => 'testing',
> },
If you are using this id/password to get your token from keystone,
you should set them as access_key and secret key for your s3 client.
You don't have to set any token information from keystone for your client.
i.e. `./s3curl.pl --id=tester -- http://127.0.0.1:8080/` may work. I'm not
an expert of the s3curl client though.
Best,
Kota
(2018/05/24 20:48), Shyam Prasad N wrote:
> Hi,
>
> I've been trying to get swift3 to work for several days now. But I haven't
> managed to get it running.
> Both with tempauth and keystoneauth, I'm getting the same error:
>
> eightkpc at objectstore1:~/s3curl$ ./s3curl.pl --id=testerks --
> http://127.0.0.1:8080/
> <?xml version='1.0' encoding='UTF-8'?>
> <Error><Code>SignatureDoesNotMatch</Code><Message>The request signature we
> calculated does not match the signature you provided. Check your key and
> signing
> method.</Message><RequestId>txa691e7ca97a44d56bc4c2-005b06a292</RequestId></Error>
>
> May 24 11:31:30 localhost proxy-server: 127.0.0.1 127.0.0.1
> 24/May/2018/11/31/30 GET / HTTP/1.0 403 - curl/7.58.0 - - 277 -
> txa691e7ca97a44d56bc4c2-005b06a292 - 0.0200 - - 1527161490.543112040
> 1527161490.563107014 -
> May 24 11:31:30 localhost proxy-server: STDERR: 127.0.0.1 - - [24/May/2018
> 11:31:30] "GET / HTTP/1.1" 403 621 0.021979 (txn:
> txa691e7ca97a44d56bc4c2-005b06a292)
>
> eightkpc at objectstore1:~$ cat .s3curl
> %awsSecretAccessKeys = (
> tester => {
> id => 'test:tester',
> key => 'testing',
> },
> testerks => {
> id => 'e6289a1b5692461388d0597a4873d054',
> key => '88bb706887094696b082f008ba133ad7',
> },
> );
>
> eightkpc at objectstore1:~$ openstack ec2 credentials show
> e6289a1b5692461388d0597a4873d054
> +------------+------------------------------------------------------------------------------------------------------------------------------------+
> | Field |
> Value
> |
> +------------+------------------------------------------------------------------------------------------------------------------------------------+
> | access |
> e6289a1b5692461388d0597a4873d054
> |
> | links | {u'self': u'
> http://controller:5000/v3/users/d7df7b56343b4ea988869fc30efeda09/credentials/OS-EC2/e6289a1b5692461388d0597a4873d054'}
> |
> | project_id |
> dc86f7d8787b46158268bd77098b6578
> |
> | secret |
> 88bb706887094696b082f008ba133ad7
> |
> | trust_id |
> None
> |
> | user_id |
> d7df7b56343b4ea988869fc30efeda09
> |
> +------------+------------------------------------------------------------------------------------------------------------------------------------+
>
> Can someone please let me know what is going on?
>
> Regards,
> Shyam
>
>
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
More information about the Openstack
mailing list