ceph: cannot create monitor: monitor address 'xxx' already in use (500)

kyriazis

Well-Known Member
Oct 28, 2019
96
5
48
Austin, TX
Hello,

I have a monitor node in our cluster that had an ungraceful reboot. After the node came up, the monitor could not join the cluster. After some retries I destroyed the monitor (from the GUI) and recreated it, but still could not join the cluster. I waited about a day "just in case" the issue resolved itself over time, but it didn't. Finally I decided to destroy the monitor again, and remove any possible breadcrumbs in the system; ie. remove the entry from ceph.conf and removed the /var/lib/ceph/mon/<monname> directory.

Trying to recreate the monitor from the GUI give me the error "monitor address 'xxx' already in use (500)".

What else do I need to clean up before I can recreate the monitor?

Thank you!

George
 
(a little bit late but...)

Look in your pve-ceph config /etc/pve/ceph.conf and delete the [mon.XYZ] section containing your address. Also delete your IP from the "mon_host" setting in the [globla] section above.
 
Thanks (even though a bit late)!

I remember trying both of those things back then, but it didn't help. I ended up moving the mon to another node, but it still bugs me that I couldn't find a rational reason why there was an issue.
 

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!