rpc session error in nvp plugin

Bug #1084803 reported by Aaron Rosen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Aaron Rosen

Bug Description

The nvp plugin was never updated when some rpc changes were made. These changes fix the following exception in the nvp_plugin:
2012-11-29 16:25:16 7670 ERROR quantum.openstack.common.rpc.amqp [-] Exception during message handling
2012-11-29 16:25:16 7670 TRACE quantum.openstack.common.rpc.amqp Traceback (most recent call last):
2012-11-29 16:25:16 7670 TRACE quantum.openstack.common.rpc.amqp File "/opt/stack/quantum/quantum/openstack/common/rpc/amqp.py", line 276, in _process_data
2012-11-29 16:25:16 7670 TRACE quantum.openstack.common.rpc.amqp rval = self.proxy.dispatch(ctxt, version, method, **args)
2012-11-29 16:25:16 7670 TRACE quantum.openstack.common.rpc.amqp File "/opt/stack/quantum/quantum/openstack/common/rpc/dispatcher.py", line 145, in dispatch
2012-11-29 16:25:16 7670 TRACE quantum.openstack.common.rpc.amqp return getattr(proxyobj, method)(ctxt, **kwargs)
2012-11-29 16:25:16 7670 TRACE quantum.openstack.common.rpc.amqp File "/opt/stack/quantum/quantum/db/dhcp_rpc_base.py", line 171, in update_lease_expiration
2012-11-29 16:25:16 7670 TRACE quantum.openstack.common.rpc.amqp ip_address, lease_remaining)
2012-11-29 16:25:16 7670 TRACE quantum.openstack.common.rpc.amqp File "/opt/stack/quantum/quantum/db/db_base_plugin_v2.py", line 388, in update_fixed_ip_lease_expiration
2012-11-29 16:25:16 7670 TRACE quantum.openstack.common.rpc.amqp query = context.session.query(models_v2.IPAllocation)
2012-11-29 16:25:16 7670 TRACE quantum.openstack.common.rpc.amqp File "/opt/stack/quantum/quantum/openstack/common/rpc/common.py", line 276, in __getattr__
2012-11-29 16:25:16 7670 TRACE quantum.openstack.common.rpc.amqp raise AttributeError(key)
2012-11-29 16:25:16 7670 TRACE quantum.openstack.common.rpc.amqp AttributeError: session

Aaron Rosen (arosen)
Changed in quantum:
assignee: nobody → Aaron Rosen (arosen)
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/17175

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/17175
Committed: http://github.com/openstack/quantum/commit/ac81d9d345b233b6bf84e5b7ae48004cce153510
Submitter: Jenkins
Branch: master

commit ac81d9d345b233b6bf84e5b7ae48004cce153510
Author: Aaron Rosen <email address hidden>
Date: Thu Nov 29 16:24:55 2012 -0800

    Fixes Rpc related exception in NVP plugin

    The rpc changes from commit 05383d13 were not also made against
    the nvp_plugin. Bug #1084803

    Change-Id: Iac95065bda2f6b83e07c27045f374ab8690865ca

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