Hello,
i am trying to get ceph up and running again after migrating proxmox v5 to v6 on 3 nodes.
After the upgrade the old lumious setup didn't work anymore due to 2 "ghost" monitors (mon.0 and mon.1).
I couldn't remove them and the GUI says "mon_command failed - command not known (500) ".
So i purged ceph and start from scratch like in this thread:
https://forum.proxmox.com/threads/reinstall-ceph-on-proxmox-6.57691/page-2#post-298616
Now i have ceph nautilus installed and the can add monitors, managers and mds.
But i cannot recreate my osds:
This command worked before upgrading.
The file /var/lib/ceph/bootstrap-osd/ceph.keyring was missing after purging and reinstalling.
So recreated it:
But i didn't make a difference.
Thx for any hints and regards
nowrap
i am trying to get ceph up and running again after migrating proxmox v5 to v6 on 3 nodes.
After the upgrade the old lumious setup didn't work anymore due to 2 "ghost" monitors (mon.0 and mon.1).
I couldn't remove them and the GUI says "mon_command failed - command not known (500) ".
So i purged ceph and start from scratch like in this thread:
https://forum.proxmox.com/threads/reinstall-ceph-on-proxmox-6.57691/page-2#post-298616
Now i have ceph nautilus installed and the can add monitors, managers and mds.
But i cannot recreate my osds:
Bash:
ceph-volume lvm create --filestore --data /dev/sdc2 --journal /dev/sda3
Running command: /usr/bin/ceph-authtool --gen-print-key
Running command: /usr/bin/ceph --cluster ceph --name client.bootstrap-osd --keyring /var/lib/ceph/bootstrap-osd/ceph.keyring -i - osd new 744dd792-33a4-4d8f-a495-33eb0992afbf
stderr: [errno 1] error connecting to the cluster
--> RuntimeError: Unable to create a new OSD id
This command worked before upgrading.
The file /var/lib/ceph/bootstrap-osd/ceph.keyring was missing after purging and reinstalling.
So recreated it:
Bash:
ceph-authtool --create-keyring /var/lib/ceph/bootstrap-osd/ceph.keyring --gen-key -n client.bootstrap-osd --cap mon 'profile bootstrap-osd'
ceph-authtool /etc/pve/priv/ceph.mon.keyring --import-keyring /var/lib/ceph/bootstrap-osd/ceph.keyring
But i didn't make a difference.
Thx for any hints and regards
nowrap