Actions
Feature #10338
openceph: 'daemon list' command to enumerate daemon sockets we can connect to
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