Error Creating OSD under Ceph

Aug 8, 2024
2
0
1
Could someone help me with the following. I tried creating OSD through GUI and Cli but same error popped up.

Thats the output when i create OSD:--> Was unable to complete a new OSD, will rollback changesRunning command: /bin/ceph --cluster ceph --name client.bootstrap-osd --keyring /var/lib/ceph/bootstrap-osd/ceph.keyring osd purge-new osd.0 --yes-i-really-mean-it stderr: 2024-08-08T10:38:21.117+0100 7332fa4006c0 -1 auth: unable to find a keyring on /etc/pve/priv/ceph.client.bootstrap-osd.keyring: (2) No such file or directory2024-08-08T10:38:21.117+0100 7332fa4006c0 -1 AuthRegistry(0x7332f4063ec8) no keyring found at /etc/pve/priv/ceph.client.bootstrap-osd.keyring, disabling cephx stderr: purged osd.0--> RuntimeError: Unable to find any LV for zapping OSD: 0command 'ceph-volume lvm create --data /dev/sdl' failed: exit code 1
 
no keyring found at /etc/pve/priv/ceph.client.bootstrap-osd.keyring
Was this node/cluster set up cleanly through the Web UI or pveceph install? Is it initialized? E.g. the first configuration step has been done in the Web UI or pveceph init has been run with the necessary parameters?

Because if, then these files that are apparatently missing, should all be there.
 
The cluster was setup through Web UI, dont know how to initialize is through WEB UI so i used shell for that and initialized it with respected parameters. What would you suggest? should I remove all configuration and start from scratch ? Also if there are specific instruction and commands to do it. Im using reef no subscription version of Ceph
 

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!