Export succeeds, import fails – false digest mismatch for the .vmdk

Discussions related to using VirtualBox on other (unsupported) hosts like FreeBSD.

Export succeeds, import fails – false digest mismatch for the .vmdk

Postby grahamperrin » 27. Mar 2021, 05:55

FreeBSD-CURRENT host.

I export an appliance, OVF 2.0, with a manifest, then (a sanity check) attempt to import the applicance.

Code: Select all   Expand viewCollapse view
Failed to import appliance /Volumes/t500/saved-state-issues.ova.

Digest mismatch (VERR_NOT_EQUAL): Attribute 'SHA256' on 'saved-state-issues-disk001.vmdk' does not match ('81676004d9c8fbadeecdf5e4654d440625171d802ceaca2ccd64370717a97848' vs. '02e772aaab27610ebffd9a19332158293e99f3456695b48d19330dccd9bc15be').

Result Code: VBOX_E_FILE_ERROR (0x80BB0004)
Component: ApplianceWrap
Interface: IAppliance {86a98347-7619-41aa-aece-b21ac5c1a7e6}


A 2018 comment about mismatches: viewtopic.php?f=1&t=79593&p=371706#p425048

In my case, the digest does match what's in the manifest:

Code: Select all   Expand viewCollapse view
% sha256 saved-state-issues-disk001.vmdk
SHA256 (saved-state-issues-disk001.vmdk) = 81676004d9c8fbadeecdf5e4654d440625171d802ceaca2ccd64370717a97848
% cat saved-state-issues.mf
SHA256 (saved-state-issues.ovf) = d385af396edeb1eaf7f660ba5b66bd07beae5b37b9e26f541ff068c5ec4c1304
SHA256 (saved-state-issues-disk001.vmdk) = 81676004d9c8fbadeecdf5e4654d440625171d802ceaca2ccd64370717a97848
%


Should I open a ticket in Trac?

Environment:

Code: Select all   Expand viewCollapse view
% pkg info -x virtualbox
virtualbox-ose-6.1.18
virtualbox-ose-kmod-6.1.18_1
% freebsd-version -kru
14.0-CURRENT
14.0-CURRENT
14.0-CURRENT
% uname -a
FreeBSD mowa219-gjp4-8570p 14.0-CURRENT FreeBSD 14.0-CURRENT #90 main-n245648-66f138563be: Thu Mar 25 08:00:54 GMT 2021     root@mowa219-gjp4-8570p:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG  amd64
%
grahamperrin
 
Posts: 55
Joined: 27. Apr 2008, 15:19

Return to VirtualBox on Other Hosts

Who is online

Users browsing this forum: No registered users and 6 guests