[ceph-users] Re: cephfs : write error: Operation not permitted

2020-01-29 Thread Yoann Moulin
Hello, Sorry, this should be ceph osd pool application set cephfs_data cephfs data cephfs ceph osd pool application set cephfs_metadata cephfs metadata cephfs so that the json output looks like "cephfs_data" { "cephfs": { "data": "cephfs" } } "cephfs_metadata

[ceph-users] Re: cephfs : write error: Operation not permitted

2020-01-27 Thread Frank Schilder
: Re: [ceph-users] Re: cephfs : write error: Operation not permitted On Fri, Jan 24, 2020 at 1:43 PM Frank Schilder wrote: > > Dear Ilya, > > I had exactly the same problem with authentication of cephfs clients on a > mimic-13.2.2 cluster. The key created with "ceph fs au

[ceph-users] Re: cephfs : write error: Operation not permitted

2020-01-25 Thread Ilya Dryomov
On Fri, Jan 24, 2020 at 1:43 PM Frank Schilder wrote: > > Dear Ilya, > > I had exactly the same problem with authentication of cephfs clients on a > mimic-13.2.2 cluster. The key created with "ceph fs authorize ..." did not > grant access to the data pool. I ended up adding "rw" access to this p

[ceph-users] Re: cephfs : write error: Operation not permitted

2020-01-24 Thread Ilya Dryomov
On Sat, Jan 25, 2020 at 8:42 AM Ilya Dryomov wrote: > > On Fri, Jan 24, 2020 at 2:10 PM Yoann Moulin wrote: > > > > Le 23.01.20 à 15:51, Ilya Dryomov a écrit : > > > On Wed, Jan 22, 2020 at 8:58 AM Yoann Moulin wrote: > > >> > > >> Hello, > > >> > > >> On a fresh install (Nautilus 14.2.6) deploy

[ceph-users] Re: cephfs : write error: Operation not permitted

2020-01-24 Thread Ilya Dryomov
On Fri, Jan 24, 2020 at 2:10 PM Yoann Moulin wrote: > > Le 23.01.20 à 15:51, Ilya Dryomov a écrit : > > On Wed, Jan 22, 2020 at 8:58 AM Yoann Moulin wrote: > >> > >> Hello, > >> > >> On a fresh install (Nautilus 14.2.6) deploy with ceph-ansible playbook > >> stable-4.0, I have an issue with ceph

[ceph-users] Re: cephfs : write error: Operation not permitted

2020-01-24 Thread Paul Emmerich
There are two bugs that can cause these application tags to be missing, one of them is fixed (but old pools aren't fixed automatically), the other is https://tracker.ceph.com/issues/43061 which happens if you create the cephfs pools manually. You can fix the pools like this: ceph osd pool applica

[ceph-users] Re: cephfs : write error: Operation not permitted

2020-01-24 Thread Yoann Moulin
Le 23.01.20 à 15:51, Ilya Dryomov a écrit : On Wed, Jan 22, 2020 at 8:58 AM Yoann Moulin wrote: Hello, On a fresh install (Nautilus 14.2.6) deploy with ceph-ansible playbook stable-4.0, I have an issue with cephfs. I can create a folder, I can create empty files, but cannot write data on lik

[ceph-users] Re: cephfs : write error: Operation not permitted

2020-01-24 Thread Frank Schilder
Dear Ilya, I had exactly the same problem with authentication of cephfs clients on a mimic-13.2.2 cluster. The key created with "ceph fs authorize ..." did not grant access to the data pool. I ended up adding "rw" access to this pool by hand. Following up on your remark about pool tags, could

[ceph-users] Re: cephfs : write error: Operation not permitted

2020-01-23 Thread Ilya Dryomov
On Wed, Jan 22, 2020 at 8:58 AM Yoann Moulin wrote: > > Hello, > > On a fresh install (Nautilus 14.2.6) deploy with ceph-ansible playbook > stable-4.0, I have an issue with cephfs. I can create a folder, I can > create empty files, but cannot write data on like I'm not allowed to write to > the

[ceph-users] Re: cephfs : write error: Operation not permitted

2020-01-23 Thread Yoann Moulin
Moulin Sent: 23 January 2020 10:38:42 To: Frank Schilder; ceph-users Subject: Re: [ceph-users] Re: cephfs : write error: Operation not permitted Hi Frank, for some reason, the command "ceph fs authorize" does not add the required permissions for a FS with data pools any more, older ver

[ceph-users] Re: cephfs : write error: Operation not permitted

2020-01-23 Thread Frank Schilder
== Frank Schilder AIT Risø Campus Bygning 109, rum S14 From: Yoann Moulin Sent: 23 January 2020 10:38:42 To: Frank Schilder; ceph-users Subject: Re: [ceph-users] Re: cephfs : write error: Operation not permitted Hi Frank, >> for some re

[ceph-users] Re: cephfs : write error: Operation not permitted

2020-01-23 Thread Yoann Moulin
Hi Frank, for some reason, the command "ceph fs authorize" does not add the required permissions for a FS with data pools any more, older versions did. Now you need to add these caps by hand. It needs to look something like this: caps osd = "allow rw tag cephfs pool=cephfs_data, allow rw pool

[ceph-users] Re: cephfs : write error: Operation not permitted

2020-01-23 Thread Frank Schilder
out of the box. = Frank Schilder AIT Risø Campus Bygning 109, rum S14 From: Frank Schilder Sent: 23 January 2020 09:10:41 To: Yoann Moulin; ceph-users Subject: [ceph-users] Re: cephfs : write error: Operation not permitted Hi Yoann, for some reas

[ceph-users] Re: cephfs : write error: Operation not permitted

2020-01-23 Thread Frank Schilder
Hi Yoann, for some reason, the command "ceph fs authorize" does not add the required permissions for a FS with data pools any more, older versions did. Now you need to add these caps by hand. It needs to look something like this: caps osd = "allow rw tag cephfs pool=cephfs_data, allow rw pool=c

[ceph-users] Re: cephfs : write error: Operation not permitted

2020-01-22 Thread Patrick Donnelly
Hi Yoann, On Tue, Jan 21, 2020 at 11:58 PM Yoann Moulin wrote: > > Hello, > > On a fresh install (Nautilus 14.2.6) deploy with ceph-ansible playbook > stable-4.0, I have an issue with cephfs. I can create a folder, I can > create empty files, but cannot write data on like I'm not allowed to writ