Thank you. Issue resolved. Had to balance those parameters. regards, Russell On Fri, Mar 9, 2018 at 1:48 PM, Casey Bodley <cbodley@xxxxxxxxxx> wrote: > Hi, > > It looks like radosgw is trying to operate on a pool that doesn't exist yet, > and its attempt to create the pool is failing with the ERANGE error. There > was a recent discussion about this on the [ceph-users] list: > https://www.spinics.net/lists/ceph-users/msg41924.html, with some extra > details in the bug report: http://tracker.ceph.com/issues/22351. They appear > to be centered around the configuration of pg num, pgp num and > mon_max_pg_per_osd. > > > On 03/09/2018 02:33 PM, Muminul Islam Russell wrote: >> >> Hello experts, >> >> I am trying to access object gateway through python s3 API, but >> getting the follwoing error. >> >> File "s3test.py", line 14, in <module> >> bucket = conn.create_bucket('my-bucket-1') >> File "/usr/lib/python2.7/site-packages/boto/s3/connection.py", line >> 590, in create_bucket >> response.status, response.reason, body) >> boto.exception.S3ResponseError: S3ResponseError: 416 Requested Range >> Not Satisfiable >> <?xml version="1.0" >> >> encoding="UTF-8"?><Error><Code>InvalidRange</Code><BucketName>my-bucket-east-1</BucketName><RequestId>tx000000000000000000004-005aa2dd0c-1018-default</RequestId><HostId>1018-default-default</HostId></Error> >> >> >> Python code: >> import boto >> import boto.s3.connection >> >> access_key = '2BWU97MPG67CZSM7U25E' >> secret_key = '8blaORQ1bTe3PIP2XDB7CTpSxemGaoQLDi2J96MB' >> >> conn = boto.connect_s3( >> aws_access_key_id = access_key, >> aws_secret_access_key = secret_key, >> host = 'x.x.x.x',port = 7480, >> is_secure=False, >> calling_format = boto.s3.connection.OrdinaryCallingFormat(), >> ) >> bucket = conn.create_bucket('my-bucket-1') >> for bucket in conn.get_all_buckets(): >> print "{name}\t{created}".format( >> name = bucket.name, >> created = bucket.creation_date, >> ) >> >> Could you please help me if I am missing anything. >> >> Ceph version: 12.2.4 >> Python-boto version: 2.27.0-1.el7 >> >> Thanks, >> Russell >> -- >> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in >> the body of a message to majordomo@xxxxxxxxxxxxxxx >> More majordomo info at http://vger.kernel.org/majordomo-info.html > > -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html