Description of problem:
The default OSD class directory is set to /usr/lib/rados-classes, but the RPM build installs the plugins in /usr/lib64/rados-classes on my archs.
This means that OSD lacks any ability to use RBD.
As a temporary hack I can override it with this in ceph.conf:
osd class dir = /usr/lib64/rados-classes
but the out of the box config ought to be fixed.
Version-Release number of selected component (if applicable):
ceph-0.31-4.fc17.x86_64 (also affects f16)
Only on 64-bit hosts with /usr/lib64
Steps to Reproduce:
1. Setup a Ceph cluster
2. Attempt to create a RBD image
# rbd create demo2 --size 10
2011-10-12 13:45:38.657797 7f0b9add9740 librbd: failed to assign a block name for image
create error: Input/output error
Upstream has a fix for it here
b/c upstream has a fix for it (and it appears that fix is in 0.37 - a simple version upgrade should fix.