Ask Your Question
0

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

asked 2016-11-21 11:12:50 -0500

DaveJ gravatar image

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?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-11-21 15:33:03 -0500

DaveJ gravatar image

I eventually resolved this, by merging the contents of /usr/lib/python2.7/site-packages/networking_odl-2.0.1-py2.7.egg-info/entry_points.txt with /usr/lib/python2.7/site-packages/neutron-9.0.0-py2.7.egg-info/entry_points.txt

After restarting neutron-server it worked.

I'm not sure if there is a formal way to register a new entry_points file.

edit flag offensive delete link more

Comments

N.B I repeated a fresh install with packstack. This time I installed networking_odl using yum, and there was no need to merge the entry_points txt file, so if using packstack install using rpms rather than pip.

DaveJ gravatar imageDaveJ ( 2016-11-23 05:42:10 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-11-21 11:12:50 -0500

Seen: 389 times

Last updated: Nov 21 '16