[ceph-users] Re: dashboard fails with error code 500 on a particular file system

2022-01-21 Thread Ernesto Puerta
Thank you for sharing the resolution! I'll add that info to the tracker. And yes, I fully agree that Dashboard should gracefully handle this issue. Kind Regards, Ernesto On Thu, Jan 20, 2022 at 4:59 PM E Taka <0eta...@gmail.com> wrote: > Hello Ernesto, > > I found the reason. One of the users s

[ceph-users] Re: dashboard fails with error code 500 on a particular file system

2022-01-20 Thread E Taka
Hello Ernesto, I found the reason. One of the users set a directory permission without the +x bit (drw---). After the command 'chmod 700' everything was OK again. The MDS log did not help, but with the API call 'ls_dir?path=…' I was able to iterate to the directory with the wrong permissions.

[ceph-users] Re: dashboard fails with error code 500 on a particular file system

2022-01-19 Thread Ernesto Puerta
Given the error returned from libcephfs is "cephfs.OSError: opendir failed: Permission denied [Errno 13]", it could be that the mgr doesn't have rights (ceph auth) to access the filesystem. Could you check the mds logs for any trace when the Dashboard error appears? Kind Regards, Ernesto On Wed,

[ceph-users] Re: dashboard fails with error code 500 on a particular file system

2022-01-19 Thread E Taka
Hello Ernesto, the commands worked without any problems, with Ubuntus 20.04 Ceph packages and inside "cephadm shell". I tried all 55k directories of the filesystem. Best, Erich Am Mo., 17. Jan. 2022 um 21:10 Uhr schrieb Ernesto Puerta < epuer...@redhat.com>: > Hi E Taka, > > There's already a r

[ceph-users] Re: dashboard fails with error code 500 on a particular file system

2022-01-17 Thread Ernesto Puerta
Hi E Taka, There's already a report of that issue in 16.2.5 ( https://tracker.ceph.com/issues/51611), stating that it didn't happen in 16.2.3 (so a regression then), but we couldn't reproduce it so far. I just tried creating a regular fresh cephfs filesystem (1 MDS), a directory inside it (via ce