port down after live migration

Bug #1224967 reported by Mathieu Rohon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Mathieu Rohon

Bug Description

I'm using live-migration with devstack and ML2 plugin (the same error occurs with the OVS plugin)
https://wiki.openstack.org/wiki/Devstack/LiveMigration

First of all, I think there is a bug in nova :
https://bugs.launchpad.net/nova/+bug/1224960

I've proposed a patch attached to this bug to resolv it quickly.

it seems that there is also something that goes wrong in neutron.
after live-migrating a VM, the port is correctly created on the new host and the dataplane seems correct. But the port is still down in the port table, and the vif-type is "binding_failed" in ml2_port_bindings table

Changed in neutron:
assignee: nobody → Mathieu Rohon (mathieu-rohon)
Revision history for this message
Mathieu Rohon (mathieu-rohon) wrote :

it looks like the new host sends update_device_up, and its dataplane is correctly configured, but the previous host send update_device_down, that's why the port is getting down in database.

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

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

Changed in neutron:
status: New → In Progress
Kyle Mestery (mestery)
Changed in neutron:
importance: Undecided → Medium
Kyle Mestery (mestery)
Changed in neutron:
milestone: none → havana-rc1
tags: added: havana-rc-potentail
Changed in neutron:
milestone: havana-rc1 → none
tags: added: havana-rc-potential
removed: havana-rc-potentail
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/48261
Committed: http://github.com/openstack/neutron/commit/f0f87ca56bb76ebad94b6f01e04b475bd9362bdf
Submitter: Jenkins
Branch: master

commit f0f87ca56bb76ebad94b6f01e04b475bd9362bdf
Author: mathieu-rohon <email address hidden>
Date: Wed Oct 2 14:13:36 2013 +0200

    change port status only if port is bound to the good host

    if host is set in the rpc message update_device_up/down sent by the agent,
    the port status will be changed only if the port is bound to the host.

    Change-Id: I0e607c734fbebf0b69f83c3bbd3e25a9783672dc
    Closes-Bug: #1224967

Changed in neutron:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (milestone-proposed)

Fix proposed to branch: milestone-proposed
Review: https://review.openstack.org/50379

Changed in neutron:
milestone: none → havana-rc2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (milestone-proposed)

Reviewed: https://review.openstack.org/50379
Committed: http://github.com/openstack/neutron/commit/b988984907d36ffbe593014c9433f2b0d26feb60
Submitter: Jenkins
Branch: milestone-proposed

commit b988984907d36ffbe593014c9433f2b0d26feb60
Author: mathieu-rohon <email address hidden>
Date: Wed Oct 2 14:13:36 2013 +0200

    change port status only if port is bound to the good host

    if host is set in the rpc message update_device_up/down sent by the agent,
    the port status will be changed only if the port is bound to the host.

    Change-Id: I0e607c734fbebf0b69f83c3bbd3e25a9783672dc
    Closes-Bug: #1224967

Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: havana-rc2 → 2013.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.