- Status Closed
- Percent Complete
- Task Type Bug Report
- Category Any
-
Assigned To
Emulatorman - Operating System All
- Severity Critical
- Priority Low
- Reported Version Any
- Due in Version Starfix
-
Due Date
Undecided
- Votes
- Private
Opened by belette - 26/07/2018
Last edited by Emulatorman - 27/07/2018
FS#1108 - [openvswitch-lts] netifrc fails to start openvwitch interfaces properly at boot
Description:
During openrc boot, ‘net’ starts before ‘ovs-vswitchd’ and result to an error and not attributing IP to the openvswitch interface:
ERROR: interface vswitch does not exist
Ensure that you have loaded the correct kernel module for your hardware
ERROR: net.vswitch failed to start
/run/openvswitch: creating directory
Starting ovsdb-server ...
Starting ovs-vswitchd ..
Additional info:
As a workaround I have added
after modules ovs-vswitchd line #39 to /etc/init.d/net.lo and it solves the issue.
I think it would require an if statement to append ovs-vsitchd to line #39 in case openvswitch is installed and activated.
After my change, rc.log:
/run/openvswitch: creating directory
Starting ovsdb-server ...
Starting ovs-vswitchd ...
Bringing up interface vswitch
Caching network module dependencies
need dbus
10.XX.XX.XX/24 ...
Adding routes
default via 10.XX.XX.XX
Steps to reproduce:
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
Before closing it, I found a side effect when hostapd is used in conjonction with openvswitch.
Hostapd is now failing at boot with :
Starting hostapd ...
Configuration file: /etc/hostapd/hostapd.conf
ovs-vsctl: unix:/run/openvswitch/db.sock: database connection failed (No such file or directory)
Hostapd should start "after ovs-vswitchd" (I have added it to /etc/init.d/hostapd and I don't have the issue anymore