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" <[email protected]> wrote:

> 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
>
> root@ceph01:~# cat myerror | grep librados
>
> open("/usr/lib/librados.so.2", O_RDONLY|O_CLOEXEC) = 4
>
>
> None are compiled installations.
>
> Best.
>
> On Fri, Apr 21, 2017 at 5:28 PM, Alvaro Soto <[email protected]> wrote:
>
>> 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 output in my case of the second command is the next, but I didn't
>> build from source.
>>
>> open("/usr/lib/x86_64-linux-gnu/librados.so.2", O_RDONLY|O_CLOEXEC) = 3
>>
>>
>> Did you try to find the library in your system? to see if is other
>> location?, my system output:
>>
>> $ locate librados.so.2
>>
>> /usr/lib/x86_64-linux-gnu/librados.so.2
>>
>> /usr/lib/x86_64-linux-gnu/librados.so.2.0.0
>>
>>
>> Best.
>>
>> On Fri, Apr 21, 2017 at 5:00 PM, Henry Ngo <[email protected]> wrote:
>>
>>> 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.node1
>>>
>>> cephadmin@node1:/var/lib/ceph/mon/ceph-node1$ ceph osd lspools
>>>
>>> Traceback (most recent call last):
>>>
>>>   File "/usr/local/bin/ceph", line 106, in <module>
>>>
>>>     import rados
>>>
>>> ImportError: librados.so.2: cannot open shared object file: No such file
>>> or directory
>>>
>>> cephadmin@node1:/var/lib/ceph/mon/ceph-node1$ which rados
>>>
>>> /usr/local/bin/rados
>>>
>>> cephadmin@node1:/var/lib/ceph/mon/ceph-node1$ ceph -v
>>>
>>> Traceback (most recent call last):
>>>
>>>   File "/usr/local/bin/ceph", line 106, in <module>
>>>
>>>     import rados
>>>
>>> ImportError: librados.so.2: cannot open shared object file: No such file
>>> or directory
>>>
>>> cephadmin@node1:/var/lib/ceph/mon/ceph-node1$
>>>
>>>
>>>
>>> _______________________________________________
>>> ceph-users mailing list
>>> [email protected]
>>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>>
>>>
>>
>>
>> --
>>
>> ATTE. Alvaro Soto Escobar
>>
>> ----------------------------------------------------------
>> Great people talk about ideas,
>> average people talk about things,
>> small people talk ... about other people.
>>
>
>
>
> --
>
> ATTE. Alvaro Soto Escobar
>
> ----------------------------------------------------------
> Great people talk about ideas,
> average people talk about things,
> small people talk ... about other people.
>
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to