Hello,
Yesterday I updated my proxmox from 5.4 to 6.
Than i update my ceph.
Now when i try to add a OSD I get this error :
Running command: /usr/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: 2019-12-05 20:47:59.421 7f2dd282c700 -1 auth: unable to find a keyring on /etc/pve/priv/ceph.client.bootstrap-osd.keyring: (2) No such file or directory
2019-12-05 20:47:59.421 7f2dd282c700 -1 AuthRegistry(0x7f2dcc080208) no keyring found at /etc/pve/priv/ceph.client.bootstrap-osd.keyring, disabling cephx
stderr: purged osd.0
--> RuntimeError: unable to use device
my /etc/pve/ceph.conf:
[global]
auth_client_required = cephx
auth_cluster_required = cephx
auth_service_required = cephx
cluster_network = 192.168.2.0/24
fsid = e24ab9b2-6d63-4c87-bc2c-4a1c0a7fe3f6
mon_allow_pool_delete = true
osd_journal_size = 2000
osd_pool_default_min_size = 2
osd_pool_default_size = 3
public_network = 192.168.2.0/24
[client]
keyring = /etc/pve/priv/$cluster.$name.keyring
[mds]
keyring = /var/lib/ceph/mds/ceph-$id/keyring
[mds.home3]
host = home3
mds standby for name = pve
[mds.home1]
host = home1
mds_standby_for_name = pve
[mon.home2]
host = home2
mon_addr = 192.168.2.61:6789
[mon.home1]
host = home1
mon_addr = 192.168.2.60:6789
[mon.home3]
host = home3
mon_addr = 192.168.2.62:6789
I'm not sure what I'm missing.
Yesterday I updated my proxmox from 5.4 to 6.
Than i update my ceph.
Now when i try to add a OSD I get this error :
Running command: /usr/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: 2019-12-05 20:47:59.421 7f2dd282c700 -1 auth: unable to find a keyring on /etc/pve/priv/ceph.client.bootstrap-osd.keyring: (2) No such file or directory
2019-12-05 20:47:59.421 7f2dd282c700 -1 AuthRegistry(0x7f2dcc080208) no keyring found at /etc/pve/priv/ceph.client.bootstrap-osd.keyring, disabling cephx
stderr: purged osd.0
--> RuntimeError: unable to use device
my /etc/pve/ceph.conf:
[global]
auth_client_required = cephx
auth_cluster_required = cephx
auth_service_required = cephx
cluster_network = 192.168.2.0/24
fsid = e24ab9b2-6d63-4c87-bc2c-4a1c0a7fe3f6
mon_allow_pool_delete = true
osd_journal_size = 2000
osd_pool_default_min_size = 2
osd_pool_default_size = 3
public_network = 192.168.2.0/24
[client]
keyring = /etc/pve/priv/$cluster.$name.keyring
[mds]
keyring = /var/lib/ceph/mds/ceph-$id/keyring
[mds.home3]
host = home3
mds standby for name = pve
[mds.home1]
host = home1
mds_standby_for_name = pve
[mon.home2]
host = home2
mon_addr = 192.168.2.61:6789
[mon.home1]
host = home1
mon_addr = 192.168.2.60:6789
[mon.home3]
host = home3
mon_addr = 192.168.2.62:6789
I'm not sure what I'm missing.