← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2017878] Re: ``cmd.sanity.checks._get_ovn_version`` is returning a 3 element tuple, instead of 2

 

Reviewed:  https://review.opendev.org/c/openstack/neutron/+/881708
Committed: https://opendev.org/openstack/neutron/commit/a9963e90d93afc282a64823fd572ef46d88eaa47
Submitter: "Zuul (22348)"
Branch:    master

commit a9963e90d93afc282a64823fd572ef46d88eaa47
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Sun Apr 23 13:13:52 2023 +0200

    ``_get_ovn_version`` returns a 3 element tuple
    
    The output of this method should be compared to a 3 element
    tuple.
    
    This patch changes the minimum versions of the supported
    features to have 3 elements too. This are the version changes
    and their justifications:
    * OVN_NB_DB_SCHEMA_GATEWAY_CHASSIS = '5.7.0'
      Version reported in LP#2008077
    * OVN_NB_DB_SCHEMA_PORT_GROUP = '5.11.0'
      Version reported in LP#1946023
    * OVN_NB_DB_SCHEMA_STATELESS_NAT = '5.17.0'
      Version reported in LP#1949494
    * OVN_SB_DB_SCHEMA_VIRTUAL_PORT = '2.5.0'
      Version reported in LP#1949496
    * OVN_LOCALNET_LEARN_FDB = '22.09.0'
      Version reported in LP#1946023. In fact, the version
      supporting this feature is older.
    
    Closes-Bug: #2017878
    Change-Id: Idc19b30e2453b4d68473b488dba226dc48be9efe


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2017878

Title:
  ``cmd.sanity.checks._get_ovn_version`` is returning a 3 element tuple,
  instead of 2

Status in neutron:
  Fix Released

Bug description:
  The method ``cmd.sanity.checks._get_ovn_version`` is returning a 3
  element tuple. The output of the "ovn-nbctl --version" and "ovn-sbctl
  --version" have three elements, in the format "major.minor.revision".
  E.g.:

    $ ovn-nbctl --version
    ovn-nbctl 21.06.0
    Open vSwitch Library 2.15.90
    DB Schema 5.32.0

  The elements to be compared with should be a 3 element tuple too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2017878/+subscriptions



References