ovn-controller: Disable ofctrl probe by default
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
Fix Committed
|
Undecided
|
Unassigned | ||
Ussuri |
Fix Released
|
Undecided
|
Unassigned | ||
Victoria |
Fix Committed
|
Undecided
|
Unassigned | ||
ovn (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Focal |
Fix Released
|
High
|
Unassigned | ||
Groovy |
Fix Released
|
High
|
Unassigned | ||
Hirsute |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
Service/host restart or upgrade of the ovn-host package may render a host participating in a OVN network unusable as the ovn-controller process fails to complete programming of the local Open vSwitch switch flows.
[Test Case]
The issue was discovered when migrating a 3-node OpenStack cloud with 1000 instances deployed in our test lab. A test case could be to repeat that setup.
[Regression Potential]
None, the change of behavior was introduced upstream in [0] and later reversed in [1]. Keeping an idle probe for a unix socket type connection is clearly unnecessary.
[Original Bug Report]
A change [0] prior to the release of OVN v20.03.0 introduced a change of behavior where the inactivity probe for the ofctrl connection defaults to 5 seconds. Since this normally is a unix socket the default was not to have a inactivity probe at all.
On a busy system a inactivity probe of 5 seconds is not enough for the OVN Controller to complete programming of the switch.
The change of behavior was corrected in [1] and I think it would be beneficial if Ubuntu backported this fix to the OVN package rather than having charms and/or end users work around the issue by manually configuring the timeout through the `external-
Symptoms of this problem is that a OVN controller is either unable to do initial programming of a switch for a host with many ports and flows or that updates are lost on a functional system. The following will be printed in the log:
2020-10-
0: https:/
1: https:/
Related branches
- Ubuntu Server Developers: Pending requested
-
Diff: 4356 lines (+4230/-0) (has conflicts)20 files modifieddebian/changelog (+16/-0)
debian/patches/ovn-ctl-cluster-db-upgrades.patch (+63/-0)
debian/patches/ovn-ofctrl-predictable-resolution-conflicting-flow-actions-01.patch (+63/-0)
debian/patches/ovn-ofctrl-predictable-resolution-conflicting-flow-actions-02.patch (+889/-0)
debian/patches/ovn-ofctrl-predictable-resolution-conflicting-flow-actions-03.patch (+718/-0)
debian/patches/ovn-ofctrl-predictable-resolution-conflicting-flow-actions-04.patch (+154/-0)
debian/patches/ovn-ofctrl-predictable-resolution-conflicting-flow-actions-05.patch (+481/-0)
debian/patches/ovn-ofctrl-predictable-resolution-conflicting-flow-actions-06.patch (+109/-0)
debian/patches/ovn-ofctrl-predictable-resolution-conflicting-flow-actions-07.patch (+233/-0)
debian/patches/ovn-ofctrl-predictable-resolution-conflicting-flow-actions-08.patch (+90/-0)
debian/patches/ovn-ofctrl-predictable-resolution-conflicting-flow-actions-09.patch (+216/-0)
debian/patches/ovn-ofctrl-predictable-resolution-conflicting-flow-actions-10.patch (+77/-0)
debian/patches/ovn-ofctrl-predictable-resolution-conflicting-flow-actions-11.patch (+215/-0)
debian/patches/ovn-ofctrl-predictable-resolution-conflicting-flow-actions-12.patch (+40/-0)
debian/patches/ovn-ofctrl-predictable-resolution-conflicting-flow-actions-13.patch (+416/-0)
debian/patches/ovn-ofctrl-predictable-resolution-conflicting-flow-actions-14.patch (+123/-0)
debian/patches/ovn-ofctrl-predictable-resolution-conflicting-flow-actions-15.patch (+66/-0)
debian/patches/ovn-ofctrl-predictable-resolution-conflicting-flow-actions-16.patch (+132/-0)
debian/patches/ovn-ofctrl-predictable-resolution-conflicting-flow-actions-17.patch (+108/-0)
debian/patches/series (+21/-0)
- Ubuntu Server Developers: Pending requested
-
Diff: 67 lines (+47/-0)3 files modifieddebian/changelog (+6/-0)
debian/patches/ovn-controller-ofctrl-probe-interval.patch (+40/-0)
debian/patches/series (+1/-0)
- Ubuntu Server Developers: Pending requested
-
Diff: 67 lines (+47/-0)3 files modifieddebian/changelog (+6/-0)
debian/patches/ovn-controller-ofctrl-probe-interval.patch (+40/-0)
debian/patches/series (+1/-0)
description: | updated |
description: | updated |
Changed in ovn (Ubuntu Hirsute): | |
status: | Triaged → Fix Released |
Changed in ovn (Ubuntu Groovy): | |
status: | New → Triaged |
Changed in ovn (Ubuntu Focal): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in ovn (Ubuntu Groovy): | |
importance: | Undecided → High |
description: | updated |
Changed in cloud-archive: | |
status: | Invalid → Fix Committed |
The fix is in 20.09 and has already been backported upstream to 20.06 and 20.03:
branch-20.03: https:/ /github. com/ovn- org/ovn/ commit/ 028d6db38ff5601 8ba40b3abb3da94 ba7a724ffa /github. com/ovn- org/ovn/ commit/ 8cd56feadbc8644 ece036784f78dd9 be289c9fe9
branch-20.06: https:/