Activity log for bug #962189

Date Who What changed Old value New value Message
2012-03-22 13:59:40 Ralf Heiringhoff bug added bug
2012-03-22 14:08:31 James Page openvswitch (Ubuntu): importance Undecided Medium
2012-03-28 02:26:40 Launchpad Janitor openvswitch (Ubuntu): status New Confirmed
2012-04-02 21:32:55 Thomas Flynn bug added subscriber Thomas Flynn
2012-05-21 21:13:05 rooijan bug added subscriber rooijan
2012-06-17 10:20:22 Kirill Kabardin bug added subscriber Kirill Kabardin
2012-07-25 14:33:34 Sergio Rubio bug added subscriber Sergio Rubio
2012-12-20 17:00:09 Peng Yong bug added subscriber Peng Yong
2013-01-16 12:04:43 James Page nominated for series Ubuntu Precise
2013-01-16 12:04:43 James Page bug task added openvswitch (Ubuntu Precise)
2013-01-16 12:04:51 James Page openvswitch (Ubuntu): status Confirmed Fix Released
2013-01-16 12:04:54 James Page openvswitch (Ubuntu Precise): importance Undecided Medium
2013-01-16 12:04:59 James Page openvswitch (Ubuntu Precise): status New Triaged
2013-01-16 12:05:36 James Page openvswitch (Ubuntu Precise): assignee James Page (james-page)
2013-02-05 17:36:21 James Page openvswitch (Ubuntu Precise): status Triaged In Progress
2013-02-06 09:57:03 James Page description Hello all, I've noticed that the openvswitch_mod and brcompat_mod modules are not automatically rebuild when I've upgraded to the latest linux-image-3.2.0-20-generic, thus rendering my openvswitch config unusable after a reboot to said new kernel. Manual rebuilding and installation worked as expected: ---------------cut--------- root@d02-spi-2:~# uname -a Linux d02-spi-2 3.2.0-20-generic #32-Ubuntu SMP Thu Mar 22 02:22:46 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux root@d02-spi-2:~# dpkg -l | egrep 'linux-(image|headers)' ii linux-headers-3.2.0-19 3.2.0-19.31 Header files related to Linux kernel version 3.2.0 ii linux-headers-3.2.0-19-generic 3.2.0-19.31 Linux kernel headers for version 3.2.0 on 64 bit x86 SMP ii linux-headers-3.2.0-20 3.2.0-20.32 Header files related to Linux kernel version 3.2.0 ii linux-headers-3.2.0-20-generic 3.2.0-20.32 Linux kernel headers for version 3.2.0 on 64 bit x86 SMP ii linux-headers-server 3.2.0.20.22 Linux kernel headers on Server Equipment. ii linux-image-3.2.0-19-generic 3.2.0-19.31 Linux kernel image for version 3.2.0 on 64 bit x86 SMP ii linux-image-3.2.0-20-generic 3.2.0-20.32 Linux kernel image for version 3.2.0 on 64 bit x86 SMP ii linux-image-server 3.2.0.20.22 Linux kernel image on Server Equipment. root@d02-spi-2:~# dkms status -m openvswitch openvswitch, 1.4.0, 3.2.0-19-generic, x86_64: installed root@d02-spi-2:~# dkms build -m openvswitch -v 1.4.0 Kernel preparation unnecessary for this kernel. Skipping... Building module: cleaning build area....(bad exit status: 2) ./configure --with-linux=/usr/src/linux-headers-3.2.0-20-generic ; make -C datapath/linux.......... cleaning build area....(bad exit status: 2) DKMS: build completed. root@d02-spi-2:~# dkms install -m openvswitch -v 1.4.0 openvswitch_mod: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/3.2.0-20-generic/updates/dkms/ brcompat_mod.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/3.2.0-20-generic/updates/dkms/ depmod...... DKMS: install completed. root@d02-spi-2:~# dkms status -m openvswitch openvswitch, 1.4.0, 3.2.0-19-generic, x86_64: installed openvswitch, 1.4.0, 3.2.0-20-generic, x86_64: installed ---------------cut--------- Regards, Ralf ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: openvswitch-datapath-dkms 1.4.0-1ubuntu1 ProcVersionSignature: Ubuntu 3.2.0-20.32-generic 3.2.12 Uname: Linux 3.2.0-20-generic x86_64 ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Thu Mar 22 14:42:27 2012 PackageArchitecture: all SourcePackage: openvswitch UpgradeStatus: No upgrade log present (probably fresh install) [Impact] Users of the openvswitch + openvswitch DKMS modules are broken after kernel upgrades without manual intervention. DKMS modules should be auto-rebuilt. [Test Case] Install Ubuntu 12.04 (without any kernel updates) sudo apt-get install openvswitch-datapath-dkms sudo apt-get install openvswitch-switch Upgrade to new 3.2 kernel update (or even the new 3.5 kernel for 12.04.2) Reboot sudo service openvswitch-switch start (will fail as DKMS modules not found for new kernel) [Regression Potential] The fix for this is minimal (single line) and just impacts the auto-rebuild config for dkms. However its bundled with the 3.5 kernel compatibility fixes which also remove the _mod suffix from the DKMS built modules. This has the effect that if the DKMS modules are not built openvswitch will fall-back to the less feature-full native openvswitch module provided by the kernel itself (this is aligned to behavior in quantal and raring). [Original Bug Report] Hello all, I've noticed that the openvswitch_mod and brcompat_mod modules are not automatically rebuild when I've upgraded to the latest linux-image-3.2.0-20-generic, thus rendering my openvswitch config unusable after a reboot to said new kernel. Manual rebuilding and installation worked as expected: ---------------cut--------- root@d02-spi-2:~# uname -a Linux d02-spi-2 3.2.0-20-generic #32-Ubuntu SMP Thu Mar 22 02:22:46 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux root@d02-spi-2:~# dpkg -l | egrep 'linux-(image|headers)' ii linux-headers-3.2.0-19 3.2.0-19.31 Header files related to Linux kernel version 3.2.0 ii linux-headers-3.2.0-19-generic 3.2.0-19.31 Linux kernel headers for version 3.2.0 on 64 bit x86 SMP ii linux-headers-3.2.0-20 3.2.0-20.32 Header files related to Linux kernel version 3.2.0 ii linux-headers-3.2.0-20-generic 3.2.0-20.32 Linux kernel headers for version 3.2.0 on 64 bit x86 SMP ii linux-headers-server 3.2.0.20.22 Linux kernel headers on Server Equipment. ii linux-image-3.2.0-19-generic 3.2.0-19.31 Linux kernel image for version 3.2.0 on 64 bit x86 SMP ii linux-image-3.2.0-20-generic 3.2.0-20.32 Linux kernel image for version 3.2.0 on 64 bit x86 SMP ii linux-image-server 3.2.0.20.22 Linux kernel image on Server Equipment. root@d02-spi-2:~# dkms status -m openvswitch openvswitch, 1.4.0, 3.2.0-19-generic, x86_64: installed root@d02-spi-2:~# dkms build -m openvswitch -v 1.4.0 Kernel preparation unnecessary for this kernel. Skipping... Building module: cleaning build area....(bad exit status: 2) ./configure --with-linux=/usr/src/linux-headers-3.2.0-20-generic ; make -C datapath/linux.......... cleaning build area....(bad exit status: 2) DKMS: build completed. root@d02-spi-2:~# dkms install -m openvswitch -v 1.4.0 openvswitch_mod: Running module version sanity check.  - Original module    - No original module exists within this kernel  - Installation    - Installing to /lib/modules/3.2.0-20-generic/updates/dkms/ brcompat_mod.ko: Running module version sanity check.  - Original module    - No original module exists within this kernel  - Installation    - Installing to /lib/modules/3.2.0-20-generic/updates/dkms/ depmod...... DKMS: install completed. root@d02-spi-2:~# dkms status -m openvswitch openvswitch, 1.4.0, 3.2.0-19-generic, x86_64: installed openvswitch, 1.4.0, 3.2.0-20-generic, x86_64: installed ---------------cut--------- Regards, Ralf ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: openvswitch-datapath-dkms 1.4.0-1ubuntu1 ProcVersionSignature: Ubuntu 3.2.0-20.32-generic 3.2.12 Uname: Linux 3.2.0-20-generic x86_64 ApportVersion: 1.94.1-0ubuntu2 Architecture: amd64 Date: Thu Mar 22 14:42:27 2012 PackageArchitecture: all SourcePackage: openvswitch UpgradeStatus: No upgrade log present (probably fresh install)
2013-02-06 09:57:25 James Page openvswitch (Ubuntu Precise): importance Medium High
2013-02-06 09:57:39 James Page bug added subscriber Ubuntu Stable Release Updates Team
2013-02-06 10:22:03 Colin Watson openvswitch (Ubuntu Precise): status In Progress Fix Committed
2013-02-06 10:22:06 Colin Watson bug added subscriber SRU Verification
2013-02-06 10:22:14 Colin Watson tags amd64 apport-bug precise amd64 apport-bug precise verification-needed
2013-02-06 10:42:27 Launchpad Janitor branch linked lp:ubuntu/precise-proposed/openvswitch
2013-02-08 13:45:37 James Page tags amd64 apport-bug precise verification-needed amd64 apport-bug precise verification-done
2013-02-14 15:12:05 Colin Watson removed subscriber Ubuntu Stable Release Updates Team
2013-02-14 15:12:12 Launchpad Janitor openvswitch (Ubuntu Precise): status Fix Committed Fix Released