← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1964339] Re: [OVN Octavia Provider] OVN provider tests using too old version of OVN

 

Reviewed:  https://review.opendev.org/c/openstack/ovn-octavia-provider/+/833798
Committed: https://opendev.org/openstack/ovn-octavia-provider/commit/5bee600eddd872d43ba6c51400c20fa5f50bd97f
Submitter: "Zuul (22348)"
Branch:    master

commit 5bee600eddd872d43ba6c51400c20fa5f50bd97f
Author: Lucas Alvares Gomes <lucasagomes@xxxxxxxxx>
Date:   Tue Mar 15 14:30:56 2022 +0000

    Fix zuul templates for functional and tempest tests
    
    * The "devstack_localrc" key was missing, without it local.conf won't be
      populated.
    
    * Added OVN_BUILD_FROM_SOURCE to True to make sure OVN is compiled
    from code and not installed from packages.
    
    * Updated the version of OVN and OVS in the -released job to a newer
      version.
    
    Closes-Bug: #1964339
    Signed-off-by: Lucas Alvares Gomes <lucasagomes@xxxxxxxxx>
    Change-Id: I05ed8fb053c78bd16a52b5d82a3ab51faf856d78


** 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/1964339

Title:
  [OVN Octavia Provider] OVN provider tests using too old version of OVN

Status in neutron:
  Fix Released

Bug description:
  While trying to test out ovn-octavia-provider in devstack, I copied
  the functional testing vars, e.g.

   OVN_BRANCH: v20.06.0
   OVS_BRANCH: v2.13.0

  However, in devstack the octavia-driver-agent keeps crashing with a
  trace like this

  ERROR octavia.cmd.driver_agent Traceback (most recent call last):
  ERROR octavia.cmd.driver_agent   File "/opt/stack/octavia/octavia/cmd/driver_agent.py", line 65, in _process_wrapper
  ERROR octavia.cmd.driver_agent     function(exit_event)
  ERROR octavia.cmd.driver_agent   File "/opt/stack/ovn-octavia-provider/ovn_octavia_provider/agent.py", line 42, in OvnProviderAgent
  ERROR octavia.cmd.driver_agent     ovn_sb_idl_for_events = impl_idl_ovn.OvnSbIdlForLb(
  ERROR octavia.cmd.driver_agent   File "/opt/stack/ovn-octavia-provider/ovn_octavia_provider/ovsdb/impl_idl_ovn.py", line 237, in __init__
  ERROR octavia.cmd.driver_agent     super().__init__(
  ERROR octavia.cmd.driver_agent   File "/opt/stack/ovn-octavia-provider/ovn_octavia_provider/ovsdb/ovsdb_monitor.py", line 42, in __init__
  ERROR octavia.cmd.driver_agent     super().__init__(remote, schema)
  ERROR octavia.cmd.driver_agent   File "/usr/local/lib/python3.8/dist-packages/ovs/db/idl.py", line 141, in __init__
  ERROR octavia.cmd.driver_agent     schema = schema_helper.get_idl_schema()
  ERROR octavia.cmd.driver_agent   File "/usr/local/lib/python3.8/dist-packages/ovs/db/idl.py", line 2058, in get_idl_schema
  ERROR octavia.cmd.driver_agent     self._keep_table_columns(schema, table, columns))
  ERROR octavia.cmd.driver_agent   File "/usr/local/lib/python3.8/dist-packages/ovs/db/idl.py", line 2066, in _keep_table_columns
  ERROR octavia.cmd.driver_agent     assert table_name in schema.tables
  ERROR octavia.cmd.driver_agent AssertionError
  ERROR octavia.cmd.driver_agent

  After a bit of debugging, I found out that it is trying to get the
  'Load_Balancer' table in the SB database, which is a recent commit[1]
  in v20.12.0

  Not sure if this is a valid bug, but if the tests can be incremented
  to a working version of OVN that might help prevent others from
  tripping over this case. Thanks!

  [1] https://github.com/ovn-
  org/ovn/commit/42e694f03c187137852c2d7349daa0541a4f5e62

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



References