Public bug reported:

During live migration with attached volume, instance is moved to ERROR
state and stuck in task state Migrating when cinder client exception is
thrown.

Steps:
   1. Create a nova instance
   2. Attach a cinder volume
   3. Raise cinderclient exception in initialize_connection() in 
nova/volume/cinder.py 
   4. Live migrate instance to other compute node (on a shared storage setup)

Result:
       * ERROR (ClientException): Unexpected API Error. Please report this at 
http://bugs.launchpad.net/nova/ and attach the Nova API              log if 
possible. 
       * And instance changes to unrecoverable ERROR state and stuck in 
migrating task state.

Error message is expected but instance changing into unrecoverable ERROR
state should be fixed in my opinion. It has to roll back instead of
moving to ERROR state.

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: live-migration

** Attachment added: "LM-cinderclient-exception.txt"
   
https://bugs.launchpad.net/bugs/1544744/+attachment/4569617/+files/LM-cinderclient-exception.txt

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

Title:
  Live migration with attached volume results in ERROR state and fails
  to rollback when cinder client exception is thrown

Status in OpenStack Compute (nova):
  New

Bug description:
  During live migration with attached volume, instance is moved to ERROR
  state and stuck in task state Migrating when cinder client exception
  is thrown.

  Steps:
     1. Create a nova instance
     2. Attach a cinder volume
     3. Raise cinderclient exception in initialize_connection() in 
nova/volume/cinder.py 
     4. Live migrate instance to other compute node (on a shared storage setup)

  Result:
         * ERROR (ClientException): Unexpected API Error. Please report this at 
http://bugs.launchpad.net/nova/ and attach the Nova API              log if 
possible. 
         * And instance changes to unrecoverable ERROR state and stuck in 
migrating task state.

  Error message is expected but instance changing into unrecoverable
  ERROR state should be fixed in my opinion. It has to roll back instead
  of moving to ERROR state.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to