This is ceph-mgr daemon which has mgr/nfs related backtrace
2024-03-20T19:03:02.972+0000 7fa07499d700 0 [nfs ERROR nfs.export] Failed to apply export: path /testfile is not a dir
Traceback (most recent call last):
File "/usr/share/ceph/mgr/nfs/export.py", line 76, in validate_cephfs_path
cephfs_path_is_dir(mgr, fs_name, path)
File "/usr/share/ceph/mgr/nfs/utils.py", line 104, in cephfs_path_is_dir
raise NotADirectoryError()
NotADirectoryError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/ceph/mgr/nfs/export.py", line 581, in _change_export
return self._apply_export(cluster_id, export)
File "/usr/share/ceph/mgr/nfs/export.py", line 830, in _apply_export
new_export_dict
File "/usr/share/ceph/mgr/nfs/export.py", line 689, in create_export_from_dict
validate_cephfs_path(self.mgr, fs_name, path)
File "/usr/share/ceph/mgr/nfs/export.py", line 78, in validate_cephfs_path
raise NFSException(f"path {path} is not a dir", -errno.ENOTDIR)
nfs.exception.NFSException: path /testfile is not a dir