Hi community, I have a problem with my osd, i want to show dump_historic_ops of osd I follow the guide: https://www.ibm.com/docs/en/storage-fusion/2.6?topic=alerts-cephosdslowops But when i run command 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 What should I do? Thank you.
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
On Fri, Dec 01, 2023 at 04:33:20PM +0700, Phong Tran Thanh wrote:
I have a problem with my osd, i want to show dump_historic_ops of osd I follow the guide: https://www.ibm.com/docs/en/storage-fusion/2.6?topic=alerts-cephosdslowops But when i run command
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
What should I do?
The easiest is use tell, then you can run it on any node that have access to ceph. ceph tell osd.8 dump_historic_ops ceph tell osd.8 help will give you all you can do with tell. -- Kai Stian Olstad
It works!!! Thanks Kai Stian Olstad Vào Th 6, 1 thg 12, 2023 vào lúc 17:06 Kai Stian Olstad < ceph+list@olstad.com> đã viết:
On Fri, Dec 01, 2023 at 04:33:20PM +0700, Phong Tran Thanh wrote:
I have a problem with my osd, i want to show dump_historic_ops of osd I follow the guide:
https://www.ibm.com/docs/en/storage-fusion/2.6?topic=alerts-cephosdslowops
But when i run command
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
What should I do?
The easiest is use tell, then you can run it on any node that have access to ceph.
ceph tell osd.8 dump_historic_ops
ceph tell osd.8 help will give you all you can do with tell.
-- Kai Stian Olstad
-- Trân trọng, ---------------------------------------------------------------------------- *Tran Thanh Phong* Email: tranphong079@gmail.com Skype: tranphong079
This small (Bash) wrapper around the "ceph daemon" command, especially the auto-completeion with the TAB key, ist quite helpful, IMHO: https://github.com/test-erik/ceph-daemon-wrapper Am Fr., 1. Dez. 2023 um 15:03 Uhr schrieb Phong Tran Thanh < tranphong079@gmail.com>:
It works!!!
Thanks Kai Stian Olstad
Vào Th 6, 1 thg 12, 2023 vào lúc 17:06 Kai Stian Olstad < ceph+list@olstad.com> đã viết:
On Fri, Dec 01, 2023 at 04:33:20PM +0700, Phong Tran Thanh wrote:
I have a problem with my osd, i want to show dump_historic_ops of osd I follow the guide:
https://www.ibm.com/docs/en/storage-fusion/2.6?topic=alerts-cephosdslowops
But when i run command
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
What should I do?
The easiest is use tell, then you can run it on any node that have access to ceph.
ceph tell osd.8 dump_historic_ops
ceph tell osd.8 help will give you all you can do with tell.
-- Kai Stian Olstad
-- Trân trọng,
----------------------------------------------------------------------------
*Tran Thanh Phong*
Email: tranphong079@gmail.com Skype: tranphong079 _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
participants (4)
-
E Taka
-
Kai Stian Olstad
-
Phong Tran Thanh
-
Robert Sander