disable the tls listen



------------------ Original ------------------
Sender: "董建华"<don...@nci.com.cn>;
Send time: Monday, Oct 28, 2013 5:05 PM
To: "止语"<menghuizhan...@gmail.com>; "openstack"<openstack@lists.openstack.org>; 

Subject: Re: Re:[Openstack] Nova live-migration failed(libvirt Connection 
refused)



  root@compute1:/etc/default# libvirtd -l -f /etc/libvirt/libvirtd.conf
 2013-10-28 09:03:50.514+0000: 3777: info : libvirt version: 1.1.1
 2013-10-28 09:03:50.514+0000: 3777: error :  virNetTLSContextCheckCertFile:117 
: Cannot read CA certificate  '/etc/pki/CA/cacert.pem': No such file or 
directory

  
  
   发件人: 董建华
 发送时间: 2013-10-28 16:59
 收件人: 止语; openstack
 主题: Re: 回复:[Openstack] Nova live-migration failed(libvirt  Connection refused)


   When doing Live-Migration, the error message said failed to connect  
'compute1:16509', compute1 can be resolved to 10.10.10.182 on any  node.
  

  
   发件人: 止语
 发送时间: 2013-10-28 16:55
 收件人: 董建华; Openstack Milis
 主题: 回复: 回复:[Openstack] Nova live-migration failed(libvirt  Connection refused)


  and I am  not sure  listen_addr = "10.10.10.182", the other nodes could  
access it . "0.0.0.0"?
  

 

 ------------------ 原始邮件 ------------------
  发件人: "menghuizhanguo";<menghuizhan...@gmail.com>;
 发送时间: 2013年10月28日(星期一) 下午4:51
 收件人: "董建华"<don...@nci.com.cn>; "Openstack  
Milis"<openstack@lists.openstack.org>; 
 
 主题: 回复: 回复:[Openstack] Nova live-migration failed(libvirt  Connection refused)

 

run libvirtd deamon manually to see what happed 
  

 

 ------------------  原始邮件 ------------------
  发件人: "董建华";<don...@nci.com.cn>;
 发送时间: 2013年10月28日(星期一) 下午4:40
 收件人: "止语"<menghuizhan...@gmail.com>;  
"openstack"<openstack@lists.openstack.org>; 
 
 主题: Re: 回复:[Openstack] Nova live-migration failed(libvirt  Connection refused)

 

     
  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.
  
  cat /etc/default/libvirt-bin
 # Defaults for libvirt-bin initscript (/etc/init.d/libvirt-bin)
 # This is a POSIX shell fragment
  
 # Start libvirtd to handle qemu/kvm:
 start_libvirtd="yes"
  
 # options passed to libvirtd, add "-l" to listen on tcp
 libvirtd_opts="-d -l -f /etc/libvirt/libvirtd.conf"
  
  root@compute1:/etc/libvirt# cat  /etc/libvirt/libvirtd.conf|grep -v "#"
  
 listen_tcp = 1
  
 tcp_port = "16509"
  
 listen_addr = "10.10.10.182"
  
 unix_sock_group = "libvirtd"
  
 unix_sock_rw_perms = "0770"
  
 auth_unix_ro = "none"
  
 auth_unix_rw = "none"
  
  
 Note:10.10.10.182 is the compute node's internal  IP.


  
  




   发件人: 止语
 发送时间: 2013-10-28 16:29
 收件人: 董建华; Openstack Milis
 主题: 回复:[Openstack] Nova live-migration failed(libvirt  Connection refused)


  check the  port in /etc/libvirt/libvirtd.conf :)   

 

 ------------------  原始邮件 ------------------
  发件人: "董建华";<don...@nci.com.cn>;
 发送时间: 2013年10月28日(星期一) 下午3:12
 收件人: "openstack"<openstack@lists.openstack.org>;  
 
 主题: [Openstack] Nova live-migration failed(libvirt Connection  refused)

 

 Hello,
  
 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  ?
  
 The hypervisor is KVM.
  
  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
 2013-10-28 14:54:51.868 3086 AUDIT nova.compute.resource_tracker [-]  Auditing 
locally available compute resources
 2013-10-28 14:54:52.460 3086 AUDIT nova.compute.resource_tracker [-] Free  ram 
(MB): 14978
 2013-10-28 14:54:52.460 3086 AUDIT nova.compute.resource_tracker [-] Free  
disk (GB): 491
 2013-10-28 14:54:52.461 3086 AUDIT nova.compute.resource_tracker [-] Free  
VCPUS: 7
 2013-10-28 14:54:52.535 3086 INFO nova.compute.resource_tracker [-]  
Compute_service record updated for compute2:compute2
  
  
  root@compute1:~# netstat -na|grep 16509
 root@compute1:~#
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to