Live migrate Mitaka

asked 2016-10-03 16:52:31 -0500

RingWraiths gravatar image

updated 2016-10-05 01:21:44 -0500

Bipin gravatar image

I am trying to migrate an instance on a Mitaka target using the command

nova --debug live-migration --block-migrate de7a128f-0ac7-424b-bd6c-206a429e6c34 OS-Mitaka-KVM1-API-V3

But the instance still remains on the same host. I checked the capacity of the target host and it has enough resources to accommodate the new VM. The log from the above command are below

DEBUG (extension:157) found extension EntryPoint.parse('v2token = keystoneauth1.loading._plugins.identity.v2:Token')
DEBUG (extension:157) found extension EntryPoint.parse('admin_token = keystoneauth1.loading._plugins.admin_token:AdminToken')
DEBUG (extension:157) found extension EntryPoint.parse('v3oidcauthcode = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAuthorizationCode')
DEBUG (extension:157) found extension EntryPoint.parse('v2password = keystoneauth1.loading._plugins.identity.v2:Password')
DEBUG (extension:157) found extension EntryPoint.parse('v3password = keystoneauth1.loading._plugins.identity.v3:Password')
DEBUG (extension:157) found extension EntryPoint.parse('v3oidcpassword = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectPassword')
DEBUG (extension:157) found extension EntryPoint.parse('token = keystoneauth1.loading._plugins.identity.generic:Token')
DEBUG (extension:157) found extension EntryPoint.parse('v3token = keystoneauth1.loading._plugins.identity.v3:Token')
DEBUG (extension:157) found extension EntryPoint.parse('password = keystoneauth1.loading._plugins.identity.generic:Password')
DEBUG (extension:157) found extension EntryPoint.parse('password-ceilometer-legacy = ceilometer.keystone_client:LegacyCeilometerKeystoneLoader')
DEBUG (extension:157) found extension EntryPoint.parse('gnocchi-noauth = gnocchiclient.noauth:GnocchiNoAuthLoader')
DEBUG (extension:157) found extension EntryPoint.parse('password-aodh-legacy = aodh.keystone_client:LegacyAodhKeystoneLoader')
DEBUG (session:248) REQ: curl -g -i -X GET http://serverip:5000/v3 -H "Accept: application/json" -H "User-Agent: keystoneauth1/2.4.1 python-requests/2.9.1 CPython/2.7.5"
INFO (connectionpool:213) Starting new HTTP connection (1): serverip
DEBUG (connectionpool:393) "GET /v3 HTTP/1.1" 200 192
DEBUG (session:277) RESP: [200] Content-Length: 192 Content-Encoding: gzip Vary: X-Auth-Token,Accept-Encoding Server: Apache/2.4.6 (CentOS) Connection: close Date: Mon, 03 Oct 2016 21:14:40 GMT Content-Type: application/json x-openstack-request-id: req-d45649cb-cfb7-4438-95a7-f4ae53545535 
RESP BODY: {"version": {"status": "stable", "updated": "2016-04-04T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.6", "links": [{"href": "http://serverip:5000/v3/", "rel": "self"}]}}
DEBUG (base:165) Making authentication request to http://serverip:5000/v3/auth/tokens
INFO (connectionpool:248) Resetting dropped connection: serverip
DEBUG (connectionpool:393) "POST /v3/auth/tokens HTTP/1.1" 201 7714
DEBUG (session:248) REQ: curl -g -i -X GET http://serverip:8774/v2/842e348826b540cdae5ff73cc2c18c96 -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}7fa1d8b1174afd2a41c73c37f70c2195f26fe972"
INFO (connectionpool:213) Starting new HTTP connection (1): serverip
DEBUG (connectionpool:393) "GET /v2/842e348826b540cdae5ff73cc2c18c96 HTTP/1.1" 404 52
DEBUG (session:277) RESP: [404] Date: Mon, 03 Oct 2016 21:14:41 GMT Connection: keep-alive Content-Type: text/plain; charset=UTF-8 Content-Length: 52 X-Compute-Request-Id: req-7f612edc-000c-479e-9c83-5d25596f5b95 
RESP BODY: 404 Not Found
The resource could not be found.

DEBUG (session:248) REQ: curl -g -i -X GET http://serverip:8774/v2/ -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}7fa1d8b1174afd2a41c73c37f70c2195f26fe972"
DEBUG (connectionpool:393) "GET /v2/ HTTP/1.1" 200 378
DEBUG (session:277) RESP: [200] Date: Mon, 03 Oct 2016 21:14:41 GMT Connection: keep-alive Content-Type: application/json Content-Length: 378 X-Compute-Request-Id: req-1407580b-5467-4f94-ace8-023bb11889e2 
RESP BODY: {"version ...
edit retag flag offensive close merge delete


1- How did you configure block live migration?

2-Please share the nova-compute log for both source and destination compute nodes

fifi gravatar imagefifi ( 2016-10-03 19:55:08 -0500 )edit

I managed to do a live migration by making some config changes in nova.conf in the source compute node


I referred the bug over here : (

RingWraiths gravatar imageRingWraiths ( 2016-10-13 08:25:57 -0500 )edit

As far as I know, there is no need to set these flags for migration in Mitaka. In older versions, you need to do that but not in mitaka. By the way, I couldn't see your reported bug in bugzilla. Nothing was showed.

fifi gravatar imagefifi ( 2016-10-13 11:20:46 -0500 )edit