live migration with authentication - how?

Daniel P. Berrangé berrange at redhat.com
Tue Dec 15 12:44:01 UTC 2020


On Tue, Dec 15, 2020 at 12:38:39PM +0000, lejeczek wrote:
> Hi guys.
> 
> I'm trying I assumed something very crude, logic suggested I should try it
> first:
> 
> $ virsh migrate reactos
> qemu+ssh://dzien/system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf
> Please enter your authentication name: vdsm at ovirt
> Please enter your password:
> 
> As you can see I still get asked for credentials.
> Is it possible to live migrate that(or some) way, without being asked for
> those?

You are using an unqualified hostname, and I'd guess your authfile contains
a fully qualified hostname. We don't try to do hostname/domain expansion
when doing authfile looks, so you need an exact match.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvirt-users mailing list