cephadm: how to access the admin socket?
$ ceph daemon mgr.ceph03 config show admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
$ ceph --admin-daemon /var/run/ceph/mgr.ceph03 config show No such file or directory
Probably, users have to run
cephadm enter mgr.ceph03
to access the admin socket.
#1 Updated by Nathan Cutler 8 days ago
I got it to work like this:
node1:~ # cephadm enter --fsid 1c45b7be-bbad-11ea-9ed1-525400092435 --name osd.0 [ceph: root@node1 /]# ceph daemon osd.0 help
I do have to be on the same node where the osd.0 container is running.
I noticed that "cephadm shell" infers the FSID (I only have one cluster running on this set of machines, so it's not difficult to infer) - maybe "cephadm enter" could do the same?