Bug #23133
closedrbd-fuse fails to find a ceph.conf when /etc/ceph/ceph.conf is missing
0%
Description
rbd-fuse fails to find ceph.conf when /etc/ceph/ceph.conf is missing. Ideally, it should look for ceph.conf in ~/.ceph, in CWD, and in the path defined by $CEPH_CONF. To reproduce -
1. Start a vstart ceph cluster
2. Create a symlink /etc/ceph/ceph.conf for <ceph-repo-root>/build/ceph.conf and run rbd-fuse (it works)
3. Delete symlink and run rbd-fuse.
4. Running ls for the folder where images are mounted gives the following error -
ls: cannot access '/rbd_images': Transport endpoint is not connected
rbd-fuse should've obtained ceph from the CWD (which is <ceph-repo-root>/build). This issue reports a subset of the behaviour I see - http://tracker.ceph.com/issues/12219.
Updated by Rishabh Dave about 6 years ago
Jason Dillaman wrote:
See #12219
12219 talks only checking $CEPH_CONF. The rest of the issue (not looking in CWD or ~/.ceph) is nowhere recorded.