yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #88445
[Bug 1964339] [NEW] [OVN Octavia Provider] OVN provider tests using too old version of OVN
Public bug reported:
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
** Affects: neutron
Importance: Undecided
Status: New
--
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:
New
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
Follow ups