ERROR neutron ModuleNotFoundError: No module named 'networking_ovn'

331 views Asked by At

I want to integrate OpenStack and Ovn according to OpenStack official tutorial for integrating ovn into OpenStack. However, when I start neutron-server.service, the following error(from /var/log/neutron/server.log) occurs.

2023-04-22 22:04:01.116 55307 ERROR neutron_lib.utils.runtime [req-ef765084-f8aa-4131-b616-9df7ece0cb43 - - - - -] Error loading class by alias: stevedore.exception.NoMatches: No 'neutron.service_plugins' driver found, looking for 'networking_ovn.l3.l3_ovn.OVNL3RouterPlugin'

Here is my neutron.config:

[DEFAULT]

#
# From oslo.log
#

core_plugin = neutron.plugins.ml2.plugin.Ml2Plugin
service_plugins =networking_ovn.l3.l3_ovn.OVNL3RouterPlugin
transport_url = rabbit://openstack:abcdefg@controller
auth_strategy = keystone
notify_nova_on_port_status_changes = true
notify_nova_on_port_data_changes = true

How can l slove this problem.

1

There are 1 answers

0
eblock On BEST ANSWER

Apparently, the doc you found has been retired (which isn't obvious to me except the last page update from 2019). The correct guide is this. So the correct plugin configs are:

core_plugin = ml2 
service_plugins = ovn-router