← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1405294] [NEW] Live migration with attached volume peforms breaking rollback on failure

 

Public bug reported:

During live migration with attached volume, nova ignores initialize
connection errors and does not roll back.

Steps:
* Create a nova instance
* Attach a cinder volume
* Perform ‘nova live-migration’ to a different backend
 	-Cause a failure in the ‘initialize_connection’ call to the new host
* Wait for nova to call ‘terminate_connection’ on the connection to the original host

Result:
* Instance remains on original host with Cinder volume attached according to Cinder but no longer mapped on the backend. This removes connectivity from storage to the host and can cause data loss.


Triage:
What seems to be happening is that Nova is not stopping the migration when receiving an error from Cinder and ends up calling terminate_connection for the src host when it should not be.

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  Live migration with attached volume peforms breaking rollback on
  failure

Status in OpenStack Compute (Nova):
  New

Bug description:
  During live migration with attached volume, nova ignores initialize
  connection errors and does not roll back.

  Steps:
  * Create a nova instance
  * Attach a cinder volume
  * Perform ‘nova live-migration’ to a different backend
   	-Cause a failure in the ‘initialize_connection’ call to the new host
  * Wait for nova to call ‘terminate_connection’ on the connection to the original host

  Result:
  * Instance remains on original host with Cinder volume attached according to Cinder but no longer mapped on the backend. This removes connectivity from storage to the host and can cause data loss.

  
  Triage:
  What seems to be happening is that Nova is not stopping the migration when receiving an error from Cinder and ends up calling terminate_connection for the src host when it should not be.

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


Follow ups

References