Project

General

Profile

Actions

Bug #23133

closed

rbd-fuse fails to find a ceph.conf when /etc/ceph/ceph.conf is missing

Added by Rishabh Dave about 6 years ago. Updated about 6 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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.

Actions #1

Updated by Brad Hubbard about 6 years ago

  • Assignee set to Rishabh Dave
Actions #2

Updated by Jason Dillaman about 6 years ago

  • Status changed from New to Duplicate

See #12219

Actions #3

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.

Actions

Also available in: Atom PDF