← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1694406] Re: Live migration failure during detach volume leaves the instance task state to migrating forever

 

Reviewed:  https://review.openstack.org/483911
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=2d3486d0ee72bc5fdd6982b9cab76c8ca9015848
Submitter: Jenkins
Branch:    master

commit 2d3486d0ee72bc5fdd6982b9cab76c8ca9015848
Author: manas.mandlekar <manas.mandlekar@xxxxxxxxxx>
Date:   Fri Jul 14 06:56:07 2017 -0400

    Instance remains in migrating state forever
    
    An unexpected failure during live migration leaves the instance
    to migrating state forever.
    The issue is that in case of unexpected failure the task state is
    set to be same as the instance task state. It should be set to
    'None' instead.
    
    Change-Id: I254977fbebf87ac712322f321792a5dfe3f0df0e
    Closes-Bug: 1694406


** Changed in: nova
       Status: In Progress => Fix Released

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

Title:
  Live migration failure during detach volume leaves the instance task
  state to migrating forever

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  Description
  ===========
  Live migration failure during detach volume leaves the instance task state to migrating forever.

  Steps to reproduce
  ==================
  - Deploy a VM on a host (the source host) and ensure that vm is in active and running state.
  - Pick one of the host in the environment to be destination host and make changes so that a detach volume operation from the destination host would fail.
  - Trigger the VM migration operation.
  Expected result
  ===============
  - VM migration should fail.
  - VM should go into error state.
  - VM task state is set to None.

  Actual result
  =============
  - VM migration failed.
  - VM went into error state.
  BUT
  - the VM task state remained in migrating state.

  Environment
  ===========
  1. Exact version of OpenStack you are running.
  Openstack Ocata
  PowerVM driver
  ii  nova-common                               10:15.0.0-201705241307.ibm.ubuntu1.85      all          OpenStack Compute (codename Nova) is open source software designed to
  ii  nova-compute                              10:15.0.0-201705241307.ibm.ubuntu1.85      all          OpenStack Compute (codename Nova) is open source software designed to

  Logs & Configs
  ==============
  NA

  nova-version: Ocata, Pike

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


References