Ian Campbell wrote:
> On Tue, 2015-08-11 at 16:07 -0600, Jim Fehlig wrote:
>   
>> Wei Liu wrote:
>>     
>>> Virsh migrate expects an URI, not a host. We don't actually care what
>>> kind of transport it uses, the main objective is to test migration, so
>>> use xen+ssh for the time being.
>>>
>>> Signed-off-by: Wei Liu <[email protected]>
>>> Cc: Ian Campbell <[email protected]>
>>> Cc: Ian Jackson <[email protected]>
>>> ---
>>> Cc: Jim Fehlig <[email protected]>
>>>
>>> I once had email exchange with Jim and he said xen+ssh was a commonly
>>> use configuration.
>>>
>>> Jim, I hope I got the URI right. The constructed command will be like
>>>
>>>    virsh migrate guest xen+ssh://dst-host
>>>   
>>>       
>> Yes, that is correct. Note you will need a '--live' option if live
>> migration is what you are after
>>
>>   virsh migrate --live guest xen+ssh://dst-host
>>     
>
> As well as pushing to pretest I also kicked off a quicker local run, which
> is at http://xenbits.xen.org/people/ianc/tmp/37824/ .
>
> http://xenbits.xen.org/people/ianc/tmp/37824/test-amd64-amd64-libvirt
> -pair/info.html shows this in the log for 21.ts-migrate-log.log:
>
>     2015-08-12 11:22:47 Z executing ssh ... [email protected] virsh migrate 
> --live debian.guest.osstest xen+ssh    ://lace-bug
>     error: End of file while reading data: nc: invalid option -- 'U'
>     nc -h for help: Input/output error
>
> I've no idea how or why nc is involved, but it seems it doesn't like Debian
> Wheezy's implementation?
>   

nc is used to relay connections on the ssh tunnel to libvirtd's unix
domain socket. Is there a netcat-openbsd package? I recall seeing this
long ago, perhaps from this old bug report

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=348564

Regards,
Jim

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

Reply via email to