Hi, I have been trying to deploy ceph rados gateway on a single node but failing for a while. My ceph cluster is with three osd and looks fine. I could create gateway
user but user is not able to create bucket. I am getting below error … Traceback (most recent call last): File "s3test.py", line 13, in <module> bucket = conn.create_bucket('my-new-bucket') File "/usr/lib/python2.7/dist-packages/boto/s3/connection.py", line 504, in create_bucket response.status, response.reason, body) boto.exception.S3ResponseError: S3ResponseError: 404 Not Found None My code o create bucket is … import boto import boto.s3.connection access_key = '1TFIE3C1MUO7W9FGS5T6' secret_key = 'EAskQAhQCzs1Y6o6RJZHS5tc0yCu6jkbAd9WvdHe' conn = boto.connect_s3( aws_access_key_id = access_key, aws_secret_access_key = secret_key, host = 'aviator.objectstore.com', is_secure=False, calling_format = boto.s3.connection.OrdinaryCallingFormat(), ) bucket = conn.create_bucket('my-new-bucket') Regards, Jyoti Ranjan cluster 373abfe1-c6d4-45b3-9ea7-f91c240d9532 health HEALTH_OK monmap e1: 1 mons at {aviator=10.1.195.51:6789/0} election epoch 2, quorum 0 aviator osdmap e27: 3 osds: 3 up, 3 in pgmap v208: 240 pgs, 8 pools, 1508 bytes data, 47 objects 108 MB used, 33650 MB / 33758 MB avail 240 active+clean ubuntu@aviator:~/ceph-cluster$ radosgw-admin user info --uid=testuser { "user_id": "testuser", "display_name": "First User", "email": "", "suspended": 0, "max_buckets": 1000, "auid": 0, "subusers": [ { "id": "testuser:swift", "permissions": "<none>" } ], "keys": [ { "user": "testuser", "access_key": "1TFIE3C1MUO7W9FGS5T6", "secret_key": "EAskQAhQCzs1Y6o6RJZHS5tc0yCu6jkbAd9WvdHe" }, { "user": "testuser:swift", "access_key": "85SJ2SSAB74IQGLJRGQ8", "secret_key": "" } ], "swift_keys": [ { "user": "testuser:swift", "secret_key": "5oGD6P4Y90jVMDVEeuBvpLxXYWikQWrAwLCB8isr" } ], "caps": [], "op_mask": "read, write, delete", "default_placement": "", "placement_tags": [], "bucket_quota": { "enabled": false, "max_size_kb": -1, "max_objects": -1 }, "user_quota": { "enabled": false, "max_size_kb": -1, "max_objects": -1 }, "temp_url_keys": [] } |
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com