Description of problem: virt-manager fails to create guest remotely via digest-md5 SASL Version-Release number of selected component (if applicable): virt-manager-0.6.0-5.fc10.x86_64 How reproducible: always Steps to Reproduce: 1. configure remote libvirtd for digest-md5 SASL authentication: /etc/libvirt/libvirtd.conf listen_tls = 0 listen_tcp = 1 /etc/sasl2/libvirt.conf sasldb_path: /etc/libvirt/passwd.db mech_list: digest-md5 saslpasswd2 -a libvirt user1 Password: Again (for verification): service libvirtd restart 2. in virt-manager, Add Connection to QEMU, Remote Password or Kerberos (i.e. qemu+tcp://remotehost/system ) 3. user is prompted for remote SASL username/password and successfully connects, you can already defined remote VMs 4. go through create VM wizard, choose Network boot and pre-created disk image file to make it simple Actual results: [Fri, 06 Mar 2009 12:29:02 virt-manager 28585] DEBUG (create:714) Starting backg round install process [Fri, 06 Mar 2009 12:29:02 virt-manager 28585] DEBUG (create:718) Opening separa te connection for the install. [Fri, 06 Mar 2009 12:29:02 virt-manager 28585] ERROR (create:741) Unable to comp lete install '<class 'libvirt.libvirtError'> Failed to start SASL negotiation: - 4 (SASL(-4): no mechanism available: No worthy mechs found) Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/create.py", line 719, in do_install guest.conn = libvirt.open(self.connection.get_uri()) File "/usr/lib64/python2.5/site-packages/libvirt.py", line 160, in open if ret is None:raise libvirtError('virConnectOpen() failed') libvirtError: Failed to start SASL negotiation: -4 (SASL(-4): no mechanism avail able: No worthy mechs found) Expected results: new remote VM is created Additional info: this issue exists in virt-manager--devel: http://hg.et.redhat.com/cgi-bin/hg-virt.cgi/applications/virt-manager--devel/file/35f1db8a045d/src/virtManager/create.py#l713 libvirt.open is used to open a separate libvirt connection for VM creation, it should be libvirt.openAuth otherwise callbacks for entering SASL username/password are missing and SASL negotiation fails
Thanks for the report. I had this as a FIXME in the 'New VM' wizard rewrite, so this will hopefully be in the new version (probably cut Monday).
This should be fixed upstream now: http://hg.et.redhat.com/cgi-bin/hg-virt.cgi/applications/virt-manager--devel/rev/5db5666451b7 Though this likely won't hit F10 for a while. I'll be pushing a new package to rawhide within a day, I'd appreciate it if you could give it a test at some point since I don't have a setup for it.
Thanks! I'll rebuild rawhide virt-manager and python-virtinst for F10 and put them in ovirt.org yum repo.
I think it's too late to be backporting a major virt-manager version to F10, so moving this bug F11 (where it is fixed) and closing as CURRENTRELEASE.