Ask Your Question
0

Could not load 'opendaylight': No module named networking_odl.common

asked 2015-10-21 08:09:49 -0700

kuldeep_verma gravatar image

updated 2015-10-21 08:18:05 -0700

Hi , I am trying to integrate RDO openstack with heliumSR4 opendaylight. After changing machenism driver as opendaylight. I restart the neutron server. I am getting the error : Job for neutron-server.service failed. See 'systemctl status neutron-server.service' and 'journalctl -xn' for details. . I checked neutron server log. it says

2015-10-21 15:34:29.839 26943 ERROR stevedore.extension [-] Could not load 'opendaylight': No module named networkingodl.common 2015-10-21 15:34:29.839 26943 ERROR stevedore.extension [-] No module named networkingodl.common 2015-10-21 15:34:29.839 26943 TRACE stevedore.extension Traceback (most recent call last): 2015-10-21 15:34:29.839 26943 TRACE stevedore.extension File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 162, in loadplugins 2015-10-21 15:34:29.839 26943 TRACE stevedore.extension verifyrequirements, 2015-10-21 15:34:29.839 26943 TRACE stevedore.extension File "/usr/lib/python2.7/site-packages/stevedore/named.py", line 123, in _loadoneplugin 2015-10-21 15:34:29.839 26943 TRACE stevedore.extension verifyrequirements, 2015-10-21 15:34:29.839 26943 TRACE stevedore.extension File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 185, in loadoneplugin 2015-10-21 15:34:29.839 26943 TRACE stevedore.extension plugin = ep.load(require=verifyrequirements) 2015-10-21 15:34:29.839 26943 TRACE stevedore.extension File "/usr/lib/python2.7/site-packages/pkgresources.py", line 2260, in load 2015-10-21 15:34:29.839 26943 TRACE stevedore.extension entry = import(self.modulename, globals(),globals(), ['name']) 2015-10-21 15:34:29.839 26943 TRACE stevedore.extension File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/opendaylight/driver.py", line 16, in <module> 2015-10-21 15:34:29.839 26943 TRACE stevedore.extension from networkingodl.common import constants as odlconst 2015-10-21 15:34:29.839 26943 TRACE stevedore.extension ImportError: No module named networking_odl.common 2015-10-21 15:34:29.839 26943 TRACE stevedore.extension 2015-10-21 15:34:29.859 26943 ERROR neutron.common.config [-] Unable to load neutron from configuration file /usr/share/neutron/api-paste.ini.

My opendaylight is running on controller node. Any response will be appreciated. Thanks in advance!!

edit retag flag offensive close merge delete

5 answers

Sort by ยป oldest newest most voted
0

answered 2015-10-21 12:33:25 -0700

90.suman gravatar image

updated 2015-11-20 06:15:22 -0700

Vishal Thapar gravatar image

Command pip install networking_odl will do the job. If already present try pip install --upgrade networking_odl

edit flag offensive delete publish link more
1

answered 2015-11-19 18:28:15 -0700

moonbeamzebra gravatar image

It needs an underscore between networking and odl : pip install networking_odl

edit flag offensive delete publish link more
0

answered 2015-11-19 02:51:12 -0700

I have the same error message as the OP, I tried running both "pip install networking odl" & "pip install --upgrade networking odl". Both give the error below (both run as root and normal user). Any suggestions?

[roliver@controller ~]$ pip install networking odl
Collecting networking
  Could not find a version that satisfies the requirement networking (from versions: )
No matching distribution found for networking
[roliver@controller ~]$
edit flag offensive delete publish link more
0

answered 2015-11-23 22:42:44 -0700

sanjaykumar2891987 gravatar image

try this: sudo pip install networking_odl

It should solve your problem

edit flag offensive delete publish link more
0

answered 2016-04-21 23:43:00 -0700

gbraad gravatar image

After experiencing the same problem when integrating with PackStack (Liberty) [1] we can confirm that the following works in our case

yum install python-pip  
pip install -u networking_odl

[1] http://lists.openstack.org/pipermail/...

Thanks!

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-10-21 08:09:49 -0700

Seen: 972 times

Last updated: Apr 21 '16