Actions
Bug #44412
open"ceph-conf --name mon.<id> --show-config-value admin_socket" gives incorrect output
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
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
The documentation [1] says one can query ceph-conf for a daemon's admin socket, like so:
ceph-conf --name mon.admin --show-config-value admin_socket
But this gives the pre-octopus path:
admin:~ # ceph-conf --name mon.admin --show-config-value admin_socket /var/run/ceph/ceph-mon.admin.asok
On my 15.1.0 deployment, at least, the actual path includes the cluster ID:
admin:~ # ls -l /var/run/ceph total 0 drwxrwx--- 2 ceph ceph 160 Mar 4 10:51 73bcbc62-5dfd-11ea-b497-52540000af95 admin:~ # ls -l /var/run/ceph/73bcbc62-5dfd-11ea-b497-52540000af95/ceph-mon.admin.asok srwxr-xr-x 1 ceph ceph 0 Mar 4 10:49 /var/run/ceph/73bcbc62-5dfd-11ea-b497-52540000af95/ceph-mon.admin.asok
Notes:
Actions