and I am not sure listen_addr = "10.10.10.182"<span></span>, the other nodes could access it . "0.0.0.0"?<br><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> "menghuizhanguo";<menghuizhanguo@gmail.com>;</div><div><b>发送时间:</b> 2013年10月28日(星期一) 下午4:51</div><div><b>收件人:</b> "董建华"<dongjh@nci.com.cn>; "Openstack Milis"<openstack@lists.openstack.org>; <wbr></div><div></div><div><b>主题:</b> 回复: 回复:[Openstack] Nova live-migration failed(libvirt Connection refused)</div></div><div><br></div>run libvirtd deamon manually to see what happed <br><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日(星期一) 下午4:40</div><div><b>收件人:</b> "止语"<menghuizhanguo@gmail.com>; "openstack"<openstack@lists.openstack.org>; <wbr></div><div></div><div><b>主题:</b> Re: 回复:[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
}
DIV.FoxDiv20131028163155568763 {
FONT-SIZE: 10.5pt; FONT-FAMILY: 微软雅黑; COLOR: #000000; LINE-HEIGHT: 1.5
}
BODY {
FONT-SIZE: 10.5pt; FONT-FAMILY: 微软雅黑; COLOR: #000080; LINE-HEIGHT: 1.5
}
</style>
<div>
<div><span>
<div style="FONT-SIZE: 10pt; FONT-FAMILY: verdana; COLOR: #000000; LINE-HEIGHT: 1.5">
<div style="FONT-SIZE: 22px"><font size="2"></font></div>
<div>
<div>After making the following changes, the libvirtd daemon failed to start...
but if i remove "-f /etc/libvirt/libvirtd.conf" from /etc/default/libvirt-bin,
the livbirted daemon can start after running 'service libvirt-bin restart.</div>
<div> </div>
<div>
<div style="FONT-WEIGHT: bold">cat /etc/default/libvirt-bin</div>
<div># Defaults for libvirt-bin initscript (/etc/init.d/libvirt-bin)</div>
<div># This is a POSIX shell fragment</div>
<div> </div>
<div># Start libvirtd to handle qemu/kvm:</div>
<div>start_libvirtd="yes"</div>
<div> </div>
<div># options passed to libvirtd, add "-l" to listen on tcp</div>
<div>libvirtd_opts="-d -l -f /etc/libvirt/libvirtd.conf"</div>
<div> </div>
<div>
<div style="FONT-WEIGHT: bold">root@compute1:/etc/libvirt# cat
/etc/libvirt/libvirtd.conf|grep -v "#"</div>
<div> </div>
<div>listen_tcp = 1</div>
<div> </div>
<div>tcp_port = "16509"</div>
<div> </div>
<div>listen_addr = "10.10.10.182"</div>
<div> </div>
<div>unix_sock_group = "libvirtd"</div>
<div> </div>
<div>unix_sock_rw_perms = "0770"</div>
<div> </div>
<div>auth_unix_ro = "none"</div>
<div> </div>
<div>auth_unix_rw = "none"</div>
<div> </div>
<div> </div>
<div style="FONT-STYLE: italic">Note:10.10.10.182 is the compute node's internal
IP.</div></div></div>
<div> </div>
<div> </div></div></div></span></div></div>
<div style="BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; BORDER-BOTTOM: medium none; PADDING-BOTTOM: 0cm; PADDING-TOP: 3pt; PADDING-LEFT: 0cm; BORDER-LEFT: medium none; PADDING-RIGHT: 0cm">
<div style="FONT-SIZE: 12px; FONT-FAMILY: tahoma; BACKGROUND: #efefef; COLOR: #000000; PADDING-BOTTOM: 8px; PADDING-TOP: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px">
<div><b>发件人:</b> <a href="mailto:menghuizhanguo@gmail.com">止语</a></div>
<div><b>发送时间:</b> 2013-10-28 16:29</div>
<div><b>收件人:</b> <a href="mailto:dongjh@nci.com.cn">董建华</a>; <a href="mailto:openstack@lists.openstack.org">Openstack Milis</a></div>
<div><b>主题:</b> 回复:[Openstack] Nova live-migration failed(libvirt
Connection refused)</div></div></div>
<div>
<div class="FoxDiv20131028163155568763" style="BACKGROUND-COLOR: white">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-BOTTOM: 2px; PADDING-TOP: 2px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px">------------------ 原始邮件 ------------------</div>
<div style="FONT-SIZE: 12px; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 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
}
</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></div></div></div></div>