issuing rbd commands with an external ceph cluster

alexskysilk

Distinguished Member
Oct 16, 2015
1,671
306
153
Chatsworth, CA
www.skysilk.com
Good day all-

I have a standalone node that uses storage on an external proxmox/ceph cluster. it works just fine, but I am unable to run any rbd commands from the guest- I get the following error:

Code:
[root@dev1 pve]$ rbd -p rbd-dev ls
unable to get monitor info from DNS SRV with service name: ceph-mon
rbd: couldn't connect to the cluster!
rbd: listing images failed: (2) No such file or directory
2023-09-22T07:43:38.761-0700 7f48b5c66500 -1 failed for service _ceph-mon._tcp
2023-09-22T07:43:38.761-0700 7f48b5c66500 -1 monclient: get_monmap_and_config cannot identify monitors to contact

now obviously pveproxy is able to issue rbd command so I know I'm missing some context or switch, but I cant figure it out (or havent so far.) what am I missing?
 

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!