Ask Your Question
0

net-create mechanism driver error

asked 2015-12-08 11:05:36 -0600

Emad gravatar image

updated 2015-12-09 08:01:57 -0600

I just integrated openstack with opendaylight, however after neutron net-create ext-net I get mechanism driver error.

controller@controller-std:~/networking-odl$ neutron net-create ext-net
500-{u'NeutronError': {u'message': u'create_network_postcommit failed.', u'type': u'MechanismDriverError', u'detail': u''}}

Do I need to install networking_odl package? Because I remember I needed this for devstack. If I need this package then, for stable/icehouse I get the following error when sudo python setup.py install:

controller@controller-std:~/networking-odl$ sudo python setup.py install
ERROR:root:Error parsing
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/pbr/core.py", line 109, in pbr
    attrs = util.cfg_to_args(path)
  File "/usr/local/lib/python2.7/dist-packages/pbr/util.py", line 230, in cfg_to_args
    hook_fn = resolve_name(hook)
  File "/usr/local/lib/python2.7/dist-packages/pbr/util.py", line 185, in resolve_name
    raise ImportError(name)
ImportError: neutron.hooks.setup_hook
error in setup command: Error parsing /home/controller/networking-odl/setup.cfg: ImportError: neutron.hooks.setup_hook

And here is neutron log:

2015-12-09 15:46:08.410 1188 INFO neutron.common.config [-] Logging enabled!
2015-12-09 15:46:08.413 1188 INFO neutron.common.config [-] Config paste file: /etc/neutron/api-paste.ini
2015-12-09 15:46:08.455 1188 INFO neutron.manager [-] Loading core plugin: neutron.plugins.ml2.plugin.Ml2Plugin
2015-12-09 15:46:08.575 1188 INFO neutron.plugins.ml2.managers [-] Configured type driver names: ['flat', 'gre']
2015-12-09 15:46:08.634 1188 INFO neutron.plugins.ml2.drivers.type_flat [-] Allowable flat physical_network names: []
2015-12-09 15:46:08.636 1188 INFO neutron.plugins.ml2.managers [-] Loaded type driver names: ['flat', 'gre']
2015-12-09 15:46:08.636 1188 INFO neutron.plugins.ml2.managers [-] Registered types: ['flat', 'gre']
2015-12-09 15:46:08.636 1188 INFO neutron.plugins.ml2.managers [-] Tenant network_types: ['gre']
2015-12-09 15:46:08.637 1188 INFO neutron.plugins.ml2.managers [-] Configured mechanism driver names: ['opendaylight']
2015-12-09 15:46:08.637 1188 ERROR stevedore.extension [-] Could not load 'opendaylight': No module named opendaylight.driver
2015-12-09 15:46:08.637 1188 ERROR stevedore.extension [-] No module named opendaylight.driver
2015-12-09 15:46:08.637 1188 TRACE stevedore.extension Traceback (most recent call last):
2015-12-09 15:46:08.637 1188 TRACE stevedore.extension   File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 162, in _load_plugins
2015-12-09 15:46:08.637 1188 TRACE stevedore.extension     verify_requirements,
2015-12-09 15:46:08.637 1188 TRACE stevedore.extension   File "/usr/lib/python2.7/dist-packages/stevedore/named.py", line 123, in _load_one_plugin
2015-12-09 15:46:08.637 1188 TRACE stevedore.extension     verify_requirements,
2015-12-09 15:46:08.637 1188 TRACE stevedore.extension   File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 177, in _load_one_plugin
2015-12-09 15:46:08.637 1188 TRACE stevedore.extension     plugin = ep.load(require=verify_requirements)
2015-12-09 15:46:08.637 1188 TRACE stevedore.extension   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2088, in load
2015-12-09 15:46:08.637 1188 TRACE stevedore.extension     entry = __import__(self.module_name, globals(),globals(), ['__name__'])
2015-12-09 15:46:08.637 1188 TRACE stevedore.extension ImportError: No ...
(more)
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-07-19 09:12:07 -0600

Echirivella gravatar image

Hi, Could you share with the community which is the solution you find it?

Thanks

edit flag offensive delete link more
0

answered 2016-03-07 10:30:38 -0600

vishal_sharma gravatar image

I have same problem, Did you find the solution thanks

edit flag offensive delete link more

Comments

I got the solution for this. I think now you can close this thread

vishal_sharma gravatar imagevishal_sharma ( 2016-03-08 23:21:46 -0600 )edit

And what is the solution..?

M Raghu gravatar imageM Raghu ( 2019-04-10 03:55:20 -0600 )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: 2015-12-08 11:05:36 -0600

Seen: 746 times

Last updated: Jul 19 '16