Project

General

Profile

Actions

Feature #10338

open

ceph: 'daemon list' command to enumerate daemon sockets we can connect to

Added by Sage Weil over 9 years ago. Updated over 4 years ago.

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

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

ceph daemon <daemon name> ...
ceph daemon <asok path> ...

both let you talk to a running daemon via the CLI. These attach to sockets found in /var/run/ceph/. If you specify a daemon name, we assume it's /var/run/ceph/$cluster-$type.$id.asok. If it's a path, it will attach to that directly.

Add a command

ceph daemon list

that lists the available sockets that we can use.

Also make sure that we can attach to sockets by name when the name does not start with /.. right now the disambiguation between a daemon name vs a full path is not quite right. If there is a socket called say ceph-client.admin.12321.123712732.asok and I specify just the name (no full path, or w/o the .asok extension) it doesn't work. Make it friendly!

Actions #1

Updated by Sage Weil over 9 years ago

  • Description updated (diff)
  • Status changed from New to 12
  • Source changed from other to Development
Actions #2

Updated by Patrick Donnelly over 4 years ago

  • Status changed from 12 to New
Actions

Also available in: Atom PDF