← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1671011] [NEW] Live migration of paused instance fails when post copy is enabled

 

Public bug reported:

live migration paused instance fails when post copy is enabled.

Steps to Reproduce:

* spin up a instance and pause it
  nova pause <instance>

* Live migrate the instance
  nova live-migration <instance> <host>

Expected result
===============
Since post copy doesn't support live migration of paused instance. We need to return a error stating
"Paused instance can't be migrated when post copy is enabled" to give better user experience

Actual result
=============
Live migration command returns 202  but I could see libvirt failure compute logs.

Environment:

Multinode devstack environment with 2 compute nodes.
1)Current master
2)Networking-neutron
3)Hypervisor Libvirt-KVM
3) Enable post copy for which libvirt version should be greater than  or equal to 1.3.3.

Logs:
Following error found in compute log
http://paste.openstack.org/show/601362/

** Affects: nova
     Importance: Undecided
     Assignee: Sivasathurappan Radhakrishnan (siva-radhakrishnan)
         Status: New


** Tags: live-migration

** Changed in: nova
     Assignee: (unassigned) => Sivasathurappan Radhakrishnan (siva-radhakrishnan)

** Tags added: live-migration

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

Title:
  Live migration of paused instance fails when post copy is enabled

Status in OpenStack Compute (nova):
  New

Bug description:
  live migration paused instance fails when post copy is enabled.

  Steps to Reproduce:

  * spin up a instance and pause it
    nova pause <instance>

  * Live migrate the instance
    nova live-migration <instance> <host>

  Expected result
  ===============
  Since post copy doesn't support live migration of paused instance. We need to return a error stating
  "Paused instance can't be migrated when post copy is enabled" to give better user experience

  Actual result
  =============
  Live migration command returns 202  but I could see libvirt failure compute logs.

  Environment:

  Multinode devstack environment with 2 compute nodes.
  1)Current master
  2)Networking-neutron
  3)Hypervisor Libvirt-KVM
  3) Enable post copy for which libvirt version should be greater than  or equal to 1.3.3.

  Logs:
  Following error found in compute log
  http://paste.openstack.org/show/601362/

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


Follow ups