VMware Cloud Community
m_d_sella
Enthusiast
Enthusiast

Unable to import a VM from a physical machine to ESX

I am currently running a VI3 environment with 7 hosts. I am currently trying to migrate one of our physical servers into VI3. The server in question is running Windows 2000 Server. Here is what I have seen far.

1) VMware Converter is running on a Windows XP workstation.

2) The agent installs successfully on the source server. (remote install)

3) Import/conversion to a "stand-alone" format works successfully

4) Import/conversion to ESX fails at 2% with the following displayed in the "Task Progress" pane:

01:23:25 PM Step 1 : Connecting to VMware Converter Agent on SERVERNAME

01:23:25 PM Step 2 : Creating target virtual machine and importing data

01:23:34 PM Configuring parameters for the target virtual machine...

01:23:38 PM WARNING: Dropping serial ports: Maximum number of 4 serial ports has been reached. Only 4 serial ports will be migrated.

01:23:38 PM Creating target virtual machine...

01:25:22 PM ERROR: Unknown error returned by VMware Converter Agent[/i]

After investigating the log file, the following error occurs just before failure:

Task failed: P2VError UNKNOWN_METHOD_FAULT(vmodl.fault.InvalidArgument)[/i]

If anyone has any ideas on what I may be missing, the help would be much appreciated.

Thanks,

Mike

0 Kudos
24 Replies
theanykey
Virtuoso
Virtuoso

>> and nothing indicated any kind of drive issues, and our switch isn't reporting a lot of dropped packets. It just fails for no apparent reason

>> Log for VMware Converter Client, pid=2512, version=3.0.1, build=build-44840, option=Release, section=1

