Re: Nautilus - cephfs auth caps problem?

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

 



Your cephfs was probably created with a buggy version that didn't set the metadata tags on the data pools correctly. IIRC there still isn't any automated migration of old broken pools.
See https://github.com/ceph/ceph/pull/24125

Fix:
ceph osd pool application set <data_pool_name> cephfs data cephfs_data2


Paul

--
Paul Emmerich

Looking for help with your Ceph cluster? Contact us at https://croit.io

croit GmbH
Freseniusstr. 31h
81247 München
www.croit.io
Tel: +49 89 1896585 90


On Wed, Jul 3, 2019 at 4:27 AM Nigel Williams <nigel.williams@xxxxxxxxxxx> wrote:
I am getting "Operation not permitted" on a write when trying to set caps for a user. Admin user (allow * for everything) works ok.

This does not work:
        caps: [mds] allow r,allow rw path=/home
        caps: [mon] allow r
        caps: [osd] allow rwx tag cephfs data="">

This does work:
        caps: [mds] allow r,allow rw path=/home
        caps: [mon] allow r
        caps: [osd] allow *

Nothing specific I set for the OSD caps, allows files to be written, although I can create files and directories.


_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
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