[ovirt-users] Password getting failed while Conversion

Richard W.M. Jones rjones at redhat.com
Mon Sep 21 19:10:36 UTC 2015


On Mon, Sep 21, 2015 at 02:51:32PM -0400, Douglas Schilling Landgraf wrote:
> Hi Budur,
> 
> On 09/21/2015 03:39 AM, Budur Nagaraju wrote:
> >Hi
> >
> >While converting vwware to ovirt getting below error ,can someone help me ?

Which version of virt-v2v?

The latest version can be found by reading the instructions here:

https://www.redhat.com/archives/libguestfs/2015-April/msg00038.html
https://www.redhat.com/archives/libguestfs/2015-April/msg00039.html

Please don't use the old (0.9) version.

> >I have given the passowd in the file " $HOME/.netrc" ,
> >
> >[root at cstnfs ~]# virt-v2v -ic esx://10.206.68.57?no_verify=1
> ><http://10.206.68.57?no_verify=1> -o rhev -os
> >10.204.206.10:/cst/secondary --network perfmgt vm
> >virt-v2v: Failed to connect to esx://10.206.68.57?no_verify=1
> ><http://10.206.68.57?no_verify=1>: libvirt error code: 45, message:
> >authentication failed: Password request failed
> 
> Have you used the below format in the .netrc?
> machine esx.example.com login root password s3cr3t
> 
> Additionally, have you set 0600 as permission to .netrc?
> chmod 600 ~/.netrc

The new version of virt-v2v does not use '.netrc' at all.  Instead
there is a '--password-file' option.  Best to read the manual page:

http://libguestfs.org/virt-v2v.1.html

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top



More information about the Users mailing list