multihost: _disassociate_floating_ip _associate_floating_ip argument mismatch

Bug #1091698 reported by Mate Lakat
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Mate Lakat

Bug Description

In case of mult-host setup, the following errors appear on the secondary host:

Traceback (most recent call last):
  File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 277, in _process_data
    rval = self.proxy.dispatch(ctxt, version, method, **args)
  File "/opt/stack/nova/nova/openstack/common/rpc/dispatcher.py", line 147, in dispatch
    return getattr(proxyobj, method)(ctxt, **kwargs)
TypeError: _disassociate_floating_ip() takes exactly 5 arguments (4 given)

And similary:

Traceback (most recent call last):
  File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 277, in _process_data
    rval = self.proxy.dispatch(ctxt, version, method, **args)
  File "/opt/stack/nova/nova/openstack/common/rpc/dispatcher.py", line 147, in dispatch
    return getattr(proxyobj, method)(ctxt, **kwargs)
TypeError: _associate_floating_ip() takes exactly 6 arguments (5 given)

Tags: multihost
Mate Lakat (mate-lakat)
Changed in nova:
assignee: nobody → Mate Lakat (mate-lakat)
tags: added: multihost
Mate Lakat (mate-lakat)
Changed in nova:
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/18337

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

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

commit d65801ca0718a5ca417d5b134ae9b7d87730f83f
Author: Mate Lakat <email address hidden>
Date: Tue Dec 18 14:22:40 2012 +0000

    fix floating-ip in multihost case

    Fixes bug 1091698.

    _disassociate_floating_ip and _associate_floating_ip got an extra
    parameter since this change:
    https://github.com/openstack/nova/commit/b93e851c0d90c17868a0e68a3b54e136bb5cd54d
    However, the multi-host codepath was not amended, thus multihost case
    is broken since that. This fix adds the extra parameters for those rpc
    calls.

    Change-Id: I93a5f96ef87c0f8a14c912d7812c001d0c682afa

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