[ceph-users] Duplication name Container

2015-03-12 Thread Jimmy Goffaux

Hello All,

I use Ceph in production for several months. but i have an errors with 
Ceph Rados Gateway for multiple users.


I am faced with the following error:

Error trying to create container 'xs02': 409 Conflict: 
BucketAlreadyExists


Which corresponds to the documentation : 
http://ceph.com/docs/master/radosgw/s3/bucketops/


By which means I can avoid this kind of problem?

Here are my versions used:

radosgw-agent  => 1.2-1precise
ceph   => 0.87-1precise

Thank you for your help

--

Jimmy Goffaux
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] Duplication name Container

2015-03-11 Thread Steffen W Sørensen
On 11/03/2015, at 15.31, Wido den Hollander  wrote:

> On 03/11/2015 03:23 PM, Jimmy Goffaux wrote:
>> Hello All,
>> 
>> I use Ceph in production for several months. but i have an errors with
>> Ceph Rados Gateway for multiple users.
>> 
>> I am faced with the following error:
>> 
>> Error trying to create container 'xs02': 409 Conflict: BucketAlreadyExists
>> 
>> Which corresponds to the documentation :
>> http://ceph.com/docs/master/radosgw/s3/bucketops/
>> 
>> By which means I can avoid this kind of problem?
>> 
> You can not. Bucket names are unique inside the RADOS Gateway. Just as
> with Amazon S3.
Well it can be avoided but not at the Ceph level but at your Application level 
:)
Either ignore already exist errors in your App or try to verify bucket exists 
before creating buckets... 

/Steffen


signature.asc
Description: Message signed with OpenPGP using GPGMail
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] Duplication name Container

2015-03-11 Thread Wido den Hollander
On 03/11/2015 03:23 PM, Jimmy Goffaux wrote:
> Hello All,
> 
> I use Ceph in production for several months. but i have an errors with
> Ceph Rados Gateway for multiple users.
> 
> I am faced with the following error:
> 
> Error trying to create container 'xs02': 409 Conflict: BucketAlreadyExists
> 
> Which corresponds to the documentation :
> http://ceph.com/docs/master/radosgw/s3/bucketops/
> 
> By which means I can avoid this kind of problem?
> 

You can not. Bucket names are unique inside the RADOS Gateway. Just as
with Amazon S3.

> Here are my versions used:
> 
> radosgw-agent  => 1.2-1precise
> ceph   => 0.87-1precise
> 
> Thank you for your help
> 


-- 
Wido den Hollander
42on B.V.
Ceph trainer and consultant

Phone: +31 (0)20 700 9902
Skype: contact42on
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com