openvswitch kernel module not shipped
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-raspi (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
openvswitch-switch package does not ship a openvswitch kernel module. Therefore ovs-vswitch cannot start (unable to modprobe the kernel module), and hence openvswitch-switch cannot start.
apt install openvswitch-switch
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
openvswitch-
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/1556 kB of archives.
After this operation, 4589 kB of additional disk space will be used.
Selecting previously unselected package openvswitch-switch.
(Reading database ... 332861 files and directories currently installed.)
Preparing to unpack .../openvswitch
Unpacking openvswitch-switch (2.17.0-0ubuntu1) ...
Setting up openvswitch-switch (2.17.0-0ubuntu1) ...
update-
Created symlink /etc/systemd/
Created symlink /etc/systemd/
Could not execute systemctl: at /usr/bin/
A dependency job for openvswitch-
invoke-rc.d: initscript openvswitch-switch, action "start" failed.
○ openvswitch-
Loaded: loaded (/lib/systemd/
Active: inactive (dead)
Jun 24 22:26:48 rp4 systemd[1]: Dependency failed for Open vSwitch.
Jun 24 22:26:48 rp4 systemd[1]: openvswitch-
dpkg: error processing package openvswitch-switch (--configure):
installed openvswitch-switch package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.10.2-1) ...
Errors were encountered while processing:
openvswitch-switch
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
journalctl -xeu ovs-vswitchd.
Jun 24 22:26:50 rp4 ovs-ctl[2978]: modprobe: FATAL: Module openvswitch not found in directory /lib/modules/
Jun 24 22:26:50 rp4 ovs-ctl[2970]: * Inserting openvswitch module
Jun 24 22:26:50 rp4 systemd[1]: ovs-vswitchd.
dpkg -L linux-modules-
Kernel modules are provided by the kernel packages linux-modules and linux-modules- extra. openvswitch is in -extras:
$ dpkg-deb -c linux-modules- extra-5. 15.0-1011- raspi_5. 15.0-1011. 13_arm64. deb | grep openvswitch 5.15.0- 1011-raspi/ kernel/ net/openvswitch / 5.15.0- 1011-raspi/ kernel/ net/openvswitch /openvswitch. ko 5.15.0- 1011-raspi/ kernel/ net/openvswitch /vport- geneve. ko 5.15.0- 1011-raspi/ kernel/ net/openvswitch /vport- gre.ko 5.15.0- 1011-raspi/ kernel/ net/openvswitch /vport- vxlan.ko
drwxr-xr-x root/root 0 2022-06-02 00:37 ./lib/modules/
-rw-r--r-- root/root 274401 2022-06-02 00:37 ./lib/modules/
-rw-r--r-- root/root 8417 2022-06-02 00:37 ./lib/modules/
-rw-r--r-- root/root 7753 2022-06-02 00:37 ./lib/modules/
-rw-r--r-- root/root 9537 2022-06-02 00:37 ./lib/modules/
$ sudo apt install linux-modules- extra-raspi