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 Converter Standalone Linux P2V fails to clone /boot or Converter Standalone Linux P2V fails to clone /boot in those logs:
+All Users vmware-converter-server-2.log+
Converter Standalone Linux P2V fails to clone /boot RecordOp ADD: event[35], task-1
2009-08-19 15:15:04.186 04968 verbose 'Ufa.HTTPService' HTTP Response: Complete (processed 6072 bytes)
Converter Standalone Linux P2V fails to clone /bootConverter Standalone Linux P2V fails to clone /bootConverter Standalone Linux P2V fails to clone /boot 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
#8Converter Standalone Linux P2V fails to clone /boot Volume-based cloning Converter Standalone Linux P2V fails to clone /boot --> Converter Standalone Linux P2V fails to clone /boot updates, state: 1, percentage: 2, xfer rate (Bps): <unknown>
#8Converter Standalone Linux P2V fails to clone /boot ConvertTask updates, state: 1, percentage: 3, xfer rate (Bps): <unknown>
#8Converter Standalone Linux P2V fails to clone /boot RecordOp ASSIGN: info, task-1
2009-08-19 15:14:34.685 04800 verbose 'Ufa.HTTPService' HTTP Response: Complete (processed 1131 bytes)
#8Converter Standalone Linux P2V fails to clone /boot updating on event (converter.event.UnixP2VVolumeCloningEvent) {
#8 dynamicType = <unset>,
#8 key = 2,
#8 chainId = 1,
#8 type = "info",
#8 createdTime = "2009-08-19T13:14:32.617527Z",
#8 userName = "",
#8 fullMessage = <unset>,
#8 hostName = "[IP_ADDRESS]",
#8 sourceMountPoint = "/boot",
#8 }
#8Converter Standalone Linux P2V fails to clone /boot RecordOp ADD: event[8], task-1
2009-08-19 15:14:34.732 04800 verbose 'Ufa.HTTPService' User agent is 'VMware-client/4.0.0'
2009-08-19 15:14:34.732 04800 verbose 'Ufa.HTTPService' HTTP Response: Client: NeedsContentLength: false UnderstandsChunking: true CanKeepAlive: true (PresetContentLength -1)
#8Converter Standalone Linux P2V fails to clone /boot Converter Task GetEvent(taskID=task-1)
2009-08-19 15:14:34.732 04800 verbose 'Ufa.HTTPService' HTTP Response: Complete (processed 976 bytes)
2009-08-19 15:14:34.732 04800 verbose 'Ufa.HTTPService' User agent is 'VMware-client/4.0.0'
2009-08-19 15:14:34.732 04800 verbose 'Ufa.HTTPService' HTTP Response: Client: NeedsContentLength: false UnderstandsChunking: true CanKeepAlive: true (PresetContentLength -1)
#8Converter Standalone Linux P2V fails to clone /boot updating on event (converter.event.UnixP2VVolumeCloneFailedEvent) {
#8 dynamicType = <unset>,
#8 key = 3,
#8 chainId = 1,
#8 type = "error",
#8 createdTime = "2009-08-19T13:14:37.654289Z",
#8 userName = "",
#8 fullMessage = <unset>,
#8 hostName = "[IP_ADDRESS]",
#8 sourceMountPoint = "/boot",
#8 reason = (converter.fault.CloneFault) {
#8 dynamicType = <unset>,
#8 faultCause = (vmodl.MethodFault) null,
#8 description = "'/usr/lib/vmware-converter/copyFileSystem.sh --sshClient /usr/lib/vmware-converter/ssh --user Converter Standalone Linux P2V fails to clone /boot --host Converter Standalone Linux P2V fails to clone /boot --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:
#8 /usr/lib/vmware-converter/ssh -z -F /usr/lib/vmware-converter/ssh.conf Converter Standalone Linux P2V fails to clone /boot@[IP_ADDRESS] -p 22 "sudo tar --one-file-system --sparse -C /boot -cf - ." | tar --numeric-owner -C /mnt/p2v-src-root/boot -y -xf -
#8 Warning: Permanently added '[IP_ADDRESS]' (RSA) to the list of known hosts.
#8 xmalloc: zero size
#8 tar: This does not look like a tar archive
#8 tar: Error exit delayed from previous errors
#8 ",
#8 msg = "",
#8 },
#8 }
#8Converter Standalone Linux P2V fails to clone /boot RecordOp ADD: event[9], task-1
#8Converter Standalone Linux P2V fails to clone /boot Converter Task GetEvent(taskID=task-1)
2009-08-19 15:14:39.717 01808 verbose 'Ufa.HTTPService' HTTP Response: Complete (processed 1853 bytes)
#8Converter Standalone Linux P2V fails to clone /boot updating on taskInfo (converter.task.TaskInfo) {
#8 dynamicType = <unset>,
#8 key = "task-1",
#8 task = 'converter.task.Task:task-1',
#8 name = <unset>,
#8 descriptionId = "",
#8 userName = <unset>,
#8 source = <unset>,
#8 target = <unset>,
#8 state = "error",
#8 cancelled = false,
#8 cancelable = true,
#8 data = <unset>,
#8 error = (converter.fault.CloneFault) {
#8 dynamicType = <unset>,
#8 faultCause = (vmodl.MethodFault) null,
#8 description = "'/usr/lib/vmware-converter/copyFileSystem.sh --sshClient /usr/lib/vmware-converter/ssh --user Converter Standalone Linux P2V fails to clone /boot --host Converter Standalone Linux P2V fails to clone /boot --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:
#8 /usr/lib/vmware-converter/ssh -z -F /usr/lib/vmware-converter/ssh.conf Converter Standalone Linux P2V fails to clone /boot@[IP_ADDRESS] -p 22 "sudo tar --one-file-system --sparse -C /boot -cf - ." | tar --numeric-owner -C /mnt/p2v-src-root/boot -y -xf -
#8 Warning: Permanently added '[IP_ADDRESS]' (RSA) to the list of known hosts.
#8 xmalloc: zero size
#8 tar: This does not look like a tar archive
#8 tar: Error exit delayed from previous errors
#8 ",
#8 msg = "",
#8 },
#8 result = <unset>,
#8 progress = 2,
#8 estimatedTimeRemaining = <unset>,
#8 transferRate = <unset>,
#8 queueTime = "2009-08-19T13:12:35.448724Z",
#8 startTime = "2009-08-19T13:12:35.448724Z",
#8 completeTime = "2009-08-19T13:14:37.656567Z",
#8 eventChainId = 1,
#8 vcTask = <unset>,
#8 logBundleInfo = (converter.DiagnosticManager.TaskLogBundleInfo) null,
#8 }
2009-08-19 15:14:39.748 06088 verbose 'Ufa.HTTPService' User agent is 'VMware-client/4.0.0'
2009-08-19 15:14:39.748 06088 verbose 'Ufa.HTTPService' HTTP Response: Client: NeedsContentLength: false UnderstandsChunking: true CanKeepAlive: true (PresetContentLength -1)
#8Converter Standalone Linux P2V fails to clone /boot Volume-based cloning Converter Standalone Linux P2V fails to clone /boot --> Converter Standalone Linux P2V fails to clone /boot 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 Converter Standalone Linux P2V fails to clone /boot --host Converter Standalone Linux P2V fails to clone /boot --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 Converter Standalone Linux P2V fails to clone /boot@[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?