[networking-ovs-dpdk]

Elanchezian Settu elanchezian.settu at gigamon.com
Mon Dec 7 13:02:04 UTC 2020


Hi,

Tried ovs-dpdk installation in below setup and noticing it fails with OVS-DPDK initialization timeout problem. Herewith I had attached the local.conf file, which I had used for my setup bring up.

Server: Ubuntu 18.04 latest

OpenStack: Stein

OVS-DPDK: Master

byte-compiling /usr/local/lib/python3.6/dist-packages/networking_ovs_dpdk/agent/ovs_dpdk_firewall.py to ovs_dpdk_firewall.cpython-36.pyc
running install_egg_info
Copying networking_ovs_dpdk.egg-info to /usr/local/lib/python3.6/dist-packages/networking_ovs_dpdk-2015.1.1.dev275-py3.6.egg-info
running install_scripts
/usr/local/lib/python3.6/dist-packages/pbr/packaging.py:410: EasyInstallDeprecationWarning: Use get_header
  header = easy_install.get_script_header("", executable, is_wininst)
++/opt/stack/networking-ovs-dpdk/devstack/plugin.sh:source:35  popd
/opt/stack/ovs
++/opt/stack/networking-ovs-dpdk/devstack/plugin.sh:source:36  start_ovs_dpdk
++/opt/stack/networking-ovs-dpdk/devstack/libs/ovs-dpdk:start_ovs_dpdk:19  '[' -e /etc/init.d/ovs-dpdk ']'
++/opt/stack/networking-ovs-dpdk/devstack/libs/ovs-dpdk:start_ovs_dpdk:20  sudo service ovs-dpdk start
Job for ovs-dpdk.service failed because a timeout was exceeded.
See "systemctl status ovs-dpdk.service" and "journalctl -xe" for details.
+/opt/stack/networking-ovs-dpdk/devstack/libs/ovs-dpdk:start_ovs_dpdk:1  exit_trap
+./stack.sh:exit_trap:528                  local r=1
++./stack.sh:exit_trap:529                  jobs -p
+./stack.sh:exit_trap:529                  jobs=
+./stack.sh:exit_trap:532                  [[ -n '' ]]
+./stack.sh:exit_trap:538                  '[' -f '' ']'
+./stack.sh:exit_trap:543                  kill_spinner
+./stack.sh:kill_spinner:438               '[' '!' -z '' ']'
+./stack.sh:exit_trap:545                  [[ 1 -ne 0 ]]
+./stack.sh:exit_trap:546                  echo 'Error on exit'
Error on exit
+./stack.sh:exit_trap:548                  type -p generate-subunit
+./stack.sh:exit_trap:549                  generate-subunit 1607341696 1042 fail
+./stack.sh:exit_trap:551                  [[ -z /opt/stack/logs/screen ]]
+./stack.sh:exit_trap:554                  /home/ubuntu/devstack/tools/worlddump.py -d /opt/stack/logs/screen
Traceback (most recent call last):
  File "/home/ubuntu/devstack/tools/worlddump.py", line 255, in <module>
    sys.exit(main())
  File "/home/ubuntu/devstack/tools/worlddump.py", line 239, in main
    sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 0)
  File "/usr/lib/python3.6/os.py", line 1017, in fdopen
    return io.open(fd, *args, **kwargs)
ValueError: can't have unbuffered text I/O
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'>
OSError: [Errno 9] Bad file descriptor
ubuntu at ubuntu:~/devstack$
ubuntu at ubuntu:~/devstack$ systemctl status ovs-dpdk.service
● ovs-dpdk.service - LSB: Open vSwitch DPDK
   Loaded: loaded (/etc/init.d/ovs-dpdk; generated)
   Active: failed (Result: timeout) since Mon 2020-12-07 12:05:38 UTC; 15s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 21377 ExecStart=/etc/init.d/ovs-dpdk start (code=killed, signal=TERM)
    Tasks: 2 (limit: 9830)
   CGroup: /system.slice/ovs-dpdk.service
           ├─21984 sudo ovs-vsctl --may-exist add-port br-enp24s0f1 enp24s0f1 -- set Interface enp24s0f1 type=dpdk options:dpdk-devargs=0000:18:00.1 other_config:pci_address=0000:18:00.1 other_config:driver=igb_uio other_config:p
           └─21985 ovs-vsctl --may-exist add-port br-enp24s0f1 enp24s0f1 -- set Interface enp24s0f1 type=dpdk options:dpdk-devargs=0000:18:00.1 other_config:pci_address=0000:18:00.1 other_config:driver=igb_uio other_config:previo

Dec 07 12:00:41 ubuntu sudo[21775]:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/opt/stack/DPDK-v18.11/usertools/dpdk-devbind.py -b igb_uio 0000:5e:00.1
Dec 07 12:00:41 ubuntu sudo[21775]: pam_unix(sudo:session): session opened for user root by (uid=0)
Dec 07 12:00:42 ubuntu sudo[21775]: pam_unix(sudo:session): session closed for user root
Dec 07 12:00:42 ubuntu ovs-dpdk[21377]: add-port command: ovs-vsctl --may-exist add-port br-enp24s0f1 enp24s0f1 -- set Interface enp24s0f1 type=dpdk options:dpdk-devargs=0000:18:00.1 other_config:pci_address=0000:18:00.1
Dec 07 12:00:42 ubuntu sudo[21984]:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/ovs-vsctl --may-exist add-port br-enp24s0f1 enp24s0f1 -- set Interface enp24s0f1 type=dpdk options:dpdk-devargs=0000:18:00.1 other_
Dec 07 12:00:42 ubuntu sudo[21984]: pam_unix(sudo:session): session opened for user root by (uid=0)
Dec 07 12:00:42 ubuntu ovs-vsctl[21985]: ovs|00001|vsctl|INFO|Called as ovs-vsctl --may-exist add-port br-enp24s0f1 enp24s0f1 -- set Interface enp24s0f1 type=dpdk options:dpdk-devargs=0000:18:00.1 other_config:pci_address=0000:18
Dec 07 12:05:38 ubuntu systemd[1]: ovs-dpdk.service: Start operation timed out. Terminating.
Dec 07 12:05:38 ubuntu systemd[1]: ovs-dpdk.service: Failed with result 'timeout'.
Dec 07 12:05:38 ubuntu systemd[1]: Failed to start LSB: Open vSwitch DPDK.
ubuntu at ubuntu:~/devstack$

Thanks & Regards,
Elan
This message may contain confidential and privileged information. If it has been sent to you in error, please reply to advise the sender of the error and then immediately delete it. If you are not the intended recipient, do not read, copy, disclose or otherwise use this message. The sender disclaims any liability for such unauthorized use. NOTE that all incoming emails sent to Gigamon email accounts will be archived and may be scanned by us and/or by external service providers to detect and prevent threats to our systems, investigate illegal or inappropriate behavior, and/or eliminate unsolicited promotional emails (“spam”).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20201207/b9d6212a/attachment-0001.html>


More information about the openstack-discuss mailing list