openvswitch missing -datapath-dkms dependency, fails to install

Bug #894754 reported by Rogério Vinhal Nunes on 2011-11-25
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
openvswitch (Ubuntu)
Medium
Unassigned
Oneiric
Medium
Unassigned

Bug Description

After installing openvswitch-switch in a clean upgraded 11.10 installation, the package installation fails when trying to start the openvswitch initscript:

FATAL: Module openvswitch_mod not found.

The module isn't available in /lib/modules.

WORKAROUND
sudo apt-get install openvswitch-datapath-dkms

Dave Walker (davewalker) wrote :

Thanks for reporting this bug. There seems to be a package dependency missing.
if you sudo apt-get install openvswitch-datapath-dkms , this should go away.

Thanks

Changed in openvswitch (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
milestone: none → precise-alpha-1
Ursula Junque (ursinha) wrote :

I was able to reproduce this bug on an Oneiric fresh install. Installing the package fails with the same message indicated by the reported. It should be fixed on Oneiric as well.

Ursula Junque (ursinha) wrote :

*reporter

Ursula Junque (ursinha) on 2011-11-30
tags: added: bitesize
summary: - openvswitch_mod module not found
+ openvswitch missing -datapath-dkms dependency, fails to install
Changed in openvswitch (Ubuntu Oneiric):
status: New → Triaged
importance: Undecided → Medium
description: updated
Changed in openvswitch (Ubuntu Oneiric):
milestone: none → oneiric-updates
Dave Walker (davewalker) on 2011-12-01
Changed in openvswitch (Ubuntu):
milestone: precise-alpha-1 → precise-alpha-2
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openvswitch - 1.2.2-2ubuntu2

---------------
openvswitch (1.2.2-2ubuntu2) precise; urgency=low

  * debian/control: Recommend openvswitch-datapath-dkms.
    (LP: #894754)
 -- Chuck Short <email address hidden> Sun, 04 Dec 2011 14:31:40 -0500

Changed in openvswitch (Ubuntu):
status: Triaged → Fix Released
Kapil Thangavelu (hazmat) wrote :

feels like there is still something missing here

ubuntu@ip-10-160-83-3:~$ sudo apt-get install linux-headers-virtual
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-virtual is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 181 not upgraded.

$ sudo apt-get install openvswitch-datapath-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  openvswitch-datapath-dkms
0 upgraded, 1 newly installed, 0 to remove and 181 not upgraded.
Need to get 0 B/1,734 kB of archives.
After this operation, 11.1 MB of additional disk space will be used.
Selecting previously unselected package openvswitch-datapath-dkms.
(Reading database ... 66595 files and directories currently installed.)
Unpacking openvswitch-datapath-dkms (from .../openvswitch-datapath-dkms_1.2.2-2ubuntu2_all.deb) ...
Setting up openvswitch-datapath-dkms (1.2.2-2ubuntu2) ...

Creating symlink /var/lib/dkms/openvswitch/1.2.2/source ->
                 /usr/src/openvswitch-1.2.2

DKMS: add completed.
Error! Your kernel headers for kernel 3.2.0-2-virtual cannot be found.
Please install the linux-headers-3.2.0-2-virtual package,
or use the --kernelsourcedir option to tell DKMS where it's located

Hitesh Wadekar (hitesh-wadekar) wrote :

Yes, I am able to reproduce this bug on an Oneiric fresh install. Installing the package fails with the same message indicated by the reported.

How to install this package? even I tied Kapil Thangavelu's steps.

Ben Pfaff (blp-nicira) wrote :

> Error! Your kernel headers for kernel 3.2.0-2-virtual cannot be found.
> Please install the linux-headers-3.2.0-2-virtual package,
> or use the --kernelsourcedir option to tell DKMS where it's located

I'm pretty sure that it's not anything from Open vSwitch printing this message, so I'm not sure that Open vSwitch can be blamed for it.

Hitesh Wadekar (hitesh-wadekar) wrote :

Yes, I did it.

I installed the linux-headers-3.2.0-2-virtual package, then installed openvswitch-datapath-dkms

Still showing same results.

Yes, It seems other module error !! not openvswitch.

Thanks Ben for help. Appreciate it

Do you have any other suggestions?

Thanks,
Hitesh Wadekar

Jian Wen (wenjianhn) wrote :

I failed to start the openvswitch initscript after apt-upgrade.
The error is FATAL: Module openvswitch_mod not found. too.

# dpkg-reconfigure openvswitch-datapath-dkms
fixed this by uninstalling the old one and installing a fresh compiled new one.

Command log:
http://pastebin.com/anLTPFgn

I tried to run the command: sudo apt-get install openvswitch-datapath-dkms
Result is here:
----------------------------------------------------------------------------

openflow@openflow-virtual-machine:~$ sudo mn --topo single,3 --mac --switch ovsk --controller remote
[sudo] password for openflow:
*** Loading openvswitch_mod
Error inserting openvswitch_mod - is it installed and available via modprobe?
Error was: "FATAL: Module openvswitch_mod not found.
"
Failed to insert openvswitch_mod - quitting.
openflow@openflow-virtual-machine:~$ sudo apt-get install openvswitch-datapath-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
openvswitch-datapath-dkms is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 506 not upgraded.
openflow@openflow-virtual-machine:~$ sudo mn --topo single,3 --mac --switch ovsk --controller remote
*** Loading openvswitch_mod
Error inserting openvswitch_mod - is it installed and available via modprobe?
Error was: "FATAL: Module openvswitch_mod not found.
"
Failed to insert openvswitch_mod - quitting.
-------------------------------------------------------------------------------------------------
Any ideas?
Please!

Rolf Leggewie (r0lf) wrote :

oneiric has seen the end of its life and is no longer receiving any updates. Marking the oneiric task for this ticket as "Won't Fix".

Changed in openvswitch (Ubuntu Oneiric):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers