Ceph How to connect to External RBD w/o auth

elurex

Active Member
Oct 28, 2015
204
15
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: