install ml2_odl option correctly

Bug #1516966 reported by yong sheng gong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-odl
Fix Released
Undecided
yong sheng gong

Bug Description

2015-11-17 10:20:49.483 10572 CRITICAL neutron [-] NoSuchOptError: no such option: ml2_odl
2015-11-17 10:20:49.483 10572 ERROR neutron Traceback (most recent call last):
2015-11-17 10:20:49.483 10572 ERROR neutron File "/usr/bin/neutron-server", line 10, in <module>
2015-11-17 10:20:49.483 10572 ERROR neutron sys.exit(main_wsgi_eventlet())
2015-11-17 10:20:49.483 10572 ERROR neutron File "/opt/stack/neutron/neutron/cmd/eventlet/server/__init__.py", line 19, in main_wsgi_eventlet
2015-11-17 10:20:49.483 10572 ERROR neutron wsgi_eventlet.main()
2015-11-17 10:20:49.483 10572 ERROR neutron File "/opt/stack/neutron/neutron/server/wsgi_eventlet.py", line 51, in main
2015-11-17 10:20:49.483 10572 ERROR neutron server.boot_server(_eventlet_wsgi_server)
2015-11-17 10:20:49.483 10572 ERROR neutron File "/opt/stack/neutron/neutron/server/__init__.py", line 35, in boot_server
2015-11-17 10:20:49.483 10572 ERROR neutron server_func()
2015-11-17 10:20:49.483 10572 ERROR neutron File "/opt/stack/neutron/neutron/server/wsgi_eventlet.py", line 28, in _eventlet_wsgi_server
2015-11-17 10:20:49.483 10572 ERROR neutron neutron_api = service.serve_wsgi(service.NeutronApiService)
2015-11-17 10:20:49.483 10572 ERROR neutron File "/opt/stack/neutron/neutron/service.py", line 110, in serve_wsgi
2015-11-17 10:20:49.483 10572 ERROR neutron LOG.exception(_LE('Unrecoverable error: please check log '
2015-11-17 10:20:49.483 10572 ERROR neutron File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 197, in __exit__
2015-11-17 10:20:49.483 10572 ERROR neutron six.reraise(self.type_, self.value, self.tb)
2015-11-17 10:20:49.483 10572 ERROR neutron File "/opt/stack/neutron/neutron/service.py", line 107, in serve_wsgi
2015-11-17 10:20:49.483 10572 ERROR neutron service.start()
2015-11-17 10:20:49.483 10572 ERROR neutron File "/opt/stack/neutron/neutron/service.py", line 80, in start
2015-11-17 10:20:49.483 10572 ERROR neutron self.wsgi_app = _run_wsgi(self.app_name)
2015-11-17 10:20:49.483 10572 ERROR neutron File "/opt/stack/neutron/neutron/service.py", line 231, in _run_wsgi
2015-11-17 10:20:49.483 10572 ERROR neutron app = config.load_paste_app(app_name)
2015-11-17 10:20:49.483 10572 ERROR neutron File "/opt/stack/neutron/neutron/common/config.py", line 207, in load_paste_app
2015-11-17 10:20:49.483 10572 ERROR neutron app = loader.load_app(app_name)
2015-11-17 10:20:49.483 10572 ERROR neutron File "/usr/lib/python2.7/site-packages/oslo_service/wsgi.py", line 324, in load_app
2015-11-17 10:20:49.483 10572 ERROR neutron return deploy.loadapp("config:%s" % self.config_path, name=name)
2015-11-17 10:20:49.483 10572 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
2015-11-17 10:20:49.483 10572 ERROR neutron return loadobj(APP, uri, name=name, **kw)
2015-11-17 10:20:49.483 10572 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
2015-11-17 10:20:49.483 10572 ERROR neutron return context.create()
2015-11-17 10:20:49.483 10572 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
2015-11-17 10:20:49.483 10572 ERROR neutron return self.object_type.invoke(self)
2015-11-17 10:20:49.483 10572 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2015-11-17 10:20:49.483 10572 ERROR neutron **context.local_conf)
2015-11-17 10:20:49.483 10572 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/util.py", line 55, in fix_call
2015-11-17 10:20:49.483 10572 ERROR neutron val = callable(*args, **kw)
2015-11-17 10:20:49.483 10572 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/urlmap.py", line 31, in urlmap_factory
2015-11-17 10:20:49.483 10572 ERROR neutron app = loader.get_app(app_name, global_conf=global_conf)
2015-11-17 10:20:49.483 10572 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 350, in get_app
2015-11-17 10:20:49.483 10572 ERROR neutron name=name, global_conf=global_conf).create()
2015-11-17 10:20:49.483 10572 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
2015-11-17 10:20:49.483 10572 ERROR neutron return self.object_type.invoke(self)
2015-11-17 10:20:49.483 10572 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2015-11-17 10:20:49.483 10572 ERROR neutron **context.local_conf)
2015-11-17 10:20:49.483 10572 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/util.py", line 55, in fix_call
2015-11-17 10:20:49.483 10572 ERROR neutron val = callable(*args, **kw)
2015-11-17 10:20:49.483 10572 ERROR neutron File "/opt/stack/neutron/neutron/auth.py", line 71, in pipeline_factory
2015-11-17 10:20:49.483 10572 ERROR neutron app = loader.get_app(pipeline[-1])
2015-11-17 10:20:49.483 10572 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 350, in get_app
2015-11-17 10:20:49.483 10572 ERROR neutron name=name, global_conf=global_conf).create()
2015-11-17 10:20:49.483 10572 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
2015-11-17 10:20:49.483 10572 ERROR neutron return self.object_type.invoke(self)
2015-11-17 10:20:49.483 10572 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 146, in invoke
2015-11-17 10:20:49.483 10572 ERROR neutron return fix_call(context.object, context.global_conf, **context.local_conf)
2015-11-17 10:20:49.483 10572 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/util.py", line 55, in fix_call
2015-11-17 10:20:49.483 10572 ERROR neutron val = callable(*args, **kw)
2015-11-17 10:20:49.483 10572 ERROR neutron File "/opt/stack/neutron/neutron/api/v2/router.py", line 74, in factory
2015-11-17 10:20:49.483 10572 ERROR neutron return cls(**local_config)
2015-11-17 10:20:49.483 10572 ERROR neutron File "/opt/stack/neutron/neutron/api/v2/router.py", line 78, in __init__
2015-11-17 10:20:49.483 10572 ERROR neutron plugin = manager.NeutronManager.get_plugin()
2015-11-17 10:20:49.483 10572 ERROR neutron File "/opt/stack/neutron/neutron/manager.py", line 237, in get_plugin
2015-11-17 10:20:49.483 10572 ERROR neutron return weakref.proxy(cls.get_instance().plugin)
2015-11-17 10:20:49.483 10572 ERROR neutron File "/opt/stack/neutron/neutron/manager.py", line 231, in get_instance
2015-11-17 10:20:49.483 10572 ERROR neutron cls._create_instance()
2015-11-17 10:20:49.483 10572 ERROR neutron File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 254, in inner
2015-11-17 10:20:49.483 10572 ERROR neutron return f(*args, **kwargs)
2015-11-17 10:20:49.483 10572 ERROR neutron File "/opt/stack/neutron/neutron/manager.py", line 217, in _create_instance
2015-11-17 10:20:49.483 10572 ERROR neutron cls._instance = cls()
2015-11-17 10:20:49.483 10572 ERROR neutron File "/opt/stack/neutron/neutron/manager.py", line 117, in __init__
2015-11-17 10:20:49.483 10572 ERROR neutron plugin_provider)
2015-11-17 10:20:49.483 10572 ERROR neutron File "/opt/stack/neutron/neutron/manager.py", line 150, in _get_plugin_instance
2015-11-17 10:20:49.483 10572 ERROR neutron return plugin_class()
2015-11-17 10:20:49.483 10572 ERROR neutron File "/opt/stack/neutron/neutron/quota/resource_registry.py", line 121, in wrapper
2015-11-17 10:20:49.483 10572 ERROR neutron return f(*args, **kwargs)
2015-11-17 10:20:49.483 10572 ERROR neutron File "/opt/stack/neutron/neutron/plugins/ml2/plugin.py", line 149, in __init__
2015-11-17 10:20:49.483 10572 ERROR neutron self.mechanism_manager.initialize()
2015-11-17 10:20:49.483 10572 ERROR neutron File "/opt/stack/neutron/neutron/plugins/ml2/managers.py", line 362, in initialize
2015-11-17 10:20:49.483 10572 ERROR neutron driver.obj.initialize()
2015-11-17 10:20:49.483 10572 ERROR neutron File "/usr/lib/python2.7/site-packages/networking_odl/ml2/mech_driver.py", line 392, in initialize
2015-11-17 10:20:49.483 10572 ERROR neutron self.url = cfg.CONF.ml2_odl.url
2015-11-17 10:20:49.483 10572 ERROR neutron File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 1937, in __getattr__
2015-11-17 10:20:49.483 10572 ERROR neutron raise NoSuchOptError(name)
2015-11-17 10:20:49.483 10572 ERROR neutron NoSuchOptError: no such option: ml2_odl

Changed in networking-odl:
assignee: nobody → yong sheng gong (gongysh)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-odl (master)

Fix proposed to branch: master
Review: https://review.openstack.org/246320

Changed in networking-odl:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on networking-odl (master)

Change abandoned by gongysh (gong.yongsheng@99cloud.net) on branch: master
Review: https://review.openstack.org/246320
Reason: It is merged in https://review.openstack.org/#/c/246453/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-odl (master)

Reviewed: https://review.openstack.org/246453
Committed: https://git.openstack.org/cgit/openstack/networking-odl/commit/?id=15d814e49866bbf02837a4e389d796763536d9a0
Submitter: Jenkins
Branch: master

commit 15d814e49866bbf02837a4e389d796763536d9a0
Author: Henry Gessau <email address hidden>
Date: Tue Nov 17 10:29:43 2015 -0500

    Fix up issues after decomposition

    The removal of the ODL code from the neutron core tree caused some
    unit tests to break, which are fixed by this patch.

    Import ml2_odl options in opendaylight mechanism driver

    In addition, other opendaylight drivers' way
    of imporing ml2_odl options is updated too.

    Co-Authored-By: Henry Gessau <email address hidden>
    Co-Authored-By: gong yong sheng <gong.yongsheng@99cloud.net>

    Closes-Bug: #1514823
    Closes-Bug: #1516966

    Change-Id: Iae9cc53c6cd926339e59db1ffc136a6b106cde5a

Changed in networking-odl:
status: In Progress → Fix Committed
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/networking-odl 2.0.0

This issue was fixed in the openstack/networking-odl 2.0.0 release.

Changed in networking-odl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.