On 12 September 2016 at 03:57, Thadeu Lima de Souza Cascardo <casca...@redhat.com> wrote: > On Fri, Sep 09, 2016 at 06:44:21PM -0700, Joe Stringer wrote: >> On 9 September 2016 at 14:09, Thadeu Lima de Souza Cascardo >> <casca...@redhat.com> wrote: >> > Now, vagrant up will test both Fedora 23 and Debian Jessie (8.0), which >> > uses >> > Linux 3.16. >> > >> > Signed-off-by: Thadeu Lima de Souza Cascardo <casca...@redhat.com> >> > --- >> > Vagrantfile | 44 ++++++++++++++++++++++++++++++++++++++++++-- >> > 1 file changed, 42 insertions(+), 2 deletions(-) >> > >> > diff --git a/Vagrantfile b/Vagrantfile >> > index 843d88c..1a97d13 100644 >> > --- a/Vagrantfile >> > +++ b/Vagrantfile >> > @@ -13,11 +13,25 @@ dnf -y install autoconf automake openssl-devel libtool >> > \ >> > wget python-six pyftpdlib checkpolicy selinux-policy-devel >> > \ >> > libcap-ng-devel kernel-devel-`uname -r` ethtool >> > echo "search extra update built-in" >/etc/depmod.d/search_path.conf >> > -cd /vagrant >> > -./boot.sh >> > +SCRIPT >> > + >> > +$bootstrap_debian = <<SCRIPT >> > +aptitude -y update >> > +aptitude -y upgrade >> > +aptitude -y install -R \ >> > + build-essential dpkg-dev lintian devscripts fakeroot \ >> > + debhelper dh-autoreconf \ >> > + autoconf automake libtool \ >> > + python-all python-twisted-core python-twisted-conch \ >> > + xdg-utils groff graphviz netcat \ >> > + wget python-six ethtool \ >> > + libcap-ng-dev libssl-dev python-dev openssl \ >> > + linux-headers-`uname -r` >> >> I think we also need "pkg-config python-flake8". >> > > I will add it and python-pyftpdlib as well, so we test conntrack helpers. > >> When I tried this out, the "test_ovs_system_userspace" provision >> target failed completely, partly because the 'tun' module apparently >> needs to be loaded and that's missing from our initialization in this >> make target... but when I tried to load this module I see errors like >> this in my kernel logs: >> >> [ 925.888049] tun: Unknown symbol __sk_attach_filter (err 0) >> [ 925.888126] tun: Unknown symbol __sk_detach_filter (err 0) >> >> Do you also see this? > > Hum... that works for me. > > root@jessie:~# modprobe tun > root@jessie:~# dmesg | tail > [ 6.170213] nf_conntrack version 0.5.0 (3954 buckets, 15816 max) > [ 6.183509] openvswitch: Open vSwitch switching datapath 2.6.90 > [ 6.184662] openvswitch: LISP tunneling driver > [ 6.185212] openvswitch: GRE over IPv4 tunneling driver > [ 6.185825] openvswitch: Geneve tunneling driver > [ 6.186377] openvswitch: VxLAN tunneling driver > [ 6.186918] openvswitch: STT tunneling driver > [ 20.531677] random: nonblocking pool is initialized > [37892.644399] tun: Universal TUN/TAP device driver, 1.6 > [37892.645111] tun: (C) 1999-2004 Max Krasnyansky <m...@qualcomm.com> > root@jessie:~# > > What Linux version is this using?
Hmm. uname shows: Linux jessie 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux However, when I restarted the vagrant VM I could load tun fine and the tests all passed.. This isn't the first time that I've observed vagrant VMs having different behaviour between the first boot and subsequent boots. I think this is safe to ignore. Feel free to go ahead and submit your latest version and I'll be happy to apply it. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev