Linuxbridge Plugin Does not work with V2

Bug #1012557 reported by Gary Kotton
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
yong sheng gong

Bug Description

012-06-13 04:22:26 INFO [quantum.manager] Loading Plugin: quantum.plugins.linuxbridge.LinuxBridgePlugin.LinuxBridgePlugin
2012-06-13 04:22:26 ERROR [quantum.common.config] Unable to load quantum from configuration file /etc/quantum/quantum.conf.
Traceback (most recent call last):
  File "/opt/stack/quantum/quantum/common/config.py", line 318, in load_paste_app
    app = deploy.loadapp("config:%s" % conf_file, name=app_name)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
    return context.create()
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
    return self.object_type.invoke(self)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke
    **context.local_conf)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 56, in fix_call
    val = callable(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/paste/urlmap.py", line 25, in urlmap_factory
    app = loader.get_app(app_name, global_conf=global_conf)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in get_app
    name=name, global_conf=global_conf).create()
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
    return self.object_type.invoke(self)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 203, in invoke
    app = context.app_context.create()
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
    return self.object_type.invoke(self)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 146, in invoke
    return fix_call(context.object, context.global_conf, **context.local_conf)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 56, in fix_call
    val = callable(*args, **kw)
  File "/opt/stack/quantum/quantum/wsgi.py", line 677, in factory
    return cls()
  File "/opt/stack/quantum/quantum/api/__init__.py", line 47, in __init__
    self._setup_routes(mapper, options)
  File "/opt/stack/quantum/quantum/api/__init__.py", line 54, in _setup_routes
    self._setup_base_routes(mapper, options, self._version)
  File "/opt/stack/quantum/quantum/api/__init__.py", line 61, in _setup_base_routes
    plugin = manager.QuantumManager.get_plugin(options)
  File "/opt/stack/quantum/quantum/manager.py", line 91, in get_plugin
    cls._instance = cls(options, config_file)
  File "/opt/stack/quantum/quantum/manager.py", line 86, in __init__
    self.plugin = get_plugin(plugin_provider)
  File "/opt/stack/quantum/quantum/manager.py", line 52, in get_plugin
    plugin_klass = importutils.import_class(plugin_provider)
  File "/opt/stack/quantum/quantum/openstack/common/importutils.py", line 33, in import_class
    (class_str, str(exc)))
ImportError: Class LinuxBridgePlugin cannot be found (cannot import name QuantumBase)
ERROR: Unable to load quantum from configuration file /etc/quantum/quantum.conf.
openstack@openstack:/opt/stack/quantum$

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

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

Changed in quantum:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to quantum (master)

Reviewed: https://review.openstack.org/8529
Committed: http://github.com/openstack/quantum/commit/00a4f63f373af0b87c9c4ba8671720bb8324c80a
Submitter: Jenkins
Branch: master

commit 00a4f63f373af0b87c9c4ba8671720bb8324c80a
Author: Yong Sheng Gong <email address hidden>
Date: Thu Jun 14 19:42:24 2012 +0800

    Remove wrong base class for l2network_models after v2.0 API

    Bug 1012557

    Change-Id: I2a43d5c9334525152e5307278020bad16bf64eb3

Changed in quantum:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in quantum:
milestone: none → folsom-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in quantum:
milestone: folsom-2 → 2012.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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