Re: RGW region metadata sync prevents writes to non-master region

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 28, 2015 at 8:04 PM, Mark Kirkwood
<mark.kirkwood@xxxxxxxxxxxxxxx> wrote:
> On 29/01/15 13:58, Mark Kirkwood wrote:
>>
>>
>> However if I
>> try to write to eu-west I get:
>>
>
> Sorry - that should have said:
>
> However if I try to write to eu-*east* I get:
>
> The actual code is (see below) connecting to the endpoint for eu-east
> (ceph4:80), so seeing it redirected to us-*west* is pretty strange!

The bucket creation is synchronous, and sent to the master region for
completion. Not sure why it actually fails, that's what the master
region sends back. What does the corresponding log at the master
region show?

Yehuda

>
> --- code ---
> import boto
> import boto.s3.connection
>
> access_key = 'the key'
> secret_key = 'the secret'
>
> conn = boto.connect_s3(
>     aws_access_key_id = access_key,
>     aws_secret_access_key = secret_key,
>     host = 'ceph4',
>     is_secure=False,               # uncommmnt if you are not using ssl
>     calling_format = boto.s3.connection.OrdinaryCallingFormat(),
>     )
>
> bucket = conn.create_bucket('bucket1', location='eu')
> key = bucket.new_key('hello.txt')
> key.set_contents_from_string('Hello World!')
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux