ovn version differences on ovn-chassis and ovn-central cause "mismatch with northd version" and chassis unable to register to centrals

Bug #2030944 reported by Diko Parvanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Snap
New
Undecided
Unassigned
charm-ovn-chassis
Fix Committed
Undecided
Unassigned
charm-ovn-dedicated-chassis
Fix Committed
Undecided
Unassigned

Bug Description

ovn-chassis and ovn-central charms sync ovn packages from different repos, because of different versions in both of them:

ovn-central (focal-updates/yoga/main):
 ovn-common | 22.03.2-0ubuntu0.22.04.1~cloud1 | yoga | focal-updates | linux-any all

ovn-chassis (focal-updates/ovn-22.03/main):
 ovn-common | 22.03.0-0ubuntu1~cloud0 | ovn-22.03 | focal-updates | linux-any all

This needs to be addressed, as during migration from ovs to ovn this causes the ovn-chassis to not be able to register with the central units with:

2023-08-10T07:28:24.235Z|02840|main|WARN|controller version - 22.03.0-20.21.0-58.3 mismatch with northd version - 22.03.2-20.21.0-61.4

The workaround is to use this to prevent the check, but if left there it's dangerous during future upgrades of ovn:

ovs-vsctl set open . external_ids:ovn-match-northd-version="false"

Diko Parvanov (dparv)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-ovn-chassis (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/x/charm-ovn-chassis/+/892326

Changed in charm-ovn-chassis:
status: New → In Progress
Frode Nordahl (fnordahl)
affects: charm-ovn-central → charm-ovn-dedicated-chassis
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ovn-dedicated-chassis (master)

Reviewed: https://review.opendev.org/c/x/charm-ovn-dedicated-chassis/+/892327
Committed: https://opendev.org/x/charm-ovn-dedicated-chassis/commit/fa21facfe4636fb7f7610f5286fff66f0d5d1f7b
Submitter: "Zuul (22348)"
Branch: master

commit fa21facfe4636fb7f7610f5286fff66f0d5d1f7b
Author: Frode Nordahl <email address hidden>
Date: Tue Aug 22 15:12:30 2023 +0200

    Make version pinning optional

    The OVN charms prepared for the upgrade from OVN 20.03 to newer
    versions by enabling the version pinning by default.

    Since then we have reached agreement with upstream that rolling
    upgrades should work when upgrading within the previous upstream
    LTS version and the next.

    Having the pinning enabled by default causes unnecessary grief for
    anyone already upgraded to OVN 22.03, so it's time to turn it off
    by default.

    We add a charm configuration option in case anyone wants to
    upgrade across LTS boundaries in the future.

    Closes-Bug: #2030944
    Signed-off-by: Frode Nordahl <email address hidden>
    Change-Id: I21dc2dc6615d39ffaa88cc27dbe3b2ba9b3982c4

Changed in charm-ovn-dedicated-chassis:
status: New → Fix Committed
Changed in charm-ovn-chassis:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ovn-chassis (master)

Reviewed: https://review.opendev.org/c/x/charm-ovn-chassis/+/892326
Committed: https://opendev.org/x/charm-ovn-chassis/commit/a4f2a1fecb5ea7200286765b348ba154da5fde45
Submitter: "Zuul (22348)"
Branch: master

commit a4f2a1fecb5ea7200286765b348ba154da5fde45
Author: Frode Nordahl <email address hidden>
Date: Tue Aug 22 15:11:23 2023 +0200

    Make version pinning optional

    The OVN charms prepared for the upgrade from OVN 20.03 to newer
    versions by enabling the version pinning by default.

    Since then we have reached agreement with upstream that rolling
    upgrades should work when upgrading within the previous upstream
    LTS version and the next.

    Having the pinning enabled by default causes unnecessary grief for
    anyone already upgraded to OVN 22.03, so it's time to turn it off
    by default.

    We add a charm configuration option in case anyone wants to
    upgrade across LTS boundaries in the future.

    Closes-Bug: #2030944
    Signed-off-by: Frode Nordahl <email address hidden>
    Change-Id: I22a99838c13e5203459b1e5edab72f3d9536260c

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.