VMware Cloud Community
caimeihua
Contributor
Contributor

ovftool export meet error: ChecksumMismatchException

@

Hi,

I tried to download vapp template by following command:

ovftool --X:skipContentLength --skipManifestCheck 'vcloud://mhcai:123456@135.2.200.140:443?org=pcmcas&vdc=PCMCAS-large&vappTemplate=mcasToolkitNew' /root/mhcai/vcloudtoolkitTemp.ova

but it finally failed with following error:

Opening vCloud source: vcloud://mhcai@135.2.200.140:443/

Waiting for task on server ...................................................................................................................................................................................................done

Error: Task failed (500:INTERNAL_SERVER_ERROR) : [ 6406dbee-1913-4193-81d5-6d1bc1c8d230 ] Unable to perform this action. Contact your cloud administrator.

Completed with errors

and in vcd log: it indicated:

com.vmware.vcloud.val.exceptions.ChecksumMismatchException: Checksum of the downloaded file (vm-c5d80d5e-f9f1-406e-9098-440f33437a55-disk-1.nvram) and the one in the manifest does not match.

        at com.vmware.vcloud.val.internal.impl.ExportVmToOvfActivity$InitiateExportPhase.downloadFileFromVc(ExportVmToOvfActivity.java:280)

        at com.vmware.vcloud.val.internal.impl.ExportVmToOvfActivity$InitiateExportPhase.downloadFilesFromLease(ExportVmToOvfActivity.java:236)

        at com.vmware.vcloud.val.internal.impl.ExportVmToOvfActivity$InitiateExportPhase.invoke(ExportVmToOvfActivity.java:179)

        at com.vmware.vcloud.activity.executors.ActivityRunner.runPhase(ActivityRunner.java:175)

        at com.vmware.vcloud.activity.executors.ActivityRunner.run(ActivityRunner.java:112)

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

        at java.util.concurrent.FutureTask.run(FutureTask.java:266)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

        at java.lang.Thread.run(Thread.java:748)

                                                     

Did someone has any suggestions?

Thanks

0 Kudos
2 Replies
Alex_Romeo
Leadership
Leadership

Hi,

VMware Knowledge Base

Alessandro Romeo

Blog: https://www.aleadmin.it/
0 Kudos
caimeihua
Contributor
Contributor

Remeo:

It seems it cannot resolve my issue.

I checked the DVD/VCD configuration, see the below picture,

ovf.png

There is a warning, It indicated that CD/DVD media is not usable.

I changed it to client device. and use ovftool export, it still reported same error.

one more hints maybe:

1) log indicated "disk 1" in log: com.vmware.vcloud.val.exceptions.ChecksumMismatchException: Checksum of the downloaded file (vm-c5d80d5e-f9f1-406e-9098-440f33437a55-disk-1.nvram) and the one in the manifest does not match.
2) but the intermediate transfer file name indicated: "disk-0":

[root@vCloudDirector:/opt/vmware/vcloud-director/data/transfer/3c6b0722-7643-43cd-8da5-9a132a0c3daf]# ls -rtlh

total 6.0G

-rw------- 1 vcloud vcloud 6.0G Aug 19 10:09 vm-c5d80d5e-f9f1-406e-9098-440f33437a55-disk-0.vmdk

Is there any mistake here?

thanks

Meihua

0 Kudos