<div>Hello, </div><div><br></div><div>I'm trying to test out live migration but it fails with rcp version error, look below</div><div><br></div>from nova-api.log<br clear="all"><div><div>2012-07-23 20:07:49 TRACE nova.api.openstack.compute.contrib.admin_actions RemoteError: Remote error: RemoteError Remote error: UnsupportedRpcVersion Specified RPC version, 1.2, not supported by this endpoint.</div>

</div><div><br></div><div>from nova-scheduler.log</div><div><div>2012-07-23 20:07:49 TRACE nova.openstack.common.rpc.amqp RemoteError: Remote error: UnsupportedRpcVersion Specified RPC version, 1.2, not supported by this endpoint.</div>

</div><div><br></div><div>I'm using trunk latest trunk version (few days old).</div><div><br></div><div>I'm initiating live migration with the following command:</div><div>nova --debug live-migration e10f7e21-a5a5-496d-940c-6ee745e7b048 compute2</div>

<div><br></div><div>the debug output of the failure that I get in return:</div><div><div>send: u'POST /v2/d5b04e149dfb4c849c34c03c840b0d6c/servers/e10f7e21-a5a5-496d-940c-6ee745e7b048/action HTTP/1.1\r\nHost: <a href="http://192.168.1.1:8774">192.168.1.1:8774</a>\r\nContent-Length: 91\r\nx-auth-project-id: admin\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nx-auth-token: 417e6286fa4b4f9b9ec8fcc32bf52a4a\r\nuser-agent: python-novaclient\r\ncontent-type: application/json\r\n\r\n{"os-migrateLive": {"disk_over_commit": false, "block_migration": false, "host": "compute2"}}'</div>

<div>reply: 'HTTP/1.1 400 Bad Request\r\n'</div><div>header: Content-Length: 129</div><div>header: Content-Type: application/json; charset=UTF-8</div><div>header: X-Compute-Request-Id: req-927ed53d-40b9-4d7f-975a-2e1dfa637a34</div>

<div>header: Date: Mon, 23 Jul 2012 19:19:47 GMT</div><div><br></div><div>REQ: curl -i <a href="http://192.168.1.1:8774/v2/d5b04e149dfb4c849c34c03c840b0d6c/servers/e10f7e21-a5a5-496d-940c-6ee745e7b048/action">http://192.168.1.1:8774/v2/d5b04e149dfb4c849c34c03c840b0d6c/servers/e10f7e21-a5a5-496d-940c-6ee745e7b048/action</a> -X POST -H "X-Auth-Project-Id: admin" -H "User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: 417e6286fa4b4f9b9ec8fcc32bf52a4a"</div>

<div><br></div><div>REQ BODY: {"os-migrateLive": {"disk_over_commit": false, "block_migration": false, "host": "compute2"}}</div><div><br></div><div>RESP:{'date': 'Mon, 23 Jul 2012 19:19:47 GMT', 'status': '400', 'content-length': '129', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-927ed53d-40b9-4d7f-975a-2e1dfa637a34'} {"badRequest": {"message": "Live migration of instance e10f7e21-a5a5-496d-940c-6ee745e7b048 to host compute2 failed", "code": 400}}</div>

</div><div><br></div><div><br></div><div>As I understand, then I need to set the RPC version somewhere, but where? I checked the config options, the only item that have something appropriate is the option for nova command with </div>

<div>--os_compute_api_version, but the same errors remain when RPC API version is changed. After checking the source, I found that 'nova/compute/rpcapi.py', have default version set to '1.0'.</div><div><br>

</div><div>Can you please shed some light about this issue?</div>-- <br>--janis<br>