[Users] [V2V] import errors
Alex Jia
ajia at redhat.com
Fri Aug 24 07:52:35 UTC 2012
Hi Andres,
If you ran virt-v2v as root:
# ll ~/.netrc
-rw-------. 1 root root 293 Aug 16 21:20 /root/.netrc
Notes, the file access permission is 600.
# cat ~/.netrc
machine <add your ESX host IP> login root password <add your ESX host password>
And then run the following cmdline:
# virt-v2v -ic esx://192.168.250.31/?no_verify=1 -o rhev -os 192.168.250.30:/oVirt/export -b ovirtmgmt VM_NAME
I hope it's helpful for you.
--
Regards,
Alex
----- Original Message -----
From: "Andres Gonzalez" <tuchoz at gmail.com>
To: users at ovirt.org
Sent: Friday, August 24, 2012 12:57:32 PM
Subject: [Users] [V2V] import errors
Hi, I'm trying to migrate V2V from an ESXi 5 to oVirt 3.1 under CentOS 6.3 with virt-v2v
Steps:
- Allowed access from ssh on the ESXi box
- Created a /root/.netrc file with 600 file permission with content:
machine esxi_ip_address login root password root_password
- Attached at the oVirt datacenter there's an export domain that is a local nfs share
When I execute as root:
# [root at vm-server ~]# virt-v2v -ic esx:// 192.168.250.31/ -o rhev -os 192.168.250.30:/oVirt/export -b ovirtmgmt VM_NAME
The following error is displayed.
virt-v2v: Failed to connect to esx:// 192.168.250.31/ : libvirt error code: 45, message: authentication failed: Username request failed
What I could find is that is a libvirt bug, if I run the same command but as a non-root user, the error is that I need to be root to set -o rhev as a destination.
Any idea if there any workaround ?
Regards.-
--
AGD
_______________________________________________
Users mailing list
Users at ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
More information about the Users
mailing list