[Bug 1568627] Re: OpenvSwitch with DPDK brings all VirtIO NICs down, software reboot also doesn't work.
Marking this bug as Fix Released - newer versions of OVS don't slurp all capable devices by default any longer. ** Changed in: openvswitch (Ubuntu) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1568627 Title: OpenvSwitch with DPDK brings all VirtIO NICs down, software reboot also doesn't work. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1568627/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1568627] Re: OpenvSwitch with DPDK brings all VirtIO NICs down, software reboot also doesn't work.
Setting to Triaged but only low as it is documented, just not in that conf file. ** Changed in: openvswitch (Ubuntu) Status: New => Triaged ** Changed in: openvswitch (Ubuntu) Status: Triaged => Invalid ** Changed in: openvswitch (Ubuntu) Importance: Undecided => Low ** Changed in: openvswitch (Ubuntu) Status: Invalid => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1568627 Title: OpenvSwitch with DPDK brings all VirtIO NICs down, software reboot also doesn't work. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1568627/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1568627] Re: OpenvSwitch with DPDK brings all VirtIO NICs down, software reboot also doesn't work.
Hi Thiago, as James said this is a known dpdk behaviour - not special to OpenVswitch. Any other DPDK tool like l2fwd or such would have killed you just the same. We documented it in the serverguide. No release for 16.04 yet but you can take a look at http://bazaar.launchpad.net/~ubuntu-core-doc/serverguide/trunk/view/head:/serverguide/C/network-config.xml Maybe you can bzr branch lp:serverguide and render it for yourself until it is released. It contains all the pitfalls I found so far. Most of the time we also added notes to the .conf files, but not yet in this case. James - what do you think should we add a warning in /etc/default/openvswitch-switch ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1568627 Title: OpenvSwitch with DPDK brings all VirtIO NICs down, software reboot also doesn't work. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1568627/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1568627] Re: OpenvSwitch with DPDK brings all VirtIO NICs down, software reboot also doesn't work.
Awesome! I'm gonna try it... Thanks James! :-D On 11 April 2016 at 04:34, James Pagewrote: > Hi Thiago > > DPDK can use the virtio-pci devices directly without them being bound to > the userspace driver - as a result, the default configuration will try > to consume all virtio-pci devices configured on the system; make sure > the blacklist the primary network adapter so that DPDK does not try to > use it. > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1568627 > > Title: > OpenvSwitch with DPDK brings all VirtIO NICs down, software reboot > also doesn't work. > > To manage notifications about this bug go to: > > https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1568627/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1568627 Title: OpenvSwitch with DPDK brings all VirtIO NICs down, software reboot also doesn't work. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1568627/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1568627] Re: OpenvSwitch with DPDK brings all VirtIO NICs down, software reboot also doesn't work.
Hi Thiago DPDK can use the virtio-pci devices directly without them being bound to the userspace driver - as a result, the default configuration will try to consume all virtio-pci devices configured on the system; make sure the blacklist the primary network adapter so that DPDK does not try to use it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1568627 Title: OpenvSwitch with DPDK brings all VirtIO NICs down, software reboot also doesn't work. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1568627/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1568627] Re: OpenvSwitch with DPDK brings all VirtIO NICs down, software reboot also doesn't work.
Hi Thiago DPDK can use the virtio-pci devices directly without them being bound to the userspace driver - as a result, the default configuration will try to consume all virtio-pci devices configured on the system; make sure the blacklist the primary network adapter so that DPDK does not try to use it. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openvswitch in Ubuntu. https://bugs.launchpad.net/bugs/1568627 Title: OpenvSwitch with DPDK brings all VirtIO NICs down, software reboot also doesn't work. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1568627/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1568627] Re: OpenvSwitch with DPDK brings all VirtIO NICs down, software reboot also doesn't work.
WAIT! I was too fast on reply about Trusty... On Trusty with Cloud Archive Liberty enabled, and even after this: update-alternatives --set ovs-vswitchd /usr/lib/openvswitch-switch-dpdk /ovs-vswitchd-dpdk And this: # grep DPDK_OPTS /etc/default/openvswitch-switch DPDK_OPTS='--dpdk -c 0x1 -n 4' The command: service openvswitch-switch stop service openvswitch-switch start Does NOT bring "ovs-vswitchd" with "dpdk" options! So, this test with Trusty is invalid. I don't know how to enable OVS with DPDK on Trusty when with Cloud Archive Liberty. The procedure might be different. I'll keep researching about this topic... Cheers! Thiago -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1568627 Title: OpenvSwitch with DPDK brings all VirtIO NICs down, software reboot also doesn't work. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1568627/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1568627] Re: OpenvSwitch with DPDK brings all VirtIO NICs down, software reboot also doesn't work.
Guys, I can confirm that this problem does exists on top of Trusty KVM Guest with Linux 4.4 (same Xenial kernel), but with DPDK 2.0 and OpenvSwitch 2.4 from Liberty Cloud Archive, it works!! At least, the Trusty guest doesn't lose connectivity and soft reboot works too! Precisely where Xenial fails... So, something is wrong with OpenvSwitch 2.5 when with DPDK 2.2 (Xenial Combo). Happy hacking! Thanks! Thiago -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1568627 Title: OpenvSwitch with DPDK brings all VirtIO NICs down, software reboot also doesn't work. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1568627/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs