Bug #40927
Updated by Patrick Donnelly almost 5 years ago
<pre> $ ./bin/ceph fs subvolumegroup create a csi *** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH *** 2019-07-24 21:57:36.158 7ff3423d9700 -1 WARNING: all dangerous and experimental features are enabled. 2019-07-24 21:57:36.223 7ff3423d9700 -1 WARNING: all dangerous and experimental features are enabled. Error EINVAL: Traceback (most recent call last): File "/home/rraja/git/ceph/src/pybind/mgr/volumes/fs/subvolume.py", line 53, in _mkdir_p self.fs.stat(subpath) File "cephfs.pyx", line 1071, in cephfs.LibCephFS.stat cephfs.ObjectNotFound: [Errno 2] error in stat: b'volumes' </pre> Solution: Inside the ceph-mgr's volumes module, have the filesystem client have uid/gid as 0/0 by using `conf_set` interface, before mounting the ceph filesystem and creating directories.