Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRITICAL bgp-agent [-] Unhandled error: AssertionError #3

Open
satishdotpatel opened this issue Jul 22, 2022 · 0 comments
Open

CRITICAL bgp-agent [-] Unhandled error: AssertionError #3

satishdotpatel opened this issue Jul 22, 2022 · 0 comments

Comments

@satishdotpatel
Copy link

satishdotpatel commented Jul 22, 2022

Hi,

I am following your blog to create my lab the way you did here https://ltomasbo.wordpress.com/2021/02/04/ovn-bgp-agent-testing-setup/ but i am using Ubuntu 20.04 instead of CentOS8 which is dead and hard to install devstack.

Everything went well but i stuck here when installing bgp-agent

$ python3 setup.py install

Encounter following error when i execute bgp-agent

root@rack-1-host-2:/usr/local/bin# bgp-agent
2022-07-22 03:41:31.321 111323 INFO bgp_agent.config [-] Logging enabled!
2022-07-22 03:41:31.666 111323 CRITICAL bgp-agent [-] Unhandled error: AssertionError
2022-07-22 03:41:31.666 111323 ERROR bgp-agent Traceback (most recent call last):
2022-07-22 03:41:31.666 111323 ERROR bgp-agent   File "/usr/local/bin/bgp-agent", line 10, in <module>
2022-07-22 03:41:31.666 111323 ERROR bgp-agent     sys.exit(start())
2022-07-22 03:41:31.666 111323 ERROR bgp-agent   File "/usr/local/lib/python3.8/dist-packages/bgp_agent/agent.py", line 76, in start
2022-07-22 03:41:31.666 111323 ERROR bgp-agent     bgp_agent_launcher = service.launch(config.CONF, BGPAgent())
2022-07-22 03:41:31.666 111323 ERROR bgp-agent   File "/usr/local/lib/python3.8/dist-packages/bgp_agent/agent.py", line 44, in __init__
2022-07-22 03:41:31.666 111323 ERROR bgp-agent     self.agent_driver = driver_api.AgentDriverBase.get_instance(
2022-07-22 03:41:31.666 111323 ERROR bgp-agent   File "/usr/local/lib/python3.8/dist-packages/bgp_agent/platform/driver_api.py", line 25, in get_instance
2022-07-22 03:41:31.666 111323 ERROR bgp-agent     agent_driver = stevedore_driver.DriverManager(
2022-07-22 03:41:31.666 111323 ERROR bgp-agent   File "/usr/local/lib/python3.8/dist-packages/stevedore/driver.py", line 54, in __init__
2022-07-22 03:41:31.666 111323 ERROR bgp-agent     super(DriverManager, self).__init__(
2022-07-22 03:41:31.666 111323 ERROR bgp-agent   File "/usr/local/lib/python3.8/dist-packages/stevedore/named.py", line 78, in __init__
2022-07-22 03:41:31.666 111323 ERROR bgp-agent     extensions = self._load_plugins(invoke_on_load,
2022-07-22 03:41:31.666 111323 ERROR bgp-agent   File "/usr/local/lib/python3.8/dist-packages/stevedore/extension.py", line 221, in _load_plugins
2022-07-22 03:41:31.666 111323 ERROR bgp-agent     ext = self._load_one_plugin(ep,
2022-07-22 03:41:31.666 111323 ERROR bgp-agent   File "/usr/local/lib/python3.8/dist-packages/stevedore/named.py", line 156, in _load_one_plugin
2022-07-22 03:41:31.666 111323 ERROR bgp-agent     return super(NamedExtensionManager, self)._load_one_plugin(
2022-07-22 03:41:31.666 111323 ERROR bgp-agent   File "/usr/local/lib/python3.8/dist-packages/stevedore/extension.py", line 257, in _load_one_plugin
2022-07-22 03:41:31.666 111323 ERROR bgp-agent     obj = plugin(*invoke_args, **invoke_kwds)
2022-07-22 03:41:31.666 111323 ERROR bgp-agent   File "/usr/local/lib/python3.8/dist-packages/bgp_agent/platform/osp/ovn_bgp_driver.py", line 64, in __init__
2022-07-22 03:41:31.666 111323 ERROR bgp-agent     self._sb_idl = ovn.OvnSbIdl(
2022-07-22 03:41:31.666 111323 ERROR bgp-agent   File "/usr/local/lib/python3.8/dist-packages/bgp_agent/platform/osp/utils/ovn.py", line 62, in __init__
2022-07-22 03:41:31.666 111323 ERROR bgp-agent     super(OvnSbIdl, self).__init__(
2022-07-22 03:41:31.666 111323 ERROR bgp-agent   File "/usr/local/lib/python3.8/dist-packages/bgp_agent/platform/osp/utils/ovn.py", line 31, in __init__
2022-07-22 03:41:31.666 111323 ERROR bgp-agent     super(OvnIdl, self).__init__(remote, schema)
2022-07-22 03:41:31.666 111323 ERROR bgp-agent   File "/usr/local/lib/python3.8/dist-packages/ovs/db/idl.py", line 283, in __init__
2022-07-22 03:41:31.666 111323 ERROR bgp-agent     schema = schema_helper.get_idl_schema()
2022-07-22 03:41:31.666 111323 ERROR bgp-agent   File "/usr/local/lib/python3.8/dist-packages/ovs/db/idl.py", line 2323, in get_idl_schema
2022-07-22 03:41:31.666 111323 ERROR bgp-agent     self._keep_table_columns(schema, table, columns))
2022-07-22 03:41:31.666 111323 ERROR bgp-agent   File "/usr/local/lib/python3.8/dist-packages/ovs/db/idl.py", line 2330, in _keep_table_columns
2022-07-22 03:41:31.666 111323 ERROR bgp-agent     assert table_name in schema.tables
2022-07-22 03:41:31.666 111323 ERROR bgp-agent AssertionError
2022-07-22 03:41:31.666 111323 ERROR bgp-agent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant