Port information is deleted in live-migration with NEC plugin.

Bug #1160193 reported by Ryota Mibu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Ryota Mibu
Grizzly
Fix Released
Medium
Gary Kotton

Bug Description

This is a bug in NEC Plugin.

While migrating vm, it's port information is deleted at the end of the migration sequence.
This makes a lack of port information and the port is never activated.
The problem is that quantum-server(nec-plugin) delete port information by receiving port_removed message from source host, even if the port still exists on destination host.

In vm migration sequence,
1. nova-compute creates a new port on destination host,
2. quantum-agent(nec) sends port_added message to qauntum-server(nec),
3. quantum-server(nec) updates port information,
4. (kvm migrates vm,)
5. nova-compute deletes old port on source host,
6. quantum-agent(nec) sends port_deleted message to qauntum-server(nec),
7. quantum-server(nec) deletes port information.

I can fix this bug in a small patch,
I hope that the bugfix will be backported into grizzly release.

Tags: nec
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/25367

Changed in quantum:
assignee: nobody → Ryota Mibu (r-mibu)
status: New → In Progress
dan wendlandt (danwent)
tags: added: grizzly-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

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

Reviewed: https://review.openstack.org/25367
Committed: http://github.com/openstack/quantum/commit/a4e2442f25b63c976490882b21979a1a44963618
Submitter: Jenkins
Branch: master

commit a4e2442f25b63c976490882b21979a1a44963618
Author: Ryota MIBU <email address hidden>
Date: Thu Mar 28 15:38:13 2013 +0900

    Prevents a portinfo deletion in vm migration with NEC plugin.

    Fixes: Bug 1160193

    This patch prevents a portinfo deletion at the end of the migration sequence
    by ignoring port_removed message from the source host.

    Change-Id: I96932587b9d660aa01f8fcae0b0426c849d6c483

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

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to quantum (stable/grizzly)

Fix proposed to branch: stable/grizzly
Review: https://review.openstack.org/26191

Changed in quantum:
milestone: none → havana-1
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to quantum (stable/grizzly)

Reviewed: https://review.openstack.org/26191
Committed: http://github.com/openstack/quantum/commit/0ff2c5d9f44fcc1b7f72c1cf7505c63a7ebb7c16
Submitter: Jenkins
Branch: stable/grizzly

commit 0ff2c5d9f44fcc1b7f72c1cf7505c63a7ebb7c16
Author: Ryota MIBU <email address hidden>
Date: Thu Mar 28 15:38:13 2013 +0900

    Prevents a portinfo deletion in vm migration with NEC plugin.

    Fixes: Bug 1160193

    This patch prevents a portinfo deletion at the end of the migration sequence
    by ignoring port_removed message from the source host.

    Change-Id: I96932587b9d660aa01f8fcae0b0426c849d6c483

tags: added: in-stable-grizzly
Gary Kotton (garyk)
tags: removed: grizzly-backport-potential
Thierry Carrez (ttx)
Changed in quantum:
status: Fix Committed → Fix Released
Alan Pevec (apevec)
tags: removed: in-stable-grizzly
Thierry Carrez (ttx)
Changed in neutron:
milestone: havana-1 → 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.