Comments (11)
@sachitanands will make the changes and tag you one the PR for Approval.
from cortx-s3server.
Thanks a lot @sachitanands
from cortx-s3server.
@sachitanands works now
[root@ssc-vm-1061 cortx-s3server]# cat ~/.aws/config
[default]
output = text
region = US
s3 =
endpoint_url = https://s3.seagate.com
s3api =
endpoint_url = https://s3.seagate.com
ca_bundle = /etc/ssl/stx-s3-clients/s3/ca.crt
[plugins]
endpoint = awscli_plugin_endpoint
[root@ssc-vm-1061 cortx-s3server]# aws s3 mb s3://seagatebucket
make_bucket: seagatebucket
[root@ssc-vm-1061 cortx-s3server]#
from cortx-s3server.
@sachitanands thanks
from cortx-s3server.
Hi @yanqingfu we need to specify correct client certificate through aws config file
Please check if you have correct ca.crt path in /root/.aws/config as "ca_bundle"
Below is one sample where I have configured my ca.crt on my development vm.
[root@ssc-vm-0372 cortx-s3server]# cat ~/.aws/config
[default]
s3 =
endpoint_url = https://s3.seagate.com
s3api =
endpoint_url = https://s3.seagate.com
ca_bundle = /etc/ssl/stx-s3-clients/s3/ca.crt
[plugins]
endpoint = awscli_plugin_endpoint
[root@ssc-vm-0372 cortx-s3server]#
from cortx-s3server.
@sachitanands apparently, we need to update the guidance as in the guide, there is no mention about ca_bundle.
from cortx-s3server.
@sachitanands still has an error
[root@ssc-vm-1061 cortx-s3server]# cat ~/.aws/config
[default]
output = text
region = US
s3 =
endpoint_url = https://s3.seagate.com
s3api =
endpoint_url = https://s3.seagate.com
ca_bundle = /etc/ssl/stx-s3-clients/s3/ca.crt
[plugins]
endpoint = awscli_plugin_endpoint
[root@ssc-vm-1061 cortx-s3server]# aws s3 mb s3://seagatebucket
make_bucket failed: s3://seagatebucket An error occurred (BucketAlreadyOwnedByYou) when calling the CreateBucket operation: The bucket you tried to create already exists, and you own it.
[root@ssc-vm-1061 cortx-s3server]# aws s3 ls
motr[29279]: 2a60 ERROR [cas/service.c:1168:cas_fom_tick] <! rc=-2
motr[29271]: 3a60 ERROR [cas/service.c:1168:cas_fom_tick] <! rc=-2
2020-10-30 00:58:33 seagatebucket
[root@ssc-vm-1061 cortx-s3server]# touch ./test_data
[root@ssc-vm-1061 cortx-s3server]# aws s3 cp test_data s3://seagatebucket/
motr[29279]: 9a60 ERROR [cas/service.c:1168:cas_fom_tick] <! rc=-2
motr[29934]: b980 ERROR [cas/client.c:1167:cas_req_replied_ast] <! rc=-2
upload: ./test_data to s3://seagatebucket/test_data
from cortx-s3server.
Hi @yanqingfu
BucketAlreadyOwnedByYou error shows bucket already exists.
in s3 bucket name should be unique hence we should either create new bucket with different name or delete existing bucket ( aws s3 rb s3://bucket-name --force) and then run this command again
Regarding ca_bundle..
Thanks for pointing out this documentation changes..
there are two ways we can run aws commands.
- with SSL mode
- if you select this then endpoint entry should be "https://s3.seagate.com" and then only you need ca.bundle entry in config file.
- without SSL mode
- the document mentions this mode hence endpoint entry has "http://s3.seagate.com" and that's why we don't need ca_bundle path.
I will work with our documentation team to update this info in our documentation
- the document mentions this mode hence endpoint entry has "http://s3.seagate.com" and that's why we don't need ca_bundle path.
FYI @nileshgovande @Saumya-Sunder
from cortx-s3server.
@sachitanands but aws s3 ls
has an error
[root@ssc-vm-1061 cortx-s3server]# aws s3 ls
motr[29279]: 2a60 ERROR [cas/service.c:1168:cas_fom_tick] <! rc=-2
motr[29271]: 3a60 ERROR [cas/service.c:1168:cas_fom_tick] <! rc=-2
2020-10-30 02:21:32 seagatebucket
from cortx-s3server.
Those are warnings.. please ignore them.
from cortx-s3server.
Updated the doc here #362
from cortx-s3server.
Related Issues (20)
- CVE-2021-3517 (High) detected in libxml2_2.9.4+dfsg1-6.1ubuntu1.4_amd64.deb
- CVE-2021-22898 (Low) detected in curl_7.58.0-2ubuntu3.16_amd64.deb
- CVE-2008-1688 (High) detected in m4_1.4.18-1_amd64.deb
- CVE-2008-1687 (High) detected in m4_1.4.18-1_amd64.deb
- CVE-2015-3218 (Medium) detected in policykit-1_0.105-20ubuntu0.18.04.5_amd64.deb
- CVE-2020-24977 (Medium) detected in libxml2_2.9.4+dfsg1-6.1ubuntu1.4_amd64.deb
- CVE-2019-10092 (Medium) detected in apache2_2.4.29-1ubuntu4.19_amd64.deb
- CVE-2018-6797 (High) detected in perl_5.26.1-6ubuntu0.5_amd64.deb
- CVE-2019-10098 (Medium) detected in apache2_2.4.29-1ubuntu4.19_amd64.deb
- WS-2020-0368 (Medium) detected in python2.7_2.7.17-1~18.04ubuntu1.6_amd64.deb
- CVE-2021-3177 (High) detected in multiple libraries
- CVE-2021-40528 (Medium) detected in libgcrypt20_1.8.1-4ubuntu1.2_amd64.deb
- CVE-2016-1238 (High) detected in perl_5.26.1-6ubuntu0.5_amd64.deb
- CVE-2021-3733 (Medium) detected in python3.7_3.7.5-2~18.04.4_amd64.deb
- CVE-2017-5130 (High) detected in libxml2_2.9.4+dfsg1-6.1ubuntu1.4_amd64.deb
- CVE-2021-3737 (Medium) detected in python3.7_3.7.5-2~18.04.4_amd64.deb
- Possible Jar hell when build auth/server HOT 9
- Migrate auth/server to JDK 8 HOT 13
- Error while running S3 test ./jenkins-build.sh HOT 9
- s3authserver not working normally and gateway time-out HOT 26
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cortx-s3server.