Description of problem:
Vm failed to migrate when local maintenance activated in hosted-engine environment
Version-Release number of selected component (if applicable):
vdsm-4.16.1-6.gita4a4614.el6.x86_64
How reproducible:
Always
Steps to Reproduce:
1. Install hosted-engine environment with two hosts
2. Put host with vm to local maintenance (hosted-engine --set-maintenance --mode=local)
3.
Actual results:
Migration failed with exception in vdsm log
Thread-2848::ERROR::2014-08-07 16:40:25,031::migration::259::vm.Vm::(run) vmId=`6538c128-a856-4ab4-a65e-962061eba2a1`::Failed to migrate
Traceback (most recent call last):
File "/usr/share/vdsm/virt/migration.py", line 229, in run
self._setupVdsConnection()
File "/usr/share/vdsm/virt/migration.py", line 92, in _setupVdsConnection
self._dst, self._vm.cif.bindings['xmlrpc'].serverPort)
File "/usr/lib64/python2.6/site-packages/vdsm/vdscli.py", line 91, in cannonizeHostPort
return addr + ':' + port
TypeError: cannot concatenate 'str' and 'int' objects
Expected results:
Vm migrate without any exceptions
Additional info: