Adding new servers to Proxmox/Ceph cluster cannot access the Shared RBD datastore

cryptworks

New Member
Apr 20, 2015
2
0
1
Tempe AZ
I have been working with Proxmox and Ceph and have really liked both in combination. However I have run into a stumbling block and really do not know what my next steps are.

Issue I am running into:

5 server Proxmox cluster All Fenced, All Configured in Ceph. All working beautifully.
Add 2 new servers to the cluster, they joined the cluster and seem ot be reasonably happy, i was able to join them as Ceph monitors, and that works great, but the RBD datastore comes up with the festive rbd error: rbd: couldn't connect to the cluster! (500). I have no added any OSD's on these new servers as they are not meant to host anything. but i did like the additional information adding them as a ceph monitor, wich is why i did it.

What i want to know is where i can look to get more details as to WHY it is failing? I really would like to work this out (its educational) but i am running out of ideas where ot find the reason they cannot connect to the ceph pool, because everything ceph related i can do from the CLI works fine.
 
So I found my own Solution, I still do not know where these errors would be logged so if someone can help me with that it would be great.

So my answer was a footnote on this page, https://pve.proxmox.com/wiki/Storage:_Ceph

Code:
[h=2]Manual configuration edit[/h] edit your /etc/pve/storage.cfg and add the configuration 
 rbd: mycephcluster
       monhost 192.168.0.1:6789;192.168.0.2:6789;192.168.0.3:6789
       pool rbd  (optional, default =r rbd)
       username admin (optional, default = admin)
       content images
note: you must use ip (not dns fqdn) for monhost

The last line "note: you must use ip (not dns fqdn) for monhost" manually made the edit to change from fqdn to IP and it started working across all hosts.

So aside fome being able to find error logging can anyone tell me why this fails, and why i would need to use Ip over fqdn? and why it would work then not work?
 

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!