Bug 891993 - OSDs attempt to load libcls_rbd.so, which does not exist
Summary: OSDs attempt to load libcls_rbd.so, which does not exist
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ceph
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Boris Ranto
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-04 19:10 UTC by Patrick Barnes
Modified: 2014-08-17 17:10 UTC (History)
10 users (show)

Fixed In Version: 1:ceph-0.80.5-6.fc22
Clone Of:
Environment:
Last Closed: 2014-08-17 17:10:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Patrick Barnes 2013-01-04 19:10:46 UTC
Description of problem:
For RBD features, Ceph OSD processes attempt to load /usr/lib{,64}/rados-classes/libcls_rbd.so, which does not exist.

Version-Release number of selected component (if applicable):
ceph-libs-0.46-1.fc18.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Configure a Ceph cluster
2. Start the cluster
3. Attempt to use RBD features

These commands should each be able to create RBD images:

rbd -p rbd create test --size 1024
qemu-img convert -p -f raw -O rbd test.qcow2 rbd:rbd/test

Actual results:
Input/output error

Expected results:
RBD functions should work; the above command should create an image in the cluster.

Additional info:
Creating a symlink from libcls_rbd.so to /usr/lib64/rados-classes/libcls_rbd.so.1.0.0 and restarting the OSD services gets RBD functions working correctly.

Comment 1 Matthew Richardson 2013-04-11 15:09:28 UTC
Experiencing same bug (and same solution) using ceph-libs-0.56.4-1.el6.x86_64.rpm from epel-testing.

With 0.56, some commands function correctly (ceph osd lspools, rbd ls etc) but others fail (rbd info foo) until this symlink is created.

Comment 2 Patrick Barnes 2013-08-30 08:34:56 UTC
This problem is still present in ceph-0.61.7-1.fc19.x86_64. This is specific to these RPMs - it does not affect versions of Ceph built from source or RPMs built using the Ceph project's spec file.

Comment 3 Michael Schwendt 2013-09-11 12:20:27 UTC
The missing file is misplaced in the -devel package. Fixed committed to Rawhide when I wanted to apply general cleanup for other issues, but noticed several mistakes. Someone would need to port the fixes to F20, F19 and F18.

ceph in Fedora would benefit from some co-maintainers.

Comment 4 Fedora End Of Life 2013-12-21 10:11:07 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 5 Fedora End Of Life 2014-02-05 14:24:08 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 6 Michael Schwendt 2014-02-06 01:04:29 UTC
This has been broken again in 0.72.2-1 by moving the .so files again. :-/

http://pkgs.fedoraproject.org/cgit/ceph.git/commit/?id=c523b37b4da8c0df2c5273a8c6ad44d1a9b28658

Comment 7 Michael Schwendt 2014-02-06 01:06:16 UTC
> - Move unversioned shared libs from ceph-libs into ceph-devel

Please re-review this part of the commit.

Comment 8 Ken Dreyer 2014-02-06 01:09:57 UTC
Hi folks, Please accept my apologies for causing the regression. I will revert this part of the commit and add a big warning to future maintainers to avoid this.

Comment 9 Ken Dreyer 2014-02-06 15:34:51 UTC
The plugins are back in -libs in 0.72.2-2.

Change in Git: http://pkgs.fedoraproject.org/cgit/ceph.git/commit/?id=4c912aebbb4cff1049f693bcb2a5a7d2ace114ea

Rawhide (F21) build: http://koji.fedoraproject.org/koji/taskinfo?taskID=6499261

Comment 10 John Morris 2014-04-22 16:06:44 UTC
Can this bug be fixed in current Fedoras, 19 and 20?

Comment 11 Fedora Admin XMLRPC Client 2014-05-13 17:09:39 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 12 Fedora Admin XMLRPC Client 2014-08-14 17:41:20 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 13 Boris Ranto 2014-08-17 17:10:13 UTC
Afaik, this should already be fixed in latest rawhide, I've also sent the requests to update f19, f20 and el6 packages (if it is not fixed there, yet).


Note You need to log in before you can comment on or make changes to this bug.