Keep in mind that 99% of useful information is discovered in the agent logs (vmware-converter#.log) and not the client logs.

0 Kudos
m_d_sella
Enthusiast
Enthusiast

Here is the failing section of the agent log. It appears that the job fails about half way down in this log section starting with the "Number of target volumes does not match target storage layout" error. Prior to this the VM appeared to get created successfully, and is now trying to clone the disks.

\[??] \[2007-09-04 08:50:17.156 'App' 2632 info] \[stub,42] Opening file \[VMFS3_05] FFGMF1/FFGMF1.vmdk (ha-nfc://\[VMFS3_05] FFGMF1/FFGMF1.vmdk@sv0002.fic.ffg:902!52 e1 df a2 44 31 59 00-b5 70 be 9b 52 44 04 ec)

\[??] \[2007-09-04 08:50:17.406 'App' 2632 info] \[stub,42] DISKLIB-LINK : Opened 'ha-nfc://\[VMFS3_05] FFGMF1/FFGMF1.vmdk@sv0002.fic.ffg:902!52 e1 df a2 44 31 59 00-b5 70 be 9b 52 44 04 ec' (0xa): custom, 71057544 sectors / 34697 Mb.

\[??] \[2007-09-04 08:50:17.406 'App' 2632 info] \[stub,42] DISKLIB-LIB : Opened "ha-nfc://\[VMFS3_05] FFGMF1/FFGMF1.vmdk@sv0002.fic.ffg:902!52 e1 df a2 44 31 59 00-b5 70 be 9b 52 44 04 ec" (flags 0xa). 03663BC0

\[#4] \[2007-09-04 08:50:17.421 'App' 4036 verbose] \[disposable,69] Registering disposable session object id=computer=\{67681c683557ece4d0797deb26e576dacc288e97}

\[#4] \[2007-09-04 08:50:17.421 'App' 4036 verbose] \[disposable,80] Associating disposable session object id=computer=\{67681c683557ece4d0797deb26e576dacc288e97} with session id=0F16BDFF-FF49-43F4-ABC0-48CA03A36114

\[#4] \[2007-09-04 08:50:17.421 'App' 2656 info] \[cloneTask,332] Getting disks...

\[#4] \[2007-09-04 08:50:17.421 'App' 4384 verbose] \[diskSet,330] GetDisks: disk=\{639a4bb3a0223b58c227200dd67b9b4a96fdf18d}

\[#4] \[2007-09-04 08:50:17.421 'App' 2656 verbose] \[cloneTask,344] Disk 0 id=disk=\{639a4bb3a0223b58c227200dd67b9b4a96fdf18d}

\[#4] \[2007-09-04 08:50:17.437 'App' 2656 info] \[volumeBasedCloneTask,366] Partitioning disk disk=\{639a4bb3a0223b58c227200dd67b9b4a96fdf18d}

\[??] \[2007-09-04 08:50:17.437 'App' 2632 info] \[stub,42] No geometry.biosSectors defined,

\[??] \[2007-09-04 08:50:17.437 'App' 2632 info] \[stub,42] No geometry.biosHeads defined,

\[??] \[2007-09-04 08:50:17.437 'App' 2632 info] \[stub,42] No geometry.biosCylinders defined,

\[??] \[2007-09-04 08:50:17.437 'App' 2632 info] \[stub,42] No geometry.biosSectors defined,

\[??] \[2007-09-04 08:50:17.437 'App' 2632 info] \[stub,42] No geometry.biosHeads defined,

\[#4] \[2007-09-04 08:50:17.593 'App' 2656 info] \[cloneTask,362] Getting volumes for computer id=computer=\{67681c683557ece4d0797deb26e576dacc288e97}

\[??] \[2007-09-04 08:50:17.734 'App' 2632 info] \[stub,42] No geometry.biosSectors defined,

\[??] \[2007-09-04 08:50:17.734 'App' 2632 info] \[stub,42] No geometry.biosHeads defined,

\[??] \[2007-09-04 08:50:17.734 'App' 2632 info] \[stub,42] No geometry.biosSectors defined,

\[??] \[2007-09-04 08:50:17.734 'App' 2632 info] \[stub,42] No geometry.biosHeads defined,

\[??] \[2007-09-04 08:50:17.734 'App' 2632 info] \[stub,42] No geometry.biosCylinders defined,

\[#4] \[2007-09-04 08:50:17.734 'App' 2656 verbose] \[cloneTask,374] Volume 0 id=virtVol=\{computer=,0} \[#4] \[2007-09-04 08:50:17.734 'App' 2656 info] \[imageProcessingTaskStep,156] CloneTask::task\{11} step "clone volumes" created \[#4] \[2007-09-04 08:50:17.734 'App' 2656 error] \[volumeBasedCloneTask,160] Number of target volumes does not match target storage layout \[#4] \[2007-09-04 08:50:17.734 'App' 2656 info] \[imageProcessingTaskStep,194] CloneTask::task\{11} step "clone volumes" destroyed \[#4] \[2007-09-04 08:50:17.734 'App' 4384 verbose] \[disposable,122] object explicitly disposed: computer=\

\[#4] \[2007-09-04 08:50:17.734 'App' 4384 verbose] \[diskSet,119] Cleaning up computer's child objects

\[#4] \[2007-09-04 08:50:17.734 'App' 4384 verbose] \[diskSet,135] Unregistring volume id=virtVol=\{computer=,0}

\[#4] \[2007-09-04 08:50:17.734 'App' 4384 verbose] \[diskSet,145] Unregistring disk id=disk=\{639a4bb3a0223b58c227200dd67b9b4a96fdf18d}

\[#4] \[2007-09-04 08:50:17.734 'App' 2656 error] \[cloneTask,228] Cloning failed!

\[#4] \[2007-09-04 08:50:17.734 'App' 2656 error] \[imageProcessingTaskImpl,552] CloneTask::task\{11}: Image processing task has failed with MethodFault::Exception: vmodl.fault.InvalidArgument

\[#4] \[2007-09-04 08:50:17.734 'App' 2656 verbose] \[imageProcessingTaskImpl,154] CloneTask::task\{11}: SetState to error

\[#4] \[2007-09-04 08:50:17.734 'App' 2656 verbose] \[imageProcessingTaskWrapper,886] Remote task CloneTask::task\{11} completed

\[#4] \[2007-09-04 08:50:17.734 'App' 4632 verbose] \[imageProcessingTaskWrapper,437] Waiting for updates from CloneTask::task\{11}

\[2007-09-04 08:50:17.734 'App' 4384 verbose] \[imageProcessingTaskWrapper,749] Got an update from CloneTask::task\{11}

\[#4] \[2007-09-04 08:50:17.734 'App' 4632 verbose] \[imageProcessingTaskWrapper,515] Cleaning up remote task CloneTask::task\{11}

\[#4] \[2007-09-04 08:50:17.734 'App' 4632 verbose] \[imageProcessingTaskWrapper,1201] Disposing task wrapper for task CloneTask::task\{11}

\[#4] \[2007-09-04 08:50:17.750 'App' 2656 verbose] \[disposable,122] object explicitly disposed: CloneTask::task\{11}

\[#4] \[2007-09-04 08:50:17.750 'App' 2656 verbose] \[imageProcessingTaskImpl,123] CloneTask::task\{11} being destroyed

\[#4] \[2007-09-04 08:50:17.750 'App' 4632 error] \[imageProcessingTaskStep,423] VmiImportTask::task\{10} step "clone to VM" failed

\[#4] \[2007-09-04 08:50:17.750 'App' 4632 verbose] \[imageProcessingTaskWrapper,1117] Reporting image processing task failure for task CloneTask::task\{11}

\[#4] \[2007-09-04 08:50:17.750 'App' 4632 error] \[imageProcessingTaskWrapper,1124] ImageProcessingTask FAILED. Fault name: vmodl.fault.InvalidArgument

\[#4] \[2007-09-04 08:50:17.750 'App' 4632 info] \[imageProcessingTaskStep,194] VmiImportTask::task\{10} step "clone to VM" destroyed

\[#4] \[2007-09-04 08:50:17.750 'App' 4632 error] \[vmiImportTask,354] Cloning failed: vmodl.fault.InvalidArgument

\[#4] \[2007-09-04 08:50:17.750 'App' 4632 info] \[vmiImportTask,571] Removing destination VM

\[#4] \[2007-09-04 08:50:17.750 'App' 4632 info] \[vmiImportTask,579] Successfully connected to UfaManagedVMCreator

0 Kudos
theanykey
Virtuoso
Virtuoso

>> Number of target volumes does not match target storage layout

This is an error generated when there is a diagnostic partition. Are you sure you are using converter 3.0.1? If so, make certain you are unselecting the diagnostic/utility (small 30-50mb) partition.

0 Kudos
michaeltsa
Contributor
Contributor

m_d_sella,

I can importing around 10 Windows 2003 servers sucessfully; but not the Windows 2000 Citrix server I wanted; the Citrix servers haven't got remapped drives as default.

0 Kudos
brian_stokes
Contributor
Contributor

Have you tried using root to login and perform the conversion? Worked a lot better for me....

0 Kudos