Re: does "ceph auth caps" support multiple pools?

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

 



On 16-02-15 13:14, Mingfai wrote:
> hi,
> 
> Is it possible to specify multiple pool names for authorization?
> 
> in my test, only the following are allowed,
> ceph auth caps client.CLIENT_ID osd 'allow *' 
> ceph auth caps client.CLIENT_ID osd 'allow * pool=*'
> 
> Let's say I want to grant access to "a-1" and "a-2" but not any other
> pools, it doesn't support styles such as:
> 
> #use comma
> ceph auth caps client.CLIENT_ID osd 'allow * pool=a-1,a-2' 
> 
> #use asterisk
> ceph auth caps client.CLIENT_ID osd 'allow * pool=a-*' 
> 
> #specific multiple pools
> ceph auth caps client.CLIENT_ID osd 'allow * pool=a-1 pool=a-2' 
> 
> #use multiple osd caps
> ceph auth caps client.CLIENT_ID osd 'allow * pool=a-1' osd 'allow *
> pool=a-2'
> 
> any idea?
> 

Yes:

allow * pool=X, allow * pool=Y

That should work.

> p.s. I checked the doc as well as tried different combination
> http://ceph.com/docs/master/rados/operations/user-management/
> 
> regards,
> mingfai
> 
> 
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 


-- 
Wido den Hollander
42on B.V.

Phone: +31 (0)20 700 9902
Skype: contact42on
_______________________________________________
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