Plugin is initialized twice

Bug #1020024 reported by yong sheng gong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Salvatore Orlando

Bug Description

2012-07-02 18:00:11 DEBUG [quantum.api.v2.router] Plugin location:quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2
2012-07-02 18:00:11 INFO [quantum.manager] Loading Plugin: quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2
/usr/lib64/python2.6/site-packages/sqlalchemy/pool.py:683: SADeprecationWarning: The 'listeners' argument to Pool (and create_engine()) is deprecated. Use event.listen().
  Pool.__init__(self, creator, **kw)
/usr/lib64/python2.6/site-packages/sqlalchemy/pool.py:159: SADeprecationWarning: Pool.add_listener is deprecated. Use event.listen()
  self.add_listener(l)
2012-07-02 18:01:12 DEBUG [routes.middleware] Initialized with method overriding = True, and path info altering = True
2012-07-02 18:01:12 DEBUG [quantum.manager] Plugin location:quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2
2012-07-02 18:01:12 INFO [quantum.manager] Loading Plugin: quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2

Revision history for this message
yong sheng gong (gongysh) wrote :

V2/Router is using manager.get_plugin(plugin_provider),
but V1/Router is using manager.QuantumManager.get_plugin()

Changed in quantum:
assignee: nobody → yong sheng gong (gongysh)
assignee: yong sheng gong (gongysh) → nobody
Revision history for this message
Salvatore Orlando (salvatore-orlando) wrote :

At a first glance, it looks like this is a regression of bug #834449, which also was a regression of bug #804237
It seems that this is a recurrent bug!

Changed in quantum:
assignee: nobody → Salvatore Orlando (salvatore-orlando)
Changed in quantum:
importance: Undecided → Low
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/9751

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

Reviewed: https://review.openstack.org/9751
Committed: http://github.com/openstack/quantum/commit/825c00b96f049f39278d794a0e4968edce8abce6
Submitter: Jenkins
Branch: master

commit 825c00b96f049f39278d794a0e4968edce8abce6
Author: Salvatore Orlando <email address hidden>
Date: Thu Jul 12 05:14:39 2012 -0700

    Ensures API v2 router does not load plugin twice

    Fixes bug 1020024

    The router will simply use the QuantumManager which stores the instance
    of the plugin being used by the Quantum server. Changes to unit tests
    are for ensuring plugin instances are recycled across tests.

    Change-Id: I339a40ee6fef74d938245e9c50c7ed695d866e3b

Changed in quantum:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in quantum:
milestone: none → folsom-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in quantum:
milestone: folsom-3 → 2012.2
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.