Hi all,
I'm getting the error: "rbd error: rbd: couldn't connect to the cluster!" when i create a VM with rbd storage from GUI.
I have installed the client keyring in /etc/pve/priv/ceph/my-ceph-storage.keyring.
# rbd ls -p images #returns no error. The "images" is the pool I have created.
#
cat /etc/pve/storage.cfg
....
rbd: rdbvms
monhost 10.102.247.145 10.102.247.146 10.102.247.147
content rootdir,images
krbd 0
pool images
username admin
I have also tried to create the ceph storage with:
monhost 10.102.247.145;10.102.247.146;10.102.247.147 (semicolon instead of spaces)
or with port numbers
root@pve1:~# ceph -s
cluster:
id: a7c8f4a9-daa3-413c-8b43-6b1067c4a18e
health: HEALTH_OK
services:
mon: 3 daemons, quorum 0,1,2
mgr: 0(active), standbys: 1, 2
osd: 12 osds: 12 up, 12 in
data:
pools: 1 pools, 512 pgs
objects: 0 objects, 0 bytes
usage: 12803 MB used, 382 GB / 394 GB avail
pgs: 512 active+clean
Any ideas? Any tests I can do to find the issue?
Thanx,
Spiros
I'm getting the error: "rbd error: rbd: couldn't connect to the cluster!" when i create a VM with rbd storage from GUI.
I have installed the client keyring in /etc/pve/priv/ceph/my-ceph-storage.keyring.
# rbd ls -p images #returns no error. The "images" is the pool I have created.
#
cat /etc/pve/storage.cfg
....
rbd: rdbvms
monhost 10.102.247.145 10.102.247.146 10.102.247.147
content rootdir,images
krbd 0
pool images
username admin
I have also tried to create the ceph storage with:
monhost 10.102.247.145;10.102.247.146;10.102.247.147 (semicolon instead of spaces)
or with port numbers
root@pve1:~# ceph -s
cluster:
id: a7c8f4a9-daa3-413c-8b43-6b1067c4a18e
health: HEALTH_OK
services:
mon: 3 daemons, quorum 0,1,2
mgr: 0(active), standbys: 1, 2
osd: 12 osds: 12 up, 12 in
data:
pools: 1 pools, 512 pgs
objects: 0 objects, 0 bytes
usage: 12803 MB used, 382 GB / 394 GB avail
pgs: 512 active+clean
Any ideas? Any tests I can do to find the issue?
Thanx,
Spiros
Last edited: