← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1276214] [NEW] Live migration failure in API doesn't revert task_state to None

 

Public bug reported:

If API times out on a RPC during the processing of a migrate_server it
does not revert the task_state back to NULL before or after sending the
error response back to the user. This can prevent further API operations
on the VM and leave a good VMs in non-operable state with the exception
of perhaps a delete.

This is one possible reproducer. I'm not sure if this is always true,
and I'd appreciate if someone else confirm it.

1. Somehow make RPC requests hang
2. Issue a live migration request
3. The call should return an HTTP error (409 perhaps)
4. Check VM. It should be in a good state but the task_state stuck in 'migrating'

** 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/1276214

Title:
  Live migration failure in API doesn't revert task_state to None

Status in OpenStack Compute (Nova):
  New

Bug description:
  If API times out on a RPC during the processing of a migrate_server it
  does not revert the task_state back to NULL before or after sending
  the error response back to the user. This can prevent further API
  operations on the VM and leave a good VMs in non-operable state with
  the exception of perhaps a delete.

  This is one possible reproducer. I'm not sure if this is always true,
  and I'd appreciate if someone else confirm it.

  1. Somehow make RPC requests hang
  2. Issue a live migration request
  3. The call should return an HTTP error (409 perhaps)
  4. Check VM. It should be in a good state but the task_state stuck in 'migrating'

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


Follow ups

References