Re: [ceph-users] Nautilus - cephfs auth caps problem?

2019-07-03 Thread Nigel Williams
thanks for the tip, I did wonder about that, and checked that at one point,
and assumed that was ok.

root@cnx-11:~# ceph osd pool application get cephfs_data
{
"cephfs": {
"data": "cephfs"
}
}
root@cnx-11:~# ceph osd pool application get cephfs_data2
{
"cephfs": {
"data": "cephfs"
}
}
root@cnx-11:~# ceph osd pool application get cephfs_metadata
{
"cephfs": {
"metadata": "cephfs"
}
}
root@cnx-11:~#

Is the act of setting it again likely to make a needed change elsewhere
that is fixed by that git pull?


On Wed, 3 Jul 2019 at 17:20, Paul Emmerich  wrote:

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


Re: [ceph-users] Nautilus - cephfs auth caps problem?

2019-07-03 Thread Paul Emmerich
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  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 
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