On 12/1/23 10:33, Phong Tran Thanh wrote:
ceph daemon osd.8 dump_historic_ops show the error,
the command run on node
with osd.8
Can't get admin socket path: unable to get conf option admin_socket for
osd: b"error parsing 'osd': expected string of the form TYPE.ID, valid
types are: auth, mon, osd, mds, mgr, client\n"
I am running ceph cluster reef version by cephadmin install
When the daemons run in containers managed by the cephadm orchestrator
the socket file has a different location and the command line tool ceph
(run outisde the container) does not find it automatically.
You can run
# ceph daemon /var/run/ceph/$FSID/ceph-osd.$OSDID.asok dump_historic_ops
to use the socket outside the container.
Or you enter the container with
# cephadm enter --name osd.$OSDID
and then execute
# ceph daemon osd.$OSDID dump_historic_ops
inside the container.
$FSID is the UUID of the Ceph cluster, $OSDID is the OSD id.
Regards
--
Robert Sander
Heinlein Consulting GmbH
Schwedter Str. 8/9b, 10119 Berlin
https://www.heinlein-support.de
Tel: 030 / 405051-43
Fax: 030 / 405051-19
Amtsgericht Berlin-Charlottenburg - HRB 220009 B
Geschäftsführer: Peer Heinlein - Sitz: Berlin