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

Bug #2017878 reported by Rodolfo Alonso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Rodolfo Alonso

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.

Changed in neutron:
importance: Undecided → Low
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/881708

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

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 <email address hidden>
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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 23.0.0.0b2

This issue was fixed in the openstack/neutron 23.0.0.0b2 development milestone.

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.