race condition with neutron in nova migrate code
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Aaron Rosen | ||
Icehouse |
Fix Released
|
High
|
Aaron Rosen |
Bug Description
The tempest test that does a resize on the instance from time to time fails with a neutron virtual interface timeout error. The reason why this is occurring is because resize_instance() calls:
which calls destory() which unplugs the vifs(). Then,
is called which expects a vif_plugged event. Since this happens on the same host the neutron agent is able to detect that the vif was unplugged then plugged because it happens so fast. To fix this we should check if we are migrating to the same host if we are we should not expect to get an event.
8d1] Setting instance vm_state to ERROR
2014-08-14 00:03:58.010 1276 TRACE nova.compute.
2014-08-14 00:03:58.010 1276 TRACE nova.compute.
2014-08-14 00:03:58.010 1276 TRACE nova.compute.
2014-08-14 00:03:58.010 1276 TRACE nova.compute.
2014-08-14 00:03:58.010 1276 TRACE nova.compute.
2014-08-14 00:03:58.010 1276 TRACE nova.compute.
2014-08-14 00:03:58.010 1276 TRACE nova.compute.
2014-08-14 00:03:58.010 1276 TRACE nova.compute.
2014-08-14 00:03:58.010 1276 TRACE nova.compute.
2014-08-14 00:03:58.010 1276 TRACE nova.compute.
2014-08-14 00:03:58.010 1276 TRACE nova.compute.
2014-08-14 00:03:58.010 1276 TRACE nova.compute.
2014-08-14 00:03:58.010 1276 TRACE nova.compute.
2014-08-14 00:03:58.010 1276 TRACE nova.compute.
Changed in nova: | |
assignee: | nobody → Aaron Rosen (arosen) |
importance: | Undecided → High |
Changed in nova: | |
milestone: | none → juno-3 |
Changed in nova: | |
milestone: | juno-3 → juno-rc1 |
Changed in nova: | |
status: | Fix Committed → Confirmed |
status: | Confirmed → Fix Committed |
description: | updated |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-rc1 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/116354
Review: https:/