TypeError: prep_resize() takes at least 6 arguments (7 given)

Bug #1035004 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 code I'm seeing the following exception when performing a resize (using allow_resize_to_same_host=True):

2012-08-09 17:38:35 AUDIT nova.service [-] Starting scheduler node (version 2012.2-LOCALBRANCH:LOCALREVISION)
2012-08-09 17:38:35 INFO nova.service [-] Caught SIGTERM, exiting
2012-08-09 17:38:36 AUDIT nova.service [-] Starting scheduler node (version 2012.2-LOCALBRANCH:LOCALREVISION)
2012-08-09 17:38:36 INFO nova.openstack.common.rpc.impl_qpid [-] Connected to AMQP server on localhost:5672
2012-08-09 17:39:43 INFO nova.openstack.common.rpc.impl_qpid [-] Connected to AMQP server on localhost:5672
2012-08-09 17:42:20 ERROR nova.openstack.common.rpc.amqp [-] Exception during message handling
2012-08-09 17:42:20 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
2012-08-09 17:42:20 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-09 17:42:20 TRACE nova.openstack.common.rpc.amqp rval = self.proxy.dispatch(ctxt, version, method, **args)
2012-08-09 17:42:20 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-09 17:42:20 TRACE nova.openstack.common.rpc.amqp return getattr(proxyobj, method)(ctxt, **kwargs)
2012-08-09 17:42:20 TRACE nova.openstack.common.rpc.amqp TypeError: prep_resize() takes at least 6 arguments (7 given)
2012-08-09 17:42:20 TRACE nova.openstack.common.rpc.amqp

Dan Prince (dan-prince)
Changed in nova:
assignee: nobody → Dan Prince (dan-prince)
status: New → In Progress
importance: Undecided → High
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/11094

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

Reviewed: https://review.openstack.org/11094
Committed: http://github.com/openstack/nova/commit/2fa7b1aa1cecf6963655dd613fdc4395a4d74626
Submitter: Jenkins
Branch: master

commit 2fa7b1aa1cecf6963655dd613fdc4395a4d74626
Author: Dan Prince <email address hidden>
Date: Thu Aug 9 15:16:24 2012 -0400

    Make update_db an opt arg in scheduler manager.

    Updates the scheduler manager so that update_db is an optional
    argument. This fixes issues when trying to make RPC calls
    with the most recent version (1.4) of the scheduler RPC API.

    Fixes LP Bug #1035004.

    Change-Id: Ib998c0465cead1b8e117a7344557f8ff496c7e40

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.