New thread from my post in http://communities.vmware.com/message/1341524#1341524.
I'm stuck with the issue of failed cloning of the /boot partition at 3%.
Source machine is a RHEL 3 box.
The DNS suffixes and servers are configured correctly in the converter task. I confirmed with tcpdump that the helper VM really does establish an SSH connection to the source machine. I also tried using only IP addresses in the task.
There is no firewall blocking communications between the converter server, the helper VM, source machine, vCenter or the ESX Host.
Note that I cloaked some specific information with stuff like or in those logs:
+All Users vmware-converter-server-2.log+
RecordOp ADD: event[35], task-1
HTTP Response: Complete (processed 6072 bytes)
Caught an exception while waiting on the agent task to complete. Gathering agent logs before propogating the exception further. Exception message: converter.fault.CloneFault
All Users vmware-converter-agent-3.log
Volume-based cloning --> updates, state: 1, percentage: 2, xfer rate (Bps): <unknown>
ConvertTask updates, state: 1, percentage: 3, xfer rate (Bps): <unknown>
HTTP Response: Complete (processed 1131 bytes)
updating on event (converter.event.UnixP2VVolumeCloningEvent) {
createdTime = "2009-08-19T13:14:32.617527Z",
RecordOp ADD: event[8], task-1
User agent is 'VMware-client/4.0.0'
HTTP Response: Client: NeedsContentLength: false UnderstandsChunking: true CanKeepAlive: true (PresetContentLength -1)
Converter Task GetEvent(taskID=task-1)
HTTP Response: Complete (processed 976 bytes)
User agent is 'VMware-client/4.0.0'
HTTP Response: Client: NeedsContentLength: false UnderstandsChunking: true CanKeepAlive: true (PresetContentLength -1)
updating on event (converter.event.UnixP2VVolumeCloneFailedEvent) {
createdTime = "2009-08-19T13:14:37.654289Z",
reason = (converter.fault.CloneFault) {
faultCause = (vmodl.MethodFault) null,
description = "'/usr/lib/vmware-converter/copyFileSystem.sh --sshClient /usr/lib/vmware-converter/ssh --user --host --port 22 --sourceMountPoint /boot --targetMountPoint /mnt/p2v-src-root/boot --sshConfigFile /usr/lib/vmware-converter/ssh.conf --sourceTarOption --sparse --useSudo' failed. Return code: 2; message:
/usr/lib/vmware-converter/ssh -z -F /usr/lib/vmware-converter/ssh.conf @[IP_ADDRESS] -p 22 "sudo tar --one-file-system --sparse -C /boot -cf - ." | tar --numeric-owner -C /mnt/p2v-src-root/boot -y -xf -
Warning: Permanently added '[IP_ADDRESS]' (RSA) to the list of known hosts.
tar: This does not look like a tar archive
tar: Error exit delayed from previous errors
RecordOp ADD: event[9], task-1
Converter Task GetEvent(taskID=task-1)
HTTP Response: Complete (processed 1853 bytes)
updating on taskInfo (converter.task.TaskInfo) {
task = 'converter.task.Task:task-1',
error = (converter.fault.CloneFault) {
faultCause = (vmodl.MethodFault) null,
description = "'/usr/lib/vmware-converter/copyFileSystem.sh --sshClient /usr/lib/vmware-converter/ssh --user --host --port 22 --sourceMountPoint /boot --targetMountPoint /mnt/p2v-src-root/boot --sshConfigFile /usr/lib/vmware-converter/ssh.conf --sourceTarOption --sparse --useSudo' failed. Return code: 2; message:
/usr/lib/vmware-converter/ssh -z -F /usr/lib/vmware-converter/ssh.conf @[IP_ADDRESS] -p 22 "sudo tar --one-file-system --sparse -C /boot -cf - ." | tar --numeric-owner -C /mnt/p2v-src-root/boot -y -xf -
Warning: Permanently added '[IP_ADDRESS]' (RSA) to the list of known hosts.
tar: This does not look like a tar archive
tar: Error exit delayed from previous errors
estimatedTimeRemaining = <unset>,
queueTime = "2009-08-19T13:12:35.448724Z",
startTime = "2009-08-19T13:12:35.448724Z",
completeTime = "2009-08-19T13:14:37.656567Z",
logBundleInfo = (converter.DiagnosticManager.TaskLogBundleInfo) null,
User agent is 'VMware-client/4.0.0'
HTTP Response: Client: NeedsContentLength: false UnderstandsChunking: true CanKeepAlive: true (PresetContentLength -1)
Volume-based cloning --> updates, state: 4, percentage: 2, xfer rate (Bps): <unknown>
converter-gui-5.log
"2009-08-19T13:12:37.700078Z",
userName = "[VC_USERNAME]",
fullMessage = "Partitioning the target disks.",
},
(converter.event.UnixP2VDiskFormattingEvent) {
dynamicType = <unset>,
key = 32,
chainId = 23,
type = "info",
createdTime = "2009-08-19T13:12:49.825234Z",
userName = "[VC_USERNAME]",
fullMessage = "Formatting the target partitions.",
},
(converter.event.UnixP2VVolumeCloningEvent) {
dynamicType = <unset>,
key = 33,
chainId = 23,
type = "info",
createdTime = "2009-08-19T13:14:34.826578Z",
userName = "[VC_USERNAME]",
fullMessage = "Starting to clone the volume mounted on '/boot' from '[IP_ADDRESS]'.",
hostName = "[IP_ADDRESS]",
sourceMountPoint = "/boot",
},
(converter.event.UnixP2VVolumeCloneFailedEvent) {
dynamicType = <unset>,
key = 34,
chainId = 23,
type = "error",
createdTime = "2009-08-19T13:14:39.748516Z",
userName = "[VC_USERNAME]",
fullMessage = "Failed to clone the volume mounted on '/boot' from '[IP_ADDRESS]'.",
hostName = "[IP_ADDRESS]",
sourceMountPoint = "/boot",
reason = (converter.fault.CloneFault) {
dynamicType = <unset>,
faultCause = (vmodl.MethodFault) null,
description = "'/usr/lib/vmware-converter/copyFileSystem.sh --sshClient /usr/lib/vmware-converter/ssh --user --host --port 22 --sourceMountPoint /boot --targetMountPoint /mnt/p2v-src-root/boot --sshConfigFile /usr/lib/vmware-converter/ssh.conf --sourceTarOption --sparse --useSudo' failed. Return code: 2; message:
/usr/lib/vmware-converter/ssh -z -F /usr/lib/vmware-converter/ssh.conf @[IP_ADDRESS] -p 22 "sudo tar --one-file-system --sparse -C /boot -cf - ." | tar --numeric-owner -C /mnt/p2v-src-root/boot -y -xf -
Warning: Permanently added '[IP_ADDRESS]' (RSA) to the list of known hosts.
xmalloc: zero size
tar: This does not look like a tar archive
tar: Error exit delayed from previous errors
",
msg = "An error occurred during the conversion.",
},
},
(converter.event.VmRemovedEvent) {
dynamicType = <unset>,
key = 35,
chainId = 23,
type = "info",
createdTime = "2009-08-19T13:15:04.092577Z",
userName = "[VC_USERNAME]",
fullMessage = "Removed the virtual machine '[VM_NAME]'.",
vmName = "[VM_NAME]",
As I see it, it boils down to this line:
tar: This does not look like a tar archive
tar: Error exit delayed from previous errors
Any help on this?
@vmweathers
What exact commands am I supposed to run from another Linux machine to imitate the helper VM? I not entirely sure on what I'm supposed to run from the logs.
The issue in http://communities.vmware.com/message/1228109#1228109 seems not to be related.
What kind of sshd configuration issue do you have in mind?