Re: Ceph Import Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I mean setup a Ceph cluster after compiling from source and make install. I usually use the long form to setup the cluster. The mon setup is fine but when I create an OSD using ceph osd create or even check the status using ceph -s after the monitor is setup, I get this error. The PATH, LD_LIBRARY_PATH and PYTHONPATH have been set accordingly.

Thanks
Aakanksha
-----Original Message-----
From: John Spray [mailto:jspray@xxxxxxxxxx] 
Sent: Wednesday, December 21, 2016 2:24 AM
To: Aakanksha Pudipeddi
Cc: ceph-users
Subject: Re:  Ceph Import Error

On Tue, Dec 20, 2016 at 11:32 PM, Aakanksha Pudipeddi <aakanksha.pu@xxxxxxxxxxx> wrote:
> I am trying to setup kraken from source and I get an import error on 
> using the ceph command:
>
>
>
> Traceback (most recent call last):
>
>   File "/home/ssd/src/vanilla-ceph/ceph-install/bin/ceph", line 112, 
> in <module>
>
>     from ceph_argparse import \
>
> ImportError: cannot import name descsort_key
>
>
>
> The python path is correctly pointing to the location of ceph_argparse 
> but I want to know if it is a known error. On looking online, I found 
> that this is generally a result of circular dependencies, although of 
> what, I do not know yet. Any help would be appreciated.

Not sure what you mean by "setup from source" in this case -- are you trying to install Ceph system wide, or are you trying to run it out of your source tree?

What is the overall command (including PYTHONPATH etc) that you are trying to run?

John


>
>
> Thanks!
>
> Aakanksha
>
>
>
>
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux