2011-12-14 18:47:38 +00:00
|
|
|
=======================
|
|
|
|
OSD class path issues
|
|
|
|
=======================
|
|
|
|
|
|
|
|
::
|
|
|
|
|
|
|
|
2011-12-05 17:41:00.994075 7ffe8b5c3760 librbd: failed to assign a block name for image
|
|
|
|
create error: error 5: Input/output error
|
|
|
|
|
2014-03-08 23:01:40 +00:00
|
|
|
This usually happens because your OSDs can't find ``cls_rbd.so``. They
|
2011-12-14 18:47:38 +00:00
|
|
|
search for it in ``osd_class_dir``, which may not be set correctly by
|
2017-10-23 11:26:28 +00:00
|
|
|
default (http://tracker.ceph.com/issues/1722).
|
2011-12-14 18:47:38 +00:00
|
|
|
|
|
|
|
Most likely it's looking in ``/usr/lib/rados-classes`` instead of
|
|
|
|
``/usr/lib64/rados-classes`` - change ``osd_class_dir`` in your
|
2014-03-08 23:01:40 +00:00
|
|
|
``ceph.conf`` and restart the OSDs to fix it.
|