Ceph How to connect to External RBD w/o auth

elurex

Active Member
Oct 28, 2015
204
14
38
Taiwan
I have an external ceph storage cluster and its /etc/ceph/ceph.conf has following options with sets auth =none

Code:
[global]
         auth client required = none
         auth cluster required = none
         auth service required = none
          .......

my storage configuration Example for a external Ceph cluster (/etc/pve/storage.cfg) as follow
Code:
rbd: rbd
        monhost 10.0.1.101
        pool rbd
        content images
        username admin

and pve is not able to see the ceph rbd pool at all and I have cp client.admin.keyring to /etc/pve/priv/ceph/rbd.keyring

I have tried to remove username admin also without sucess.

howerver, I am able to run rbd command without issue
Code:
root@pve1:/etc/pve# rbd -m 10.0.1.101 create test-disk-1 --size 32G
root@pve1:/etc/pve# rbd -m 10.0.1.101 ls
test-disk-1
root@pve1:/etc/pve# rbd list
test-disk-1
root@pve1:/etc/pve# rbd map test-disk-1
/dev/rbd0

how to make this configuration works with proxmox storage plugin for ceph external rbd?

On the GUI it shows
2018-06-22_14-16-19.jpg
 
Last edited:

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!