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.
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
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
- Follow-Ups:
- Re: Nautilus - cephfs auth caps problem?
- From: Nigel Williams
- Re: Nautilus - cephfs auth caps problem?
- References:
- Nautilus - cephfs auth caps problem?
- From: Nigel Williams
- Nautilus - cephfs auth caps problem?
- Prev by Date: slow requests due to scrubbing of very small pg
- Next by Date: Re: details about cloning objects using librados
- Previous by thread: Nautilus - cephfs auth caps problem?
- Next by thread: Re: Nautilus - cephfs auth caps problem?
- Index(es):