Re: rbd: map failed

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

 



On 01/09/2018 07:46 PM, Karun Josy wrote:

> We have a user "testuser" with below permissions :
> 
> $ ceph auth get client.testuser
> exported keyring for client.testuser
> [client.testuser]
>         key = ****==
>         caps mon = "profile rbd"
>         caps osd = "profile rbd pool=ecpool, profile rbd pool=cv,
> profile rbd-read-only pool=templates"
> 
> 
> But when we try to map an image in pool 'templates' we get the below
> error : 
> --------------
> # rbd map templates/centos.7-4.x86-64.20171111 --id testuser
> rbd: sysfs write failed
> In some cases useful info is found in syslog - try "dmesg | tail".
> rbd: map failed: (1) Operation not permitted
> 
> 
> Is it because that user has only read permission in templates pool ?

Did you check "dmesg" as outlined in the error message? Anything in
there that might give a hint?

Lenz

-- 
SUSE Linux GmbH - Maxfeldstr. 5 - 90409 Nuernberg (Germany)
GF:Felix Imendörffer,Jane Smithard,Graham Norton,HRB 21284 (AG Nürnberg)

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
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