Erro migração vmware esx para ovirt com virt-v2v

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-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: libvirt error code: 45, message: falha de autenticação: Username request failed Muito obrigado pela atenção. Att Lucas

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_Virtua... " 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

Olá Douglas Sim, configurei conforme esse mesmo site que você me passou e produziu o mesmo erro. Tem mais alguma configuração na maquina vmware? Quais software a mais no host vmware eu tenho que ter? Att Lucas Em 23/04/2014, à(s) 18:04, Douglas Schilling Landgraf <dougsland@redhat.com> escreveu:
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_Virtua...
" 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 _______________________________________________ Users-pt mailing list Users-pt@ovirt.org http://lists.ovirt.org/mailman/listinfo/users-pt

Lucas, Chegaste a verificar a conectivade e firewall em sua lan ? pode parecer algo simples mas em muitos casos já vi este erro sendo referente não a falha na autenticação, mas sim um timeout para a o auth, tanto de DNS local como de portas bloqueadas por firewall dmz. Outro ponto interessante é verificar se o seu esx esta com o sshd habilitada, em alguns ambientes passei por este caso onde no esx tinha alguma configuração onde o ssh estava parado, ou não habilitado, acho importante dar uma olhada na interface e tentar do host que esta usando o virt-v2v logar-se por ssh, lembrando que o virt-v2v é sob ssh, espero ter ajudado. Abraço! firemanxbr 2014-04-25 10:26 GMT-03:00 Lucas Martins <lucasasnmartins@gmail.com>:
Olá Douglas Sim, configurei conforme esse mesmo site que você me passou e produziu o mesmo erro. Tem mais alguma configuração na maquina vmware? Quais software a mais no host vmware eu tenho que ter?
Att Lucas
Em 23/04/2014, à(s) 18:04, Douglas Schilling Landgraf < dougsland@redhat.com> escreveu:
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_Virtua...
" 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 _______________________________________________ Users-pt mailing list Users-pt@ovirt.org http://lists.ovirt.org/mailman/listinfo/users-pt
_______________________________________________ Users-pt mailing list Users-pt@ovirt.org http://lists.ovirt.org/mailman/listinfo/users-pt

Oi Lucas, On 04/25/2014 09:26 AM, Lucas Martins wrote:
Olá Douglas Sim, configurei conforme esse mesmo site que você me passou e produziu o mesmo erro. Tem mais alguma configuração na maquina vmware? Nao
Quais software a mais no host vmware eu tenho que ter? Nenhum.
Algumas perguntas: - Qual e' a permissao do arquivo .netrc? 0600? - Como esta o formato do teu arquivo .netrc? machine <ESX host IP> login root password <ESX host password> Ja vi alguns usuarios substituindo o password ali em cima pelo ESX password ao inves de adicionar ao lado. Tambem temos o modo de debug que voce pode tentar: https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtua... Abraco Douglas
Att Lucas
Em 23/04/2014, à(s) 18:04, Douglas Schilling Landgraf <dougsland@redhat.com> escreveu:
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_Virtua...
" 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 _______________________________________________ Users-pt mailing list Users-pt@ovirt.org http://lists.ovirt.org/mailman/listinfo/users-pt
_______________________________________________ Users-pt mailing list Users-pt@ovirt.org http://lists.ovirt.org/mailman/listinfo/users-pt
-- Cheers Douglas
participants (3)
-
Douglas Schilling Landgraf
-
Lucas Martins
-
Marcelo Barbosa