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.willi...@tpac.org.au> 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=cephfs_data2 > > 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@lists.ceph.com > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com