Yes, we need to update LNST. The latest pyroute changes include reorganization of the
code. Will post a patch soon.
----- Original Message -----
ccing mainling list
Wed, Oct 15, 2014 at 05:34:37AM CEST, zhchen(a)redhat.com wrote:
>Hello,
>
>I found an issue when starting lnst-ctl / lnst-slave
>
> [root@hp-dl385g7-02 lnst]# ./lnst-slave
> Traceback (most recent call last):
> File "./lnst-slave", line 20, in <module>
> from lnst.Common.Config import lnst_config
> File "/root/lnst/lnst/Common/Config.py", line 19, in <module>
> from lnst.Common.NetUtils import verify_ip_address, verify_mac_address
> File "/root/lnst/lnst/Common/NetUtils.py", line 23, in <module>
> from pyroute2.netlink.iproute import RTM_GETLINK
> ImportError: No module named iproute
>
>After investigation, I believe it caused by latest pyroute2 (version 0.3.1),
>which is uploaded at 2014-10-11.
https://pypi.python.org/pypi/pyroute2
>
> [root@hp-dl385g7-02 lnst]# easy_install pyroute2
> Searching for pyroute2
> Best match: pyroute2 0.3.1
> Processing pyroute2-0.3.1-py2.7.egg
> pyroute2 0.3.1 is already the active version in easy-install.pth
>
> Using /usr/lib/python2.7/site-packages/pyroute2-0.3.1-py2.7.egg
> Processing dependencies for pyroute2
> Finished processing dependencies for pyroute2
>
>Currently my workaround is
>
> easy_install pyroute2==0.2.16
>
>Not sure if it's a pyroute2 bug, or need modify LNST.
>
>--
>Thanks & Regards,
>Zhenjie Chen
>IRC: zhchen @ #kernel-qe #eng-china
_______________________________________________
LNST-developers mailing list
LNST-developers(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/lnst-developers