Created attachment 1057319[details]
vdsm and engine log
Description of problem:
Migration failed since vdsm failed to run VM on remove host.
Version-Release number of selected component (if applicable):
3.6.0-4: oVirt Engine Version: 3.6.0-0.0.master.20150727175355.git0d51373.el6
VDSM:vdsm-4.17.0-1201.git7ba0684.el7
How reproducible:
All the time
Steps to Reproduce:
Migrate once VM
Actual results:
Migration failed
Expected results:
Migration success
Additional info:
VDSM log:
Thread-228::DEBUG::2015-07-29 15:26:23,108::vm::393::virt.vm::(send_status_event) vmId=`4262b113-4d26-4336-9776-5e1766ed5acc`::Last status Up and evaluated status Migration Source
Thread-228::DEBUG::2015-07-29 15:26:23,108::__init__::206::jsonrpc.Notification::(emit) Sending event {"params": {"notify_time": 4300873380, "4262b113-4d26-4336-9776-5e1766ed5acc": {"status": "Migration Source"}}, "jsonrpc": "2.0", "method": "|virt|VM_status|4262b113-4d26-4336-9776-5e1766ed5acc"}
Thread-228::DEBUG::2015-07-29 15:26:23,108::stompreactor::305::yajsonrpc.StompServer::(send) Sending response
Thread-228::DEBUG::2015-07-29 15:26:23,109::__init__::534::jsonrpc.JsonRpcServer::(_serveRequest) Return 'VM.migrate' in bridge with True
Thread-228::DEBUG::2015-07-29 15:26:23,109::stompreactor::305::yajsonrpc.StompServer::(send) Sending response
Thread-229::ERROR::2015-07-29 15:26:23,120::migration::208::virt.vm::(_recover) vmId=`4262b113-4d26-4336-9776-5e1766ed5acc`::'str' object has no attribute 'subscribe'
Thread-229::ERROR::2015-07-29 15:26:23,120::migration::213::virt.vm::(_recover) vmId=`4262b113-4d26-4336-9776-5e1766ed5acc`::Failed to destroy remote VM
Traceback (most recent call last):
File "/usr/share/vdsm/virt/migration.py", line 211, in _recover
self._destServer.destroy(self._vm.id)
AttributeError: 'SourceThread' object has no attribute '_destServer'
Thread-229::ERROR::2015-07-29 15:26:23,120::migration::310::virt.vm::(run) vmId=`4262b113-4d26-4336-9776-5e1766ed5acc`::Failed to migrate
Traceback (most recent call last):
File "/usr/share/vdsm/virt/migration.py", line 278, in run
self._setupVdsConnection()
File "/usr/share/vdsm/virt/migration.py", line 146, in _setupVdsConnection
self._destServer = jsonrpcvdscli.connect(client, requestQueue)
File "/usr/lib/python2.7/site-packages/vdsm/jsonrpcvdscli.py", line 119, in connect
str(uuid4())
File "/usr/lib/python2.7/site-packages/yajsonrpc/stompreactor.py", line 538, in StompRpcClient
stomp_client.subscribe(response_queue, sub_id=str(uuid4())),
AttributeError: 'str' object has no attribute 'subscribe'
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHBA-2016-0362.html
Created attachment 1057319 [details] vdsm and engine log Description of problem: Migration failed since vdsm failed to run VM on remove host. Version-Release number of selected component (if applicable): 3.6.0-4: oVirt Engine Version: 3.6.0-0.0.master.20150727175355.git0d51373.el6 VDSM:vdsm-4.17.0-1201.git7ba0684.el7 How reproducible: All the time Steps to Reproduce: Migrate once VM Actual results: Migration failed Expected results: Migration success Additional info: VDSM log: Thread-228::DEBUG::2015-07-29 15:26:23,108::vm::393::virt.vm::(send_status_event) vmId=`4262b113-4d26-4336-9776-5e1766ed5acc`::Last status Up and evaluated status Migration Source Thread-228::DEBUG::2015-07-29 15:26:23,108::__init__::206::jsonrpc.Notification::(emit) Sending event {"params": {"notify_time": 4300873380, "4262b113-4d26-4336-9776-5e1766ed5acc": {"status": "Migration Source"}}, "jsonrpc": "2.0", "method": "|virt|VM_status|4262b113-4d26-4336-9776-5e1766ed5acc"} Thread-228::DEBUG::2015-07-29 15:26:23,108::stompreactor::305::yajsonrpc.StompServer::(send) Sending response Thread-228::DEBUG::2015-07-29 15:26:23,109::__init__::534::jsonrpc.JsonRpcServer::(_serveRequest) Return 'VM.migrate' in bridge with True Thread-228::DEBUG::2015-07-29 15:26:23,109::stompreactor::305::yajsonrpc.StompServer::(send) Sending response Thread-229::ERROR::2015-07-29 15:26:23,120::migration::208::virt.vm::(_recover) vmId=`4262b113-4d26-4336-9776-5e1766ed5acc`::'str' object has no attribute 'subscribe' Thread-229::ERROR::2015-07-29 15:26:23,120::migration::213::virt.vm::(_recover) vmId=`4262b113-4d26-4336-9776-5e1766ed5acc`::Failed to destroy remote VM Traceback (most recent call last): File "/usr/share/vdsm/virt/migration.py", line 211, in _recover self._destServer.destroy(self._vm.id) AttributeError: 'SourceThread' object has no attribute '_destServer' Thread-229::ERROR::2015-07-29 15:26:23,120::migration::310::virt.vm::(run) vmId=`4262b113-4d26-4336-9776-5e1766ed5acc`::Failed to migrate Traceback (most recent call last): File "/usr/share/vdsm/virt/migration.py", line 278, in run self._setupVdsConnection() File "/usr/share/vdsm/virt/migration.py", line 146, in _setupVdsConnection self._destServer = jsonrpcvdscli.connect(client, requestQueue) File "/usr/lib/python2.7/site-packages/vdsm/jsonrpcvdscli.py", line 119, in connect str(uuid4()) File "/usr/lib/python2.7/site-packages/yajsonrpc/stompreactor.py", line 538, in StompRpcClient stomp_client.subscribe(response_queue, sub_id=str(uuid4())), AttributeError: 'str' object has no attribute 'subscribe'