Improve handling of major version upgrades

Setting the external_ids:ovn-match-northd-version value to
'true' will make the ovn-controller refrain from making updates to
the data plane tables in the event of a version mismatch.

This in combination with stopping the ovn-controller with the
ovn-ctl stop_controller --restart command will allow upgrades
to progress with little or no data plane downtime.
(Note that we will accomplish this by a separate proposal to the
OVN package itself in Ubuntu.)

As soon as the central components are upgraded ovn-controller will
notice and resume (re-)programming of the local Open vSwitch data
plane.

Closes-Bug: #1940043
Change-Id: I16fedbc455e25bec0de4a475a9daa55b700ab3a0
This commit is contained in:
Frode Nordahl 2021-08-16 15:27:46 +02:00
parent 3fd61e0c02
commit 33ed06cb23
No known key found for this signature in database
GPG Key ID: 6A5D59A3BA48373F

View File

@ -2,4 +2,4 @@
# when dependencies of the charm change,
# but nothing in the charm needs to.
# simply change the uuid to something new
66d78b5b-d9b6-4078-9e5b-6385e55f58e8
cc7e3a11-fb5f-48d8-b319-7f63ed4f8eb7