<div dir="ltr"><div>Thanks. I'll try this. <br></div><div>But what values do I use in place of ak and sk? I want to use some command to get those values, right?<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 25, 2018 at 9:52 AM, Yuxin Wang <span dir="ltr"><<a href="mailto:wang.yuxin@ostorage.com.cn" target="_blank">wang.yuxin@ostorage.com.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">I created ec2 credentials using command `openstack credential create`.<div><br></div><div>i.e.</div><div><br></div><div>openstack credential create --type ec2 --project proj user '{"access": "ak", "secret": "sk”}'</div><div><br></div><div><br><div>It seems the two credentials are not the same thing.</div><div><br></div><div>Ref:</div><div><br></div><div><a href="https://www.ibm.com/support/knowledgecenter/en/STXKQY_4.1.1/com.ibm.spectrum.scale.v4r11.adv.doc/bl1adv_ConfigureOpenstackEC2credentials.htm" target="_blank">https://www.ibm.com/support/<wbr>knowledgecenter/en/STXKQY_4.1.<wbr>1/com.ibm.spectrum.scale.<wbr>v4r11.adv.doc/bl1adv_<wbr>ConfigureOpenstackEC2credentia<wbr>ls.htm</a></div><div><div class="h5"><div><br><blockquote type="cite"><div>在 2018年5月25日,10:32,Shyam Prasad N <<a href="mailto:nspmangalore@gmail.com" target="_blank">nspmangalore@gmail.com</a>> 写道:</div><br class="m_-6108977501786265218Apple-interchange-newline"><div><div dir="auto"><div>Yes, I did.</div><div dir="auto">I don't think this is s3curl related issue, because I tried with python AWS SDK, and got the same error. <br><br><div class="gmail_quote" dir="auto"><div dir="ltr">On Fri, May 25, 2018, 07:42 Yuxin Wang <<a href="mailto:wang.yuxin@ostorage.com.cn" target="_blank">wang.yuxin@ostorage.com.cn</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">Did you add 127.0.0.1 to the endpoint list in <a href="http://s3curl.pl/" rel="noreferrer" target="_blank">s3curl.pl</a>?<div><br></div><div>i.e.</div><div><br></div><div>my @endpoints = (‘127.0.0.1’);</div><div><br><blockquote type="cite"><div>在 2018年5月24日,19:48,Shyam Prasad N <<a href="mailto:nspmangalore@gmail.com" rel="noreferrer" target="_blank">nspmangalore@gmail.com</a>> 写道:</div><br class="m_-6108977501786265218m_-548603106667532288Apple-interchange-newline"><div><div dir="ltr"><div>Hi,</div><div><br></div><div>I've been trying to get swift3 to work for several days now. But I haven't managed to get it running. <br></div><div>Both with tempauth and keystoneauth, I'm getting the same error:<br></div><div><br></div><div>eightkpc@objectstore1:~/<wbr>s3curl$ ./<a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fs3curl.pl&data=02%7C01%7C%7C39742b8c6bf847ee381508d5c16d1b21%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636627596701206160&sdata=lZmKF41unLVD9J1ALYUv8Vkab448NOeGmcWcR56Rgxs%3D&reserved=0" rel="noreferrer" target="_blank">s3curl.pl</a> --id=testerks -- <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F127.0.0.1%3A8080%2F&data=02%7C01%7C%7C39742b8c6bf847ee381508d5c16d1b21%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636627596701206160&sdata=CEHEVR1HSpK0ehQ8mmOBA7fmjQsu7vjqKZda3NYVDWQ%3D&reserved=0" rel="noreferrer" target="_blank">http://127.0.0.1:8080/</a><br><?xml version='1.0' encoding='UTF-8'?><br><Error><Code><wbr>SignatureDoesNotMatch</Code><<wbr>Message>The request signature we calculated does not match the signature you provided. Check your key and signing method.</Message><RequestId><wbr>txa691e7ca97a44d56bc4c2-<wbr>005b06a292</RequestId></Error><br></div><div><br></div><div>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-<wbr>005b06a292 - 0.0200 - - 1527161490.543112040 1527161490.563107014 -<br>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-<wbr>005b06a292)<br></div><div><br></div><div>eightkpc@objectstore1:~$ cat .s3curl <br>%awsSecretAccessKeys = (<br>    tester => {<br>        id => 'test:tester',<br>        key => 'testing',<br>    },<br>    testerks => {<br>        id => '<wbr>e6289a1b5692461388d0597a4873d0<wbr>54',<br>        key => '<wbr>88bb706887094696b082f008ba133a<wbr>d7',<br>    },<br>);<br></div><div><br></div><div>eightkpc@objectstore1:~$ openstack ec2 credentials show e6289a1b5692461388d0597a4873d0<wbr>54<br>+------------+----------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>--------------------------+<br>| Field      | Value                         <wbr>                              <wbr>                              <wbr>                              <wbr>           |<br>+------------+----------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>--------------------------+<br>| access     | e6289a1b5692461388d0597a4873d0<wbr>54                            <wbr>                              <wbr>                              <wbr>           |<br>| links      | {u'self': u'<a href="http://controller:5000/v3/users/d7df7b56343b4ea988869fc30efeda09/credentials/OS-EC2/e6289a1b5692461388d0597a4873d054" rel="noreferrer" target="_blank">http://controller:5000/v3/<wbr>users/<wbr>d7df7b56343b4ea988869fc30efeda<wbr>09/credentials/OS-EC2/<wbr>e6289a1b5692461388d0597a4873d0<wbr>54</a>'} |<br>| project_id | dc86f7d8787b46158268bd77098b65<wbr>78                            <wbr>                              <wbr>                              <wbr>           |<br>| secret     | 88bb706887094696b082f008ba133a<wbr>d7                            <wbr>                              <wbr>                              <wbr>           |<br>| trust_id   | None                          <wbr>                              <wbr>                              <wbr>                              <wbr>           |<br>| user_id    | d7df7b56343b4ea988869fc30efeda<wbr>09                            <wbr>                              <wbr>                              <wbr>           |<br>+------------+----------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>--------------------------+<br></div><div><br></div><div>Can someone please let me know what is going on?</div><div><br></div><div>Regards,<br>Shyam
</div></div>
<span id="m_-6108977501786265218m_-548603106667532288cid:71262910-662B-4E1A-B0AF-12F3CF7463B0"><proxy-server.conf></span>___________<wbr>______________________________<wbr>______<br>Mailing list: <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.openstack.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fopenstack&data=02%7C01%7C%7C39742b8c6bf847ee381508d5c16d1b21%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636627596701206160&sdata=KI%2F2T2FhVQJTeX1KbIObDZVDiUA3SbTq6Pplo1bc7ak%3D&reserved=0" rel="noreferrer" target="_blank">https://eur03.safelinks.<wbr>protection.outlook.com/?url=<wbr>http%3A%2F%2Flists.openstack.<wbr>org%2Fcgi-bin%2Fmailman%<wbr>2Flistinfo%2Fopenstack&data=<wbr>02%7C01%7C%<wbr>7C39742b8c6bf847ee381508d5c16d<wbr>1b21%<wbr>7C84df9e7fe9f640afb435aaaaaaaa<wbr>aaaa%7C1%7C0%<wbr>7C636627596701206160&sdata=KI%<wbr>2F2T2FhVQJTeX1KbIObDZVDiUA3SbT<wbr>q6Pplo1bc7ak%3D&reserved=0</a><br>Post to     : <a href="mailto:openstack@lists.openstack.org" rel="noreferrer" target="_blank">openstack@lists.openstack.org</a><br>Unsubscribe : <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.openstack.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fopenstack&data=02%7C01%7C%7C39742b8c6bf847ee381508d5c16d1b21%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636627596701206160&sdata=KI%2F2T2FhVQJTeX1KbIObDZVDiUA3SbTq6Pplo1bc7ak%3D&reserved=0" rel="noreferrer" target="_blank">https://eur03.safelinks.<wbr>protection.outlook.com/?url=<wbr>http%3A%2F%2Flists.openstack.<wbr>org%2Fcgi-bin%2Fmailman%<wbr>2Flistinfo%2Fopenstack&data=<wbr>02%7C01%7C%<wbr>7C39742b8c6bf847ee381508d5c16d<wbr>1b21%<wbr>7C84df9e7fe9f640afb435aaaaaaaa<wbr>aaaa%7C1%7C0%<wbr>7C636627596701206160&sdata=KI%<wbr>2F2T2FhVQJTeX1KbIObDZVDiUA3SbT<wbr>q6Pplo1bc7ak%3D&reserved=0</a><br></div></blockquote></div><br></div></blockquote></div></div></div>
</div></blockquote></div><br></div></div></div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">-Shyam</div>
</div>