i have the following in ceph.conf:
[client.radosgw.gateway]
host = cephgw
keyring = /etc/ceph/keyring.radosgw.gateway
rgw print continue = false
rgw region = us
rgw region root pool = .us.rgw.root
rgw zone = us-master
rgw zone root pool = .us-master.rgw.root
rgw dns name = cephgw
rgw socket path = /tmp/radosgw-us-master.sock
log file = /var/log/ceph/radosgw-us-master.log
rgw data = /var/lib/ceph/radosgw/ceph-radosgw.us-master-1
i run the following to create a gateway user on gateway node:
radosgw-admin user create --uid=test1 --display-name=test --name
client.radosgw.gateway
Then i setup s3cmd with the access and secret key, and still the same,
'Access Denied'
On 04/12/2014 09:35 PM, Craig Lewis wrote:
On 4/11/14 02:36 , Peter wrote:
Hello,
I am testing out federated gateways. I have created one gateway with
one region and one zone. The gateway appears to work. I am trying to
test it with s3cmd before I continue with more regions and zones.
I create a test gateway user:
radosgw-admin user create --uid=test --display-name=test
but s3cmd keeps getting 'ERROR: S3 error: 403 (AccessDenied):'
i have tried specifying zone and region when creating test gateway user:
radosgw-admin user create --uid=test1 --rgw-zone=us-master
--rgw-region=us --display-name=test
but i still get S3 403 error.
What am i doing wrong?
thanks
Try your radosgw-admin user create command again with
--name=$radosgw_name .
$radosgw_name is whatever name you gave the radosgw agent in
ceph.conf. Mine is client.radosgw.ceph2, on the host named ceph2.
--
Systems and Storage Engineer, Digital Repository of Ireland (DRI)
High Performance & Research Computing, IS Services
Lloyd Building, Trinity College Dublin, Dublin 2, Ireland.
http://www.tchpc.tcd.ie/ |[email protected]
Tel: +353-1-896-4466
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com