Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Could not load 'opendaylight': No module named opendaylight.driver

Hi, I'm trying to integrate a Openstack install based on RDO Newton and Opendaylight Beryllium-SR4.

I have reconfigure neutron server to use opendaylight instead of openvswitch, but after starting neutron-server I see a 'Could not load opendaylight' error in the logs:

2016-11-21 16:57:44.349 22450 INFO neutron.plugins.ml2.managers [-] Configured mechanism driver names:['opendaylight'] 
2016-11-21 16:57:44.349 22450 ERROR stevedore.extension [-] Could not load 'opendaylight': No module named opendaylight.driver 
2016-11-21 16:57:44.350 22450 WARNING stevedore.named [-] Could not load opendaylight 
2016-11-21 16:57:44.350 22450 INFO neutron.plugins.ml2.managers [-] Loaded mechanism driver names: [] 
2016-11-21 16:57:44.350 22450 INFO neutron.plugins.ml2.managers [-] Registered mechanism drivers: []

I've installed networking_odl using pip, but this hasn't helped. Any ideas on how to resolve this?

The default ml2 plugins such as openvswitch are installed under: /usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/openvswitch

But networking_odl gets installed under: /usr/lib/python2.7/site-packages/networking_odl/ml2

Could this be part of the problem?