17.2.6 fs 'ls' ok, but 'cat' 'operation not permitted' puzzle

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

 



In 17.2.6 is there a security requirement that pool names supporting a ceph fs filesystem match the filesystem name.data for the data and name.meta for the associated metadata pool? (multiple file systems are enabled)

I have filesystems from older versions with the data pool name matching the filesystem and appending _metadata for that,

and even older filesystems with the pool name as in 'library' and 'library_metadata' supporting a filesystem called 'libraryfs'

The pools all have the cephfs tag.

But using the documented:

ceph fs authorize libraryfs client.basicuser / rw

command allows the root user to mount and browse the library directory tree, but fails with 'operation not permitted' when even reading any file.

However, changing the client.basicuser osd auth to 'allow rw' instead of 'allow rw tag...' allows normal operations.

So:

[client.basicuser]
       key = <key stuff>==
       caps mds = "allow rw fsname=libraryfs"
       caps mon = "allow r fsname=libraryfs"
       caps osd = "allow rw"

works, but the same with

       caps osd = "allow rw tag cephfs data=libraryfs"

leads to the 'operation not permitted' on read, or write or any actual access.

It remains a puzzle.  Help appreciated!

Were there upgrade instructions about that, any help pointing me to them?

Thanks

Harry Coin
Rock Stable Systems

_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[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