[ovirt-users] Virsh migrate issue

Michal Skrivanek michal.skrivanek at redhat.com
Fri May 29 12:42:25 UTC 2015


On 28 May 2015, at 13:08, VONDRA Alain wrote:

> Hi,
> When I use the Live migration through the oVirt Administration Portal, everything works fine without any errors, but
> When I want to migrate VMs using the command virsh migrate, it doesn't work at all.

you better not do that

> The connexion works fine :
>        [root at unc-srv-hyp2  ~]$ virsh -c qemu+ssh://root@unc-srv-hyp1/system
>        Please enter your authentication name: root
>        Please enter your password:
>        Welcome to virsh, the virtualization interactive terminal.
> 
>        Type:  'help' for help with commands
>               'quit' to quit
> 
>        virsh # hostname
>        unc-srv-hyp1.cfu.local
> 
> But when I try to live migrate I have the same issue from any of the two hypervisors :
> 
>        [root at unc-srv-hyp1  ~]$ virsh migrate --live unc-cli-xrt qemu+ssh://root@unc-srv-hyp2/system
>        Please enter your authentication name: root
>        Please enter your password:
>        Please enter your authentication name: root
>        Please enter your password:
>        error: Failed to open file '/rhev/data-center/f422de63-8869-41ef-a782-8b0c9ee03c41/d7b9d7cc-f7d6-43c7-ae13-e720951657c9/images/dd4801b5-310c-4bc2-b330- a47ec9bb9870/0d05a0e4-726b-4e6e-b25a-0f85e6c983f3': No such file or directory
> 
> Have you any ideas to find the answer ?

you're missing the administrative tasks ovirt does on top of base libvirt. If you absolutely need/want to use a cmdline tool there is vdsClient. It's also still unsupported but it's a bit better…
What problem are you trying to solve? Normally you should use API/shell for scripting, etc.

Thanks,
michal

> Thanks
> Alain
> 
> 
> 
> Alain VONDRA
> Chargé d'exploitation des Systèmes d'Information
> Direction Administrative et Financière
> +33 1 44 39 77 76
> UNICEF France
> 3 rue Duguay Trouin  75006 PARIS
> www.unicef.fr
> 
> 
> 
> 
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users




More information about the Users mailing list