On 2012-8-22 19:47, xiaxia347os wrote:
Hello, guys
after VDSM is installed, when I want to use virsh to list VMs on local host, it prompt to input password and username. What could I do to make the connection automatically succeed instead of input username and password interactively?


Do you mean to just remove the password? Or make the input process automatically done by virsh?

By the way, I am also wondering which authentication method is used for libvirt and vm migration in VDSM, I'd like to try these method for another usercase.
SASL is used for authentication between libvirt and VDSM, also libvirt is configured by VDSM. I think what your problem here is how a host can authenticate the incoming request from the other host for VM migration to itself, not the authentication between VDSM and libvirt. I believe you can configure libvirt to use tls talking to the remote host as a certain level of authentication between hosts without inputting username and password interactively. Also, a host must have all the client certificates for every other hosts to make sure it can authenticated by
the other hosts in the same cluster.

Best Regards.
Wenchao Xia


_______________________________________________
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel


--
---
舒明 Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail:shum...@cn.ibm.com  
orshum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC

_______________________________________________
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel

Reply via email to