openvswitch systemd unit file ordering wrong
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
One Hundred Papercuts |
Triaged
|
Critical
|
Unassigned | ||
openvswitch (Ubuntu) |
Fix Released
|
High
|
James Page | ||
Xenial |
Triaged
|
High
|
Unassigned | ||
Yakkety |
Triaged
|
High
|
Unassigned | ||
Zesty |
Fix Released
|
High
|
James Page |
Bug Description
[Impact]
systems with openvswitch management primary network devices take a long time to boot.
[Test Case]
Configure primary network interface for server using openvswitch eni syntax; reboot server (will take 4 minutes to boot).
[Regression Potential]
Medium risk - this is a change to the behaviour of the systemd units, but it does appear to have been validated by the wider community.
[Original Bug Report]
After upgrade to vivid, my system takes nearly 4 minutes to boot. This appears to be related to the new systemd unit ordering.
[Unit]
Description=Open vSwitch
After=network.
...
root@mystic:
2min 233ms ifup-wait-
...
Open vSwitch is being started after the network, but the network needs Open vSwitch to start since my host traffic is flowing through the bridge:
root@mystic:
838a8aa4-
Bridge "br0"
Port "br0"
tag: 1
Port "vlan121"
tag: 121
Port "eth0"
tag: 1
ovs_version: "2.3.1"
The interfaces do eventually start correctly, but only after the long timeout above.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: openvswitch-switch 2.3.1-0ubuntu1
ProcVersionSign
Uname: Linux 3.19.0-15-generic x86_64
NonfreeKernelMo
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
Date: Fri Apr 24 14:10:19 2015
EcryptfsInUse: Yes
ProcEnviron:
TERM=screen
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: openvswitch
UpgradeStatus: Upgraded to vivid on 2015-04-24 (0 days ago)
Changed in openvswitch (Ubuntu): | |
importance: | Undecided → Critical |
Changed in hundredpapercuts: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
Changed in openvswitch (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in hundredpapercuts: | |
status: | Confirmed → Triaged |
tags: | added: xenial |
Changed in openvswitch (Ubuntu Yakkety): | |
status: | New → Triaged |
Changed in openvswitch (Ubuntu Xenial): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in openvswitch (Ubuntu Yakkety): | |
importance: | Undecided → High |
Changed in openvswitch (Ubuntu Zesty): | |
importance: | Critical → High |
status: | Triaged → Fix Committed |
assignee: | nobody → James Page (james-page) |
description: | updated |
Changed in openvswitch (Ubuntu Yakkety): | |
assignee: | James Page (james-page) → nobody |
status: | In Progress → Triaged |
Looks we've been through this before with upstart: /bugs.launchpad .net/ubuntu/ +source/ openvswitch/ +bug/1084028
https:/