ovn-controller: Disable ofctrl probe by default
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Ubuntu Cloud Archive | Status tracked in Victoria | |||||
| Ussuri |
Undecided
|
Unassigned | |||
| Victoria |
Undecided
|
Unassigned | |||
ovn (Ubuntu) | Status tracked in Hirsute | |||||
| Focal |
High
|
Unassigned | |||
| Groovy |
High
|
Unassigned | |||
| Hirsute |
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 2020-12-11
-
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 2020-11-06
-
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 2020-11-06
-
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 |
Frode Nordahl (fnordahl) wrote : | #1 |
Changed in ovn (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
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 |
Hello Frode, or anyone else affected,
Accepted ovn into groovy-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-
Further information regarding the verification process can be found at https:/
N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.
Changed in ovn (Ubuntu Groovy): | |
status: | Triaged → Fix Committed |
tags: | added: verification-needed verification-needed-groovy |
Changed in ovn (Ubuntu Focal): | |
status: | Triaged → Fix Committed |
tags: | added: verification-needed-focal |
Brian Murray (brian-murray) wrote : | #3 |
Hello Frode, or anyone else affected,
Accepted ovn into focal-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-
Further information regarding the verification process can be found at https:/
N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.
Frode Nordahl (fnordahl) wrote : | #4 |
Verification done for Focal. Removed the workaround provided by the `external-
tags: |
added: verification-done-focal removed: verification-needed-focal |
The verification of the Stable Release Update for ovn has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.
Launchpad Janitor (janitor) wrote : | #6 |
This bug was fixed in the package ovn - 20.03.1-0ubuntu1.1
---------------
ovn (20.03.
* d/p/ovn-
fix to disable ofctrl probe by default (LP: #1899369).
-- Frode Nordahl <email address hidden> Fri, 06 Nov 2020 08:21:03 +0000
Changed in ovn (Ubuntu Focal): | |
status: | Fix Committed → Fix Released |
Frode Nordahl (fnordahl) wrote : | #7 |
Have completed verification on Groovy too.
tags: |
added: verification-done verification-done-groovy removed: verification-needed verification-needed-groovy |
Launchpad Janitor (janitor) wrote : | #8 |
This bug was fixed in the package ovn - 20.06.2-0ubuntu1.1
---------------
ovn (20.06.
* d/p/ovn-
fix to disable ofctrl probe by default (LP: #1899369).
-- Frode Nordahl <email address hidden> Fri, 06 Nov 2020 08:21:03 +0000
Changed in ovn (Ubuntu Groovy): | |
status: | Fix Committed → Fix Released |
Changed in cloud-archive: | |
status: | Invalid → Fix Committed |
Corey Bryant (corey.bryant) wrote : | #9 |
The verification of the Stable Release Update for ovn has completed successfully and the package has now been released to -updates. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.
Corey Bryant (corey.bryant) wrote : | #10 |
This bug was fixed in the package ovn - 20.03.1-
---------------
ovn (20.03.
.
* New upstream release for the Ubuntu Cloud Archive.
.
ovn (20.03.
.
* d/p/ovn-
fix to disable ofctrl probe by default (LP: #1899369).
.
ovn (20.03.1-0ubuntu1) focal; urgency=medium
.
* New upstream point release (LP: #1897248).
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:/