← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1430057] [NEW] Fake instance stuck in MIGRATING state

 

Public bug reported:

I am using FakeDriver.

It seems that when concurrent resize and live-migration operations, a
fake instance can remain stucked in MIGRATING state.

To reproduce the bug, I spawned a fake instance and run a script that resized it to random flavors every second. Concurrently, from another node, I run a script that tried to live-migrate the instance to another host (every 1.2 seconds).
Most of the times messages were something like 'cannot migrate instance in state VERIFY_RESIZE', but, when live-migration succeeded the instance was stuck in MIGRATING status and needed a `nova refresh --active` command.

** Affects: nova
     Importance: Undecided
         Status: New

** Description changed:

  I am using FakeDriver.
  
- It seems that when there are a resize and a live-migration concurrent
- operation, a fake instance can remain stacked in MIGRATING state.
+ It seems that when concurrent resize and live-migration operations, a
+ fake instance can remain stucked in MIGRATING state.
  
- To reproduce the bug, I spawned a fake instance and run a script that resized it to random flavors every second. Concurrently, from another node, I run a script that tried to live-migrate the instance to another host.
+ To reproduce the bug, I spawned a fake instance and run a script that resized it to random flavors every second. Concurrently, from another node, I run a script that tried to live-migrate the instance to another host (every 1.2 seconds).
  Most of the times messages were something like 'cannot migrate instance in state VERIFY_RESIZE', but, when live-migration succeeded the instance was stuck in MIGRATING status and needed a `nova refresh --active` command.

** Summary changed:

- Fake instance hung on MIGRATING state
+ Fake instance stuck in MIGRATING state

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1430057

Title:
  Fake instance stuck in MIGRATING state

Status in OpenStack Compute (Nova):
  New

Bug description:
  I am using FakeDriver.

  It seems that when concurrent resize and live-migration operations, a
  fake instance can remain stucked in MIGRATING state.

  To reproduce the bug, I spawned a fake instance and run a script that resized it to random flavors every second. Concurrently, from another node, I run a script that tried to live-migrate the instance to another host (every 1.2 seconds).
  Most of the times messages were something like 'cannot migrate instance in state VERIFY_RESIZE', but, when live-migration succeeded the instance was stuck in MIGRATING status and needed a `nova refresh --active` command.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1430057/+subscriptions


Follow ups

References