ceph monitor

ye01

New Member
Sep 28, 2021
6
0
1
33
Hello, im trying to add a host as ceph monitor to the cluster but i always receive the following err : monitor address 'X.X.X.X' already in use (500)
i tryed to destroy it but there is no created monitor id with this address. whoever after checking ceph.conf the monitor is already there.
any idea how to solve this issue ??
 
whoever after checking ceph.conf the monitor is already there.
You mean the IP of that node already shows up in the global section and also has a section for itself? Remove the IP and the separate mon section if it is there.
You can also check if there is a monitor daemon running on that system with systemctl and searching for ceph-mon@<hostname>.
Also make sure there is no /var/lib/ceph/mon/ceph* directory on that node.
 
Hello,
yes there it was no ceph-hostname directory i create it manually and than i generate the data using this :

ceph-mon -i {mon-id} --mkfs --keyring {tmp}/{key-filename}

Thank you anyway :)