[Users-pt] Erro migração vmware esx para ovirt com virt-v2v
Douglas Schilling Landgraf
dougsland at redhat.com
Wed Apr 23 21:04:01 UTC 2014
Boa tarde Lucas,
On 04/22/2014 07:26 PM, Lucas Martins wrote:
> Ola pessoal,
>
> Ambiente:
> Ovirt 3.4 engine - host1
> Ovirt VDSM - host2
> VMware esx 2.0.2 Ubuntu - host3
>
> Estou tentando migrar uma maquina do esx (host3) para o Ovirt (host1)
> com o virt-v2v e depois que eu executo o comando:
> virt-v2v -f /etc/virt-v2v.conf -ic
> esx://10.193.255.196:8333/?no_verify=1
> <http://10.193.255.196:8333/?no_verify=1> -o rhev -osd
> 10.193.4.80:/ovirt/export -b ovirtmgmt moodle2
>
> Da o seguinte erro
>
> virt-v2v: Falha ao conectar em esx://10.193.255.196:8333/?no_verify=1
> <http://10.193.255.196:8333/?no_verify=1>: libvirt error code: 45,
> message: falha de autenticação: Username request failed
Voce chegou a criar o arquivo $HOME/.netrc ?
Exemplo do arquivo:
machine esx.example.com login root password s3cr3t
Documentacao do v2v:
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.3/html-single/V2V_Guide/index.html
"
3.3.5.1. Authenticating to the ESX / ESX(i) server
Connecting to the ESX / ESX(i) server will require authentication.
virt-v2v supports password authentication when connecting to ESX /
ESX(i). It reads passwords from $HOME/.netrc. The format of this file is
described in the netrc(5) man page. An example entry is:
machine esx.example.com login root password s3cr3t
Note
The .netrc file must have a permission mask of 0600 to be read correctly
by virt-v2v.
"
Abraco!
--
Cheers
Douglas
More information about the Users-pt
mailing list