VMware {code} Community
robgiov
Contributor
Contributor

linux p2v conversion with wmware converter 6.1.1

hi,

i'm tryng to convert a phisical linux pc (centos 5) with converter 6.1.1

This is the error message:

Permission denied (publickey,gssapi-with-mic)

In the log file (attached), it seem that the problem is :

--> (converter.fault.CloneFault) {
-->    faultCause = (vmodl.MethodFault) null, 
-->    description = "Permission denied (publickey,gssapi-with-mic).
--> /bin/tar_1.28: This does not look like a tar archive
--> /bin/tar_1.28: Exiting with failure status due to previous errors
--> 
--> /usr/lib/vmware-converter/bin/ssh -z -F /usr/lib/vmware-converter/ssh.conf root@172.16.0.225 -i /usr/lib/vmware-converter/helper.pem -p 55999 " tar --one-file-system --sparse -C '/boot' -cf - ." | /bin/tar_1.28 --numeric-owner --delay-directory-restore  -C '/mnt/p2v-src-root/boot' -y -xf -
-->  (return code 2)", 
-->    msg = ""
--> }

thanks in advance

Reply
0 Kudos
4 Replies
patanassov
VMware Employee
VMware Employee

Hi

It looks like the helper cannot authenticate to the source with the SSH key you use. Eventually it might authenticate but doesn't have enough permissions to copy the whole file system.

Either use another key or try password authentication.

HTH

Plamen

Reply
0 Kudos
robgiov
Contributor
Contributor

thanks for the reply,

setting the password authentication the conversion starts correctly, but arrived at 5% after about 30 minutes, it stops with the following error:

2016-09-26T11:58:25.927+02:00 error vmware-converter-server[03992] [Originator@6876 sub=Ufa.HTTPService] Failed to read request; stream: <io_obj p:0x03831ddc, h:-1, <pipe '\\.\pipe\vmware-converter-server-soap'>, <pipe '\\.\pipe\vmware-converter-server-soap'>>, error: class Vmacore::TimeoutException(Operation timed out)

2016-09-26T11:58:35.942+02:00 error vmware-converter-server[04420] [Originator@6876 sub=Ufa.HTTPService] Failed to read request; stream: <io_obj p:0x03844b7c, h:-1, <pipe '\\.\pipe\vmware-converter-server-soap'>, <pipe '\\.\pipe\vmware-converter-server-soap'>>, error: class Vmacore::TimeoutException(Operation timed out)

2016-09-26T15:09:27.307+02:00 error vmware-converter-server[00572] [Originator@6876 sub=Default] [task,350] [LRO] Unexpected Exception: vmodl.fault.RequestCanceled

2016-09-26T15:09:27.310+02:00 info vmware-converter-server[00572] [Originator@6876 sub=Default] [task,379] [task-15] -- ERROR -- Convert: vmodl.fault.RequestCanceled

--> (vmodl.fault.RequestCanceled) {

-->    faultCause = (vmodl.MethodFault) null,

-->    msg = ""

--> }

thanks in advance

Roberto

Reply
0 Kudos
patanassov
VMware Employee
VMware Employee

Hi Roberto,

This is a different issue. Let me explain the Linux P2V workflow in brief. After getting the source info, Converter server creates the destination VM, boots it from a helper ISO, gets its IP, exchanges thumbprints, and connects to it. This connection is attempted a number of times (for about 20min). This is what has failed

Connecting to Converter Helper on 172.16.0.71:443 over TCP/IP over SSL

2016-09-20T16:14:04.679+02:00 info vmware-converter-worker[07408] [Originator@6876 sub=task-10] Connecting to Converter Helper with retry, retryCount 600, interval 1, times left 600

2016-09-20T16:14:25.714+02:00 warning vmware-converter-worker[01396] [Originator@6876 sub=Default] Failed to connect socket; <io_obj p:0x0782dc58, h:1516, <TCP '0.0.0.0:0'>, <TCP '172.16.0.71:443'>>, e: system:10060(Impossibile stabilire la connessione. Risposta non corretta della parte connessa dopo l'intervallo di tempo oppure mancata risposta dall'host collegato)

2016-09-20T16:14:25.714+02:00 error vmware-converter-worker[01396] [Originator@6876 sub=HttpConnectionPool-000000] [ConnectComplete] Connect failed to <cs p:02545260, TCP:172.16.0.71:443>; cnx: (null), error: class Vmacore::SystemException(Impossibile stabilire la connessione. Risposta non corretta della parte connessa dopo l'intervallo di tempo oppure mancata risposta dall'host collegato)

You should check the network connectivity between where Converter server runs and the destination VM network. The server needs to access the helper at port 443.

HTH

Plamen

Reply
0 Kudos
robgiov
Contributor
Contributor

Hi, Plamen

I solved it by connecting directly (with a cross cable) the ESXi server and PC to convert.

The virtual machine has been created correctly and it starts.


Now I have another problem. The linux centos 5.5 final virtual machine created has 4 network cards, like the ESXi server.

I tried to configure the network by creating 4 virtual switches, each connected to a different network adapter (see attached image).

In the virtual machine, I assigned to 4 network cards (eth0 ... eth3) different IP addresses.

If I ping the IP address assigned to eth1 eth2 eth3 not linking them, I get an answer.

If I unlink vmnic0 I don't get an answer. It seems that the four eth0..eth3 network adapters in the virtual machine, refer to the physical network adapter vmnic0.



Reply
0 Kudos