live migration doesn't work with Ryu plugin

Bug #1085861 reported by Isaku Yamahata
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Isaku Yamahata

Bug Description

Live migration doesn't work with Ryu plugin as follows

> ERROR [quantum.api.v2.resource] update failed
> Traceback (most recent call last):
> File "/quantum/api/v2/resource.py", line 95, in resource
> result = method(request=request, **args)
> File "/quantum/api/v2/base.py", line 397, in update
> obj = obj_updater(request.context, id, **kwargs)
> File "/quantum/plugins/ryu/ryu_quantum_plugin.py", line 226, in update_port
> port_binding.dpid, port_binding.port_no))
> InvalidInput: Invalid input for operation: invalid (datapath_id, port_no) requ
ested (00002eab88ec5140, 4), but (0000c2f19014c74a, 1).

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/17340

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

Reviewed: https://review.openstack.org/17340
Committed: http://github.com/openstack/quantum/commit/06b2b2b22a3f0a90a7ad60c09f360a1cec1f2b94
Submitter: Jenkins
Branch: master

commit 06b2b2b22a3f0a90a7ad60c09f360a1cec1f2b94
Author: Isaku Yamahata <email address hidden>
Date: Tue Nov 20 14:41:04 2012 +0900

    plugin/ryu: make live-migration work with Ryu plugin

    Fixes bug 1085861

    Live-migration with Ryu plugin doesn't work because the unique constraint of
    PortBinding table is violated as follows.
    Now Ryu can handle those informations itself, so remove the table itself and
    simplify Ryu plugin.

    > ERROR [quantum.api.v2.resource] update failed
    > Traceback (most recent call last):
    > File "/quantum/api/v2/resource.py", line 95, in resource
    > result = method(request=request, **args)
    > File "/quantum/api/v2/base.py", line 397, in update
    > obj = obj_updater(request.context, id, **kwargs)
    > File "/quantum/plugins/ryu/ryu_quantum_plugin.py", line 226, in update_port
    > port_binding.dpid, port_binding.port_no))
    > InvalidInput: Invalid input for operation: invalid (datapath_id, port_no) requested (00002eab88ec5140, 4), but (0000c2f19014c74a, 1).

    Change-Id: I7d993fd01125a27f6bf8e1b3fcac79ddcb8cb361

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.