VMware Cloud Community
Vmware122333
Contributor
Contributor

The provided manifest file is invalid: Invalid OVF checksum algorithm: SHA1 .

I am trying to export a VirtualBox to vCenter, but when I try I get The provided manifest file is invalid: Invalid OVF checksum algorithm: SHA1.

c:\Program Files\VMware\VMware OVF Tool>ovftool.exe c:\vms\test.ovf c:\vms\fix\test.ova

Opening OVF source: c:\vms\test.ovf

The manifest validates

Opening OVA target: c:\vms\fix\test.ova

Writing OVA package: c:\vms\fix\test.ova

Transfer Failed

Error: Failed to open disk: c:\vms\test-disk002.iso. Reason: The file specified is not a virtual disk

Warning:

- No supported manifest(sha1, sha256, sha512) entry found for: 'test-disk002.iso'.

- Wrong file size specified in OVF descriptor for 'test-disk001.vmdk' (specified: -1, actual 4004491264).

- Wrong file size specified in OVF descriptor for 'test-disk002.iso' (specified: -1, actual 59832320).

Completed with errors

Reply
0 Kudos
5 Replies
daphnissov
Immortal
Immortal

I mean, it told you right there:

Error: Failed to open disk: c:\vms\test-disk002.iso. Reason: The file specified is not a virtual disk

An ISO file isn't a disk and can't be added to an OVF package.

Vmware122333
Contributor
Contributor

ty Smiley Happy

Reply
0 Kudos
Vmware122333
Contributor
Contributor

Transfer Completed

Warning:

- Wrong file size specified in OVF descriptor for 'test-disk001.vmdk' (specified: -1, actual 4023125504).

Completed successfully

Reply
0 Kudos
Sukanyad
VMware Employee
VMware Employee

you can use OVFTool which is available on all OS at: https://www.vmware.com/support/developer/ovf/

Reply
0 Kudos
Indigo78
Contributor
Contributor

I've got the same error message while converting them to a vmdk file with a message like this:

Warning:
 - Wrong file size specified in OVF descriptor for 'onms-hzn-0.vmdk' (specified: -1, actual 3343607808).

 I was able to fix it by setting the size to the given value in my OVF file like here:

<References>
  <File ovf:href="onms-hzn-0.vmdk" ovf:id="file1" ovf:size="3343607808"/>
</References>
Reply
0 Kudos