[Bug 1937075] Re: ovn-ctl: ovsdb-server startup might sometimes get stuck and not upgrade clustered database

Launchpad Bug Tracker 1937075 at bugs.launchpad.net
Wed Nov 3 00:09:27 UTC 2021


This bug was fixed in the package ovn - 20.03.2-0ubuntu0.20.04.2

---------------
ovn (20.03.2-0ubuntu0.20.04.2) focal; urgency=medium

  * Add RBAC rules for IGMP_Group table (LP: #1914988):
    - d/p/lp-1914988-Add-IGMP_Group-to-ovn-controller-RBAC.patch
    - d/p/lp-1914988-tests-Use-ovn_start-in-tests-ovn-controller.at.patch
    - d/p/lp-1914988-tests-Make-certificate-generation-extendable.patch
    - d/p/lp-1914988-tests-Test-with-SSL-and-RBAC-for-controller-by-defau.patch
  * d/p/lp-1943266-physical-do-not-forward-traffic-from-localport-to-a-.patch:
    Do not forward traffic from localport to localnet ports (LP: #1943266).a
  * d/p/lp-1937075-ovn-ctl-Fix-stucked-while-do-cluster-db-init.patch:
    Fix issue where clustered database might not be upgraded (LP: #1937075).

 -- Frode Nordahl <frode.nordahl at canonical.com>  Fri, 01 Oct 2021
09:42:00 +0200

** Changed in: ovn (Ubuntu Focal)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ovn in Ubuntu.
https://bugs.launchpad.net/bugs/1937075

Title:
  ovn-ctl: ovsdb-server startup might sometimes get stuck and not
  upgrade clustered database

Status in ovn package in Ubuntu:
  Fix Released
Status in ovn source package in Focal:
  Fix Released
Status in ovn source package in Groovy:
  Fix Released
Status in ovn source package in Hirsute:
  Fix Released
Status in ovn source package in Impish:
  Fix Released

Bug description:
  [Impact]
  On upgrades requiring schema changes a cluster may never be upgraded, this can be problematic and might in the worst case scenario lead to data plane outage.

  Having said that it is not very likely that we will SRU changes to
  Focal that includes schema changes, but it is good to be on the safe
  side so we're ready for it in the event it happens.

  [Test Plan]
  1. With base in the ovn-central charm gate test we can deploy a OVN database cluster.
  2. Restart services so that DB leader transition away from the machine that created the cluster.
  3. Restart services again on original leader and confirm whether the bug is fixed.

  [Regression Potential]
  The patch in question has been in upstream branches and releases for a long time, it is also a very minor change adding a argument that allows control tool to not hang when the local unit is not the leader.

  [Original Bug Description]
  As reported and fixed in [0] if the node that is configured with an empty ``--db-*-cluster-remote-addr`` is no longer the leader, the ovn-ctl script will hang on startup.

  Prior to the hang the script will successfully start the ovsdb-server,
  but never get to the point where a clustered DB is upgraded in the
  event of a schema change.

  0: https://github.com/ovn-
  org/ovn/commit/65cc0e225b5922a72f0d40c2c39da0210669c21a

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ovn/+bug/1937075/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list