Thu, Sep 27, 2018 at 03:40:51PM CEST, sandeepkishan108(a)gmail.com wrote:
Hi,
On Thu, Sep 27, 2018, 5:46 PM Jan Tluka <jtluka(a)redhat.com> wrote:
> Thu, Sep 27, 2018 at 01:50:25PM CEST, jtluka(a)redhat.com wrote:
> >You should be able to do so by running (both on slaves and controller):
> >pip2 install pyroute2=0.4.10
> >
>
> Ah, it should be pip2 install pyroute2==0.4.10
>
It did not resolved the issue for me. Even it introduced error *Generic
netlink protocol devlink not found*
You're right. I forgot to ask you to update also LNST as I tried with
most recent version. Please uninstall the lnst/lnst-ctl/lnst-slave and
follow this guide to install the LNST from sources:
https://github.com/jpirko/lnst/wiki/Installation-Guide#2-pythons-distutils
>I have tried all the versions from 0.3 to 0.4.9. Versions from 0.3 to
>0.4.9 did not result the below error but still hang issue is there.
>
>root@ubuntu:~# sudo pip2 install pyroute2==0.4.10
>The directory '/home/ubuntu/.cache/pip/http' or its parent directory is not
>owned by the current user and the cache has been disabled. Please check the
>permissions and owner of that directory. If executing pip with sudo, you
>may want sudo's -H flag.
>The directory '/home/ubuntu/.cache/pip' or its parent directory is not
>owned by the current user and caching wheels has been disabled. check the
>permissions and owner of that directory. If executing pip with sudo, you
>may want sudo's -H flag.
>Collecting pyroute2==0.4.10
> Downloading
>https://files.pythonhosted.org/packages/ee/64/e902224fa61b983f016a6fe5b418af879080f84efcb0686c94f2eb152bb1/pyroute2-0.4.10.tar.gz
> (184kB)
> 100% |████████████████████████████████| 194kB 1.1MB/s
>Installing collected packages: pyroute2
> Found existing installation: pyroute2 0.4.9
> Uninstalling pyroute2-0.4.9:
> Successfully uninstalled pyroute2-0.4.9
> Running setup.py install for pyroute2 ... done
>Successfully installed pyroute2-0.4.10
>root@tegra-ubuntu:~# lnst-slave -d
>Loading config file '/etc/lnst-slave.conf'
>2018-09-27 13:29:46 (localhost) - INFO: Started
>2018-09-27 13:29:46 (localhost) - INFO: Using RPC port 9999.
>2018-09-27 13:29:46 (localhost) - ERROR: Generic netlink
>protocol devlink not found
>2018-09-27 13:29:46 (localhost) - ERROR: Please check if the
>protocol module is loaded
>2018-09-27 13:29:46 (localhost) - DEBUG: Executing: "ethtool
>-i eth0"
>2018-09-27 13:29:46 (localhost) - DEBUG: Executing: "ethtool
>-i sit0"
>2018-09-27 13:29:46 (localhost) - DEBUG: Executing: "ethtool
>-i ip6tnl0"
>2018-09-27 13:29:46 (localhost) - DEBUG: Executing: "ethtool
>-i ip6gre0"
>2018-09-27 13:29:46 (localhost) - DEBUG: Executing: "ethtool
>-i enx0023563c4966"
>2018-09-27 13:29:46 (localhost) - DEBUG: Executing: "ethtool
>-i can0"
>2018-09-27 13:29:46 (localhost) - DEBUG: Executing: "ethtool
>-i can1"
>2018-09-27 13:29:46 (localhost) - DEBUG: Executing: "ethtool
>-i enp3s0"
>2018-09-27 13:29:46 (localhost) - DEBUG: Executing: "ethtool
>-i eth0.200"
>2018-09-27 13:29:46 (localhost) - DEBUG: Executing: "ethtool
>-i docker0"
>2018-09-27 13:29:46 (localhost) - ERROR: Generic netlink
>protocol devlink not found
>2018-09-27 13:29:46 (localhost) - ERROR: Please check if the
>protocol module is loaded
>2018-09-27 13:29:46 (localhost) - DEBUG: Test cache index
>loaded
>2018-09-27 13:29:46 (localhost) - INFO: Waiting for
>connection.
>2018-09-27 13:29:59 (localhost) - INFO: Recieved connection
>from 10.0.0.1
>2018-09-27 13:29:59 (localhost) - INFO: Waiting for
>connection.
>2018-09-27 13:29:59 (localhost) - INFO: Recieved connection
>from 10.0.0.1
>2018-09-27 13:29:59 (localhost) - WARNING:
>===================================
>2018-09-27 13:29:59 (localhost) - WARNING: NO SECURE CHANNEL
>SETUP IS IN PLACE
>2018-09-27 13:29:59 (localhost) - WARNING: ALL COMMUNICATION
>IS IN PLAINTEXT
>2018-09-27 13:29:59 (localhost) - WARNING:
>===================================
>2018-09-27 13:29:59 (localhost) - INFO: Performing machine
>cleanup.
>2018-09-27 13:29:59 (localhost) - DEBUG: Cleaning up
>leftover processes.
>2018-09-27 13:29:59 (localhost) - INFO: Restoring system
>configuration
>2018-09-27 13:29:59 (localhost) - INFO: Recieved a
>controller connection.
>2018-09-27 13:29:59 (localhost) - DEBUG: Executing: "ethtool
>-i sit0"
>2018-09-27 13:29:59 (localhost) - DEBUG: Executing: "ethtool
>-i ip6tnl0"
>2018-09-27 13:29:59 (localhost) - DEBUG: Executing: "ethtool
>-i ip6gre0"
>2018-09-27 13:29:59 (localhost) - ERROR: Generic netlink
>protocol devlink not found
>2018-09-27 13:29:59 (localhost) - ERROR: Please check if the
>protocol module is loaded
>2018-09-27 13:30:00 (localhost) - DEBUG: Executing: "uname
>-r"
>2018-09-27 13:30:00 (localhost) - DEBUG: Executing: "cat
>/etc/redhat-release"
>2018-09-27 13:30:00 (localhost) - DEBUG: Executing: "ethtool
>-i sit0"
>2018-09-27 13:30:00 (localhost) - DEBUG: Executing: "ethtool
>-i ip6tnl0"
>2018-09-27 13:30:00 (localhost) - DEBUG: Executing: "ethtool
>-i ip6gre0"
>2018-09-27 13:30:00 (localhost) - ERROR: Generic netlink
>protocol devlink not found
>2018-09-27 13:30:00 (localhost) - ERROR: Please check if the
>protocol module is loaded
>2018-09-27 13:30:00 (localhost) - DEBUG: Executing: "ip link
>set eth0 down"
>
>Thanks!
>
>>