← Back to team overview

openstack-qa-team team mailing list archive

Re: QA for Live Migration

 

On 07/06/2012 05:34 AM, John Garbutt wrote:
> Hi,
> 
> I am in the process of adding Live Migration support into the XenAPI driver.
> Are there any current plans on how to test Live Migration, is it done already?
> I was thinking of copying what has been done for Migration.

cc'ing Anne Gentle because of the doc references...

Hi John,

There are currently no tests for live migration. I imagine that the
reason is because there is very poor documentation on the os-migrateLive
API extension. I'd be happy to help you in writing the tests, however,
but I'd love some help in identifying some documentation other than this:

http://docs.openstack.org/essex/openstack-compute/admin/content/live-migration-usage.html

Which doesn't show API calls but rather calls to the novaclient. I've
looked in python-novaclient here:

https://github.com/openstack/python-novaclient/blob/master/novaclient/v1_1/servers.py#L625

But it isn't particularly helpful to be honest... we need to know the
contractual state changes that need to be asserted in the Tempest tests.

Additionally, I'd like to point out that there is a lot of confusion as
to what is different between the standard Compute API call to "migrate a
server" (POST /servers/<SERVER_ID>/action with 'migrate' action...) and
the live migration extension. There is no mention whatsoever of the
migrate action in the Compute API v2 documentation:

http://docs.openstack.org/api/openstack-compute/2/content/Server_Actions-d1e3229.html

I only know about it from grepping through the novaclient source code
and seeing both live_migrate and migrate actions...	

Best,
-jay


References