Comment 0 for bug 1671011

Revision history for this message
Sivasathurappan Radhakrishnan (siva-radhakrishnan) wrote :

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/