Project

General

Profile

Actions

Bug #45104

closed

NFS deployed using orchestrator watch_url not working and mkdirs permission denied dashboard

Added by mitchell walls about 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Community (user)
Tags:
cephadm nfs
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rados
Component(FS):
Ganesha FSAL
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I've ran into two issues after deploying ceph using cephadm all default for the nfs side.

Running ceph orch apply nfs ...
I then set the ganesha rados url for the dashboard.
Going into dashboard then creating an export will give mkdirs permission denied trying to create the path.
If I go into the filesystem then modify the root permissions to 777 it works. Is this as intended?
I originally used manila for my nfs shares and haven't had to do that.
Also I noticed an error for the dashboard api request lsdir gives a 500 error even after fixing the permissions.

Now I create an nfs share after fixing permissions.
Go to mount the new export and it gives me no such file or directory.
Check the pool namespace to see if the export is created I see it there.
Then go into the ganesha container and run `kill -1 1` afterwards the export works.

Figured the watch_url isn't working so I checked the object using listwatchers and don't see anything in the list.
Attached a watcher to it then created another share and I got a notify from the new export creation.
Set the ganesha container log level to FULL_DEBUG and checked logs and don't see anthing about watch url except:
do_block_load :CONFIG :F_DBG :0x7f9ac03092f0 name=watch_url type=CONFIG_STRING

I plan to still use manila just figured I would test this out. Cephadm is awesome btw. :)

I will gladly post any information you need.

Actions

Also available in: Atom PDF