Re: [ceph-users] Ceph built from source gives Rados import error

2017-04-25 Thread Henry Ngo
Mine is at /usr/local/lib/x86_64-linux-gnu/librados.so.2 I moved the libraries to /usr/lib/x86_64-linux-gnu however I'm still getting the error when running ceph -v $ ceph -v Traceback (most recent call last): File "/usr/local/bin/ceph", line 106, in import rados ImportError: No module

Re: [ceph-users] Ceph built from source gives Rados import error

2017-04-21 Thread Henry Ngo
Hi Alvaro, I also have another cluster that was built using ceph-deploy with no issues. I'll do some more digging, just want to check it's not a known bug in the source. On Apr 21, 2017 3:52 PM, "Alvaro Soto" wrote: > Henry, > The last mail output was a Hammer installation. > > $ ceph -v > > ce

Re: [ceph-users] Ceph built from source gives Rados import error

2017-04-21 Thread Alvaro Soto
Henry, The last mail output was a Hammer installation. $ ceph -v ceph version 0.94.3 (95cefea9fd9ab740263bf8bb4796fd864d9afe2b) This is the output in Jewel root@ceph01:~# ceph -v ceph version 10.2.6 (656b5b63ed7c43bd014bcafd81b001959d5f089f) root@ceph01:~# (strace ceph -s > myout) >& myerror

Re: [ceph-users] Ceph built from source gives Rados import error

2017-04-21 Thread Alvaro Soto
Henry, Because you compiled the sources, don't know where the librados is, but you cant find when is it called and go for there, maybe the error is not that is not properly imported, maybe is not where is suppose to be. $ (strace ceph -s > myout) >& myerror $ cat myerror | grep librados.so.2 The

[ceph-users] Ceph built from source gives Rados import error

2017-04-21 Thread Henry Ngo
Hi all, I built from source and proceeded to do a manual deployment starting on the Mon. I'm getting the error shown below and it appears that Rados has not been properly imported. How do I fix this? Best, Henry N. cephadmin@node1:/var/lib/ceph/mon/ceph-node1$ sudo /etc/init.d/ceph start mon.nod