unable to get conf option admin_socket for osd

sahostking

Renowned Member
Trying to run the following:

ceph daemon osd.6 perf

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"


Not sure what is wrong.

ceph.conf is as per below:

Code:
[global]
         auth_client_required = cephx
         auth_cluster_required = cephx
         auth_service_required = cephx
         cluster_network = 10.10.50.5/24
         fsid = 41cbed24-f092-4e1c-a308-efdad9af7099
         mon_allow_pool_delete = true
         mon_host = 10.10.50.5 10.10.50.9 10.10.50.13
         ms_bind_ipv4 = true
         ms_bind_ipv6 = false
         public_network = 10.10.50.5/24

[client]
         keyring = /etc/pve/priv/$cluster.$name.keyring

[mon.pve-1-ceph]
         public_addr = 10.10.50.5

[mon.pve-3-ceph]
         public_addr = 10.10.50.9

[mon.pve-5-ceph]
         public_addr = 10.10.50.13
 
did you run it on the host with the 'osd.6' ? it seems that error comes up when you try to run in on a different host
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!