check the port in /etc/libvirt/libvirtd.conf :)<div><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ 原始邮件 ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>发件人:</b> "董建华";<dongjh@nci.com.cn>;</div><div><b>发送时间:</b> 2013年10月28日(星期一) 下午3:12</div><div><b>收件人:</b> "openstack"<openstack@lists.openstack.org>; <wbr></div><div></div><div><b>主题:</b> [Openstack] Nova live-migration failed(libvirt Connection refused)</div></div><div><br></div>


<style>BLOCKQUOTE {
        MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em; MARGIN-TOP: 0px
}
OL {
        MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
UL {
        MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
P {
        MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
BODY {
        FONT-SIZE: 10.5pt; FONT-FAMILY: 微软雅黑; COLOR: #000000; LINE-HEIGHT: 1.5
}
</style>



<div><span style="FONT-WEIGHT: bold">Hello,</span></div>
<div><span style="FONT-WEIGHT: bold"></span> </div>
<div><span style="FONT-WEIGHT: bold">I was trying to migrate one instance 
from the compute node compute2 to another node compute1, but failed, the 
nova-compute.log said compute2 failed to connect the 16509 port on 
compute1, i noticed that the 16509 port is not opened on compute1, is there any 
additional configuration for Live-Migration ? Which service listens on port 
16509 ?</span></div>
<div><span style="FONT-WEIGHT: bold"></span> </div>
<div><span style="FONT-WEIGHT: bold">The hypervisor is KVM.</span></div>
<div><span></span> </div>
<div><span></span>
<div>2013-10-28 14:54:38.948 3086 ERROR nova.virt.libvirt.driver [-] [instance: 
861c668c-57c1-4429-8884-1b272463faf5] Live Migration failure: operation failed: 
Failed to connect to remote libvirt URI qemu+tcp://compute1/system: unable to 
connect to server at 'compute1:16509': Connection refused</div>
<div>2013-10-28 14:54:51.868 3086 AUDIT nova.compute.resource_tracker [-] 
Auditing locally available compute resources</div>
<div>2013-10-28 14:54:52.460 3086 AUDIT nova.compute.resource_tracker [-] Free 
ram (MB): 14978</div>
<div>2013-10-28 14:54:52.460 3086 AUDIT nova.compute.resource_tracker [-] Free 
disk (GB): 491</div>
<div>2013-10-28 14:54:52.461 3086 AUDIT nova.compute.resource_tracker [-] Free 
VCPUS: 7</div>
<div>2013-10-28 14:54:52.535 3086 INFO nova.compute.resource_tracker [-] 
Compute_service record updated for compute2:compute2</div>
<div> </div>
<div> </div>
<div>
<div>root@compute1:~# netstat -na|grep 16509</div>
<div>root@compute1:~#</div></div></div><span></span></div>