module' object has no attribute 'instance_by'

Bug #1031756 reported by Dan Prince
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Dan Prince

Bug Description

Using the latest Nova folsom builds I'm seeing the following exceptions from Nova network.log:

2012-08-01 12:34:41 ERROR nova.openstack.common.rpc.amqp [-] Exception during message handling
2012-08-01 12:34:41 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
2012-08-01 12:34:41 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/site-packages/nova/openstack/common/rpc/amqp.py", line 275, in _process_data
2012-08-01 12:34:41 TRACE nova.openstack.common.rpc.amqp rval = self.proxy.dispatch(ctxt, version, method, **args)
2012-08-01 12:34:41 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/site-packages/nova/openstack/common/rpc/dispatcher.py", line 145, in dispatch
2012-08-01 12:34:41 TRACE nova.openstack.common.rpc.amqp return getattr(proxyobj, method)(ctxt, **kwargs)
2012-08-01 12:34:41 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/site-packages/nova/network/manager.py", line 1552, in setup_networks_on_host
2012-08-01 12:34:41 TRACE nova.openstack.common.rpc.amqp instance = self.db.instance_by(context, instance_id)
2012-08-01 12:34:41 TRACE nova.openstack.common.rpc.amqp AttributeError: 'module' object has no attribute 'instance_by'
2012-08-01 12:34:41 TRACE nova.openstack.common.rpc.amqp
2012-08-01 12:34:41 ERROR nova.openstack.common.rpc.common [-] Returning exception 'module' object has no attribute 'instance_by' to caller

Dan Prince (dan-prince)
Changed in nova:
assignee: nobody → Dan Prince (dan-prince)
importance: Undecided → High
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

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

Reviewed: https://review.openstack.org/10645
Committed: http://github.com/openstack/nova/commit/fce61c1bc0ddb5e8bffdc5ed6345fc8c2d5bb0c3
Submitter: Jenkins
Branch: master

commit fce61c1bc0ddb5e8bffdc5ed6345fc8c2d5bb0c3
Author: Dan Prince <email address hidden>
Date: Wed Aug 1 08:43:46 2012 -0400

    Use instance_get instead of instance_by.

    Updates the network manager to use db.instance_get instead of
    db.instance_by (which doesn't exist). This change seems to have
    slipped in in the recent vifs UUID conversion code.

    Fixes LP Bug #1031756.

    Change-Id: Ie487a2f845a722a5e7923e26a550d74f553e8afc

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