Hey all,
I did a total fresh install of a test cluster on three machines. All the ceph stuff seems to work just fine. I created the pool and added it to pve with
pvesm add rbd firstpool
It shows up in the GUI, but if I look at the contents tab, I get an error
rbd error: rbd: list: (2) No such file or directory (500)
If I try to create a new VM with a disk in that pool, I get the error:
TASK ERROR: unable to create VM 100 - error with cfs lock 'storage-firstpool': rbd error: rbd: list: (2) No such file or directory
On the CLI, things look OK:
root@pve-c3:~# ceph -s
cluster:
id: 0715a097-ae2b-4000-80ba-46aa7462989a
health: HEALTH_OK
services:
mon: 3 daemons, quorum pve-c1,pve-c2,pve-c3
mgr: pve-c1(active), standbys: pve-c2, pve-c3
osd: 19 osds: 19 up, 19 in
data:
pools: 1 pools, 1024 pgs
objects: 0 objects, 0B
usage: 19.2GiB used, 34.5TiB / 34.6TiB avail
pgs: 1024 active+clean
root@pve-c3:~# rados lspools
firstpool
What did I miss? Must be something simple.
root@pve-c3:~# pvesm status
Use of uninitialized value in string eq at /usr/share/perl5/PVE/Storage/RBDPlugin.pm line 519.
Use of uninitialized value $free in addition (+) at /usr/share/perl5/PVE/Storage/RBDPlugin.pm line 525.
Use of uninitialized value $used in addition (+) at /usr/share/perl5/PVE/Storage/RBDPlugin.pm line 525.
Use of uninitialized value $avail in int at /usr/share/perl5/PVE/Storage.pm line 1113.
Use of uninitialized value $used in int at /usr/share/perl5/PVE/Storage.pm line 1114.
Name Type Status Total Used Available %
firstpool rbd active 0 0 0 0.00%
local dir active 18963120 2040708 15936096 10.76%
local-lvm lvmthin active 38039552 0 38039552 0.00%
root@pve-c3:~#
root@pve-c3:~# rados df
POOL_NAME USED OBJECTS CLONES COPIES MISSING_ON_PRIMARY UNFOUND DEGRADED RD_OPS RD WR_OPS WR
firstpool 0B 0 0 0 0 0 0 0 0B 0 0B
total_objects 0
total_used 19.2GiB
total_avail 34.5TiB
total_space 34.6TiB
I did a total fresh install of a test cluster on three machines. All the ceph stuff seems to work just fine. I created the pool and added it to pve with
pvesm add rbd firstpool
It shows up in the GUI, but if I look at the contents tab, I get an error
rbd error: rbd: list: (2) No such file or directory (500)
If I try to create a new VM with a disk in that pool, I get the error:
TASK ERROR: unable to create VM 100 - error with cfs lock 'storage-firstpool': rbd error: rbd: list: (2) No such file or directory
On the CLI, things look OK:
root@pve-c3:~# ceph -s
cluster:
id: 0715a097-ae2b-4000-80ba-46aa7462989a
health: HEALTH_OK
services:
mon: 3 daemons, quorum pve-c1,pve-c2,pve-c3
mgr: pve-c1(active), standbys: pve-c2, pve-c3
osd: 19 osds: 19 up, 19 in
data:
pools: 1 pools, 1024 pgs
objects: 0 objects, 0B
usage: 19.2GiB used, 34.5TiB / 34.6TiB avail
pgs: 1024 active+clean
root@pve-c3:~# rados lspools
firstpool
What did I miss? Must be something simple.
root@pve-c3:~# pvesm status
Use of uninitialized value in string eq at /usr/share/perl5/PVE/Storage/RBDPlugin.pm line 519.
Use of uninitialized value $free in addition (+) at /usr/share/perl5/PVE/Storage/RBDPlugin.pm line 525.
Use of uninitialized value $used in addition (+) at /usr/share/perl5/PVE/Storage/RBDPlugin.pm line 525.
Use of uninitialized value $avail in int at /usr/share/perl5/PVE/Storage.pm line 1113.
Use of uninitialized value $used in int at /usr/share/perl5/PVE/Storage.pm line 1114.
Name Type Status Total Used Available %
firstpool rbd active 0 0 0 0.00%
local dir active 18963120 2040708 15936096 10.76%
local-lvm lvmthin active 38039552 0 38039552 0.00%
root@pve-c3:~#
root@pve-c3:~# rados df
POOL_NAME USED OBJECTS CLONES COPIES MISSING_ON_PRIMARY UNFOUND DEGRADED RD_OPS RD WR_OPS WR
firstpool 0B 0 0 0 0 0 0 0 0B 0 0B
total_objects 0
total_used 19.2GiB
total_avail 34.5TiB
total_space 34.6TiB