[Openstack] Struggling to get the s3 api interface to work with swift.

Shyam Prasad N nspmangalore at gmail.com
Thu May 24 11:48:26 UTC 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20180524/4f3b3fa6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: proxy-server.conf
Type: application/octet-stream
Size: 2240 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20180524/4f3b3fa6/attachment.obj>


More information about the Openstack mailing list