← Back to team overview

openstack team mailing list archive

Re: [Nova] Live migration libvirt authentication error.

 

Hi,

You forgot to add the option:

auth_tcp = "none"

after the 'listen_tls = 0' to the /etc/libvirt/libvirtd.conf file

Cheers!


On Tue, May 8, 2012 at 8:37 PM, Vishvananda Ishaya <vishvananda@xxxxxxxxx>wrote:

> I haven't tried sasl so hopefully someone else has an idea.  I have
> sucessfully used qemu+ssh with ssh keys setup though.
>
> Vish
>
> On May 8, 2012, at 1:13 AM, Szymon Grzybowski wrote:
>
> Hey,
>
> I'm trying to migrate machine from HostA to HostB, but I have "
> virtNetSASLSessionClientStart:484: authentication failed:  Failed to start
> SASL negotiation: -20" in /var/log/libvirt.log when i'm trying to
> "nova live-migration <VM> HostB"
>
> I have SASL enabled on both machines. I've tried manually connect to
> remote libvirt through virsh and defined user (ex. "virsh --connect
> qemu+tcp://HostA/system list") and everything works fine, but i have to
> give proper credentials (username/password). I saw that nova's connection
> string is also "qemu+tcp://HostA/system", but i can't see any user there.
> How does it work in nova and how can I fix it?
>
> Cheers,
>
> --
> *Semy*
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>

References