Re: [ceph-users] [Ceph-rgw] pool assignment

2014-04-25 Thread ghislain.chevalier
Before configuring region and zone, I would like to known which tags can be 
updated in metadata bucket.instance?

Are there restrictions according to the capabilities applied to radosgw-admin?


-Message d'origine-
De : ceph-users-boun...@lists.ceph.com 
[mailto:ceph-users-boun...@lists.ceph.com] De la part de 
ghislain.cheval...@orange.com
Envoyé : mardi 15 avril 2014 18:21
À : Yehuda Sadeh
Cc : ceph-users@lists.ceph.com
Objet : Re: [ceph-users] [Ceph-rgw] pool assignment

Thanks

Sorry for answering late

I'm going to implement region, zone and placement targets in order to reach my 
goals.

Best regards

-Message d'origine-
De : Yehuda Sadeh [mailto:yeh...@inktank.com] 
Envoyé : vendredi 11 avril 2014 18:34
À : CHEVALIER Ghislain IMT/OLPS
Cc : ceph-users@lists.ceph.com
Objet : Re: [ceph-users] [Ceph-rgw] pool assigment

On Fri, Apr 11, 2014 at 3:20 AM,   wrote:
> Hi all,
>
> Context : CEPH dumpling on Ubuntu 12.04
>
> I would like to manage as accurately as possible the pools assigned to Rados
> gateway
> My goal is to apply specific SLA to applications which use http-driven
> storage.
> I 'd like to store the contents by associating a pool to a bucket, or a pool
> to a user(account)
>
> Today, all the contents are stored in .rgw.buckets
> I read in a post that if the pool .rgw. exists, contents will be
> stored in it, but it fails.

That's incorrect.

>
> I tried to modify the metadata associated to the bucket but it fails.
> radosgw-admin metadata get bucket: gives a set information
>
> { "key": "bucket:",
>   "ver": { "tag": " _fimhlBaK9aEKoX--jQKuvjT",
>   "ver": 1},
>   "mtime": 1394793288,
>   "data": { "bucket": { "name": "",
>   "pool": ".rgw. ",
>   "index_pool": ".rgw. .index",
>   "marker": "default.9841.1",
>   "bucket_id": "default.9841.1"},
>   "owner": "johndoe",
>   "creation_time": 1394793288,
>   "linked": "true",
>   "has_bucket_info": "false"}}
>
> which don't match with information given by radosgw-admin bucket
> -bucket= stats
> { "bucket": "",
>   "pool": ".rgw.buckets",
>   "index_pool": ".rgw.buckets.index",
>   "id": "default.9841.1",
>   "marker": "default.9841.1",
>   "owner": "johndoe",
>   "ver": 45,
>   "master_ver": 0,
>   "mtime": 1394793288,
>   "max_marker": "",
>   "usage": { "rgw.main": { "size_kb": 3005,
>   "size_kb_actual": 3016,
>   "num_objects": 3}}
>
> Is there a guideline I can rely on in order to reach my goal?


Look here:

http://comments.gmane.org/gmane.comp.file-systems.ceph.user/4992

The idea is to define different placement targets. You can change a
user's default placement target, and on bucket creation users can
define which placement target to use (if they're allowed).

Yehuda

_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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

_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ain

Re: [ceph-users] [Ceph-rgw] pool assignment

2014-04-15 Thread ghislain.chevalier
Thanks

Sorry for answering late

I'm going to implement region, zone and placement targets in order to reach my 
goals.

Best regards

-Message d'origine-
De : Yehuda Sadeh [mailto:yeh...@inktank.com] 
Envoyé : vendredi 11 avril 2014 18:34
À : CHEVALIER Ghislain IMT/OLPS
Cc : ceph-users@lists.ceph.com
Objet : Re: [ceph-users] [Ceph-rgw] pool assigment

On Fri, Apr 11, 2014 at 3:20 AM,   wrote:
> Hi all,
>
> Context : CEPH dumpling on Ubuntu 12.04
>
> I would like to manage as accurately as possible the pools assigned to Rados
> gateway
> My goal is to apply specific SLA to applications which use http-driven
> storage.
> I 'd like to store the contents by associating a pool to a bucket, or a pool
> to a user(account)
>
> Today, all the contents are stored in .rgw.buckets
> I read in a post that if the pool .rgw. exists, contents will be
> stored in it, but it fails.

That's incorrect.

>
> I tried to modify the metadata associated to the bucket but it fails.
> radosgw-admin metadata get bucket: gives a set information
>
> { "key": "bucket:",
>   "ver": { "tag": " _fimhlBaK9aEKoX--jQKuvjT",
>   "ver": 1},
>   "mtime": 1394793288,
>   "data": { "bucket": { "name": "",
>   "pool": ".rgw. ",
>   "index_pool": ".rgw. .index",
>   "marker": "default.9841.1",
>   "bucket_id": "default.9841.1"},
>   "owner": "johndoe",
>   "creation_time": 1394793288,
>   "linked": "true",
>   "has_bucket_info": "false"}}
>
> which don't match with information given by radosgw-admin bucket
> -bucket= stats
> { "bucket": "",
>   "pool": ".rgw.buckets",
>   "index_pool": ".rgw.buckets.index",
>   "id": "default.9841.1",
>   "marker": "default.9841.1",
>   "owner": "johndoe",
>   "ver": 45,
>   "master_ver": 0,
>   "mtime": 1394793288,
>   "max_marker": "",
>   "usage": { "rgw.main": { "size_kb": 3005,
>   "size_kb_actual": 3016,
>   "num_objects": 3}}
>
> Is there a guideline I can rely on in order to reach my goal?


Look here:

http://comments.gmane.org/gmane.comp.file-systems.ceph.user/4992

The idea is to define different placement targets. You can change a
user's default placement target, and on bucket creation users can
define which placement target to use (if they're allowed).

Yehuda

_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

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