live migration with authentication - how?

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@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? many thanks, L.

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@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 :|

On 15/12/2020 12:44, Daniel P. Berrangé wrote:
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@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. Fantastycznie! Many thanks. Regards, Daniel
participants (2)
-
Daniel P. Berrangé
-
lejeczek