You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
There are two issues I've found which prevent OVA files generated from being imported into VMware Workstation or processed with ovftool. I have reproduced this with RedHat 8.9 and RedHat's cloud service. If this needs to split into two issues or filed elsewhere, please let me know. I'm a developer without a RedHat subscription, hence filing the issue here.
The first involves the order of the ova archive. VMware Workstation and ovftool both insist that the ovf file be the first file within the archive.
The second has to do with how the vmdk is being generated, which causes checksum validation to fail.
The 2nd issue is that sha256sum for the vmdk does not pass with VMware Workstation or ovftool, even though the checksums match when performed manually:
To rectify this issue, I can remove the manifest when re-building the OVA with tar, however this is not ideal. This issue seems to shed light as to what is going on, in particularly the usage of stream optimized output - home-assistant/operating-system#2121 (comment)
The text was updated successfully, but these errors were encountered:
Describe the bug
There are two issues I've found which prevent OVA files generated from being imported into VMware Workstation or processed with ovftool. I have reproduced this with RedHat 8.9 and RedHat's cloud service. If this needs to split into two issues or filed elsewhere, please let me know. I'm a developer without a RedHat subscription, hence filing the issue here.
Environment
RedHat 8.9 (generated rhel8 image locally)
https://console.redhat.com/ (generated rhel9 image in cloud)
Windows Pro 22H2
To Reproduce
ovftool <image>.ova <image>
or
<image>.ova
in VMware WorkstationExpected behavior
For it to work :)
Additional context
Upon importing into VMware Workstation or processing with ovtool, both complain that with the following:
Performing the following, specifying the ovf file first, results in
composer.ova
that rectifies the first issue.The 2nd issue is that sha256sum for the vmdk does not pass with VMware Workstation or ovftool, even though the checksums match when performed manually:
$ cat image.mf SHA256(image.ovf)= 6da8f04757080733d31aba0ef670385c505e75963c0e72371b63603ec69dfb1b SHA256(image.vmdk)= 3f1c81e5fc5285501c3d90d72115b563ca0beaa35443799536d942f7df570156 $ sha256sum.exe image.vmdk 3f1c81e5fc5285501c3d90d72115b563ca0beaa35443799536d942f7df570156 *image.vmdk
To rectify this issue, I can remove the manifest when re-building the OVA with tar, however this is not ideal. This issue seems to shed light as to what is going on, in particularly the usage of stream optimized output - home-assistant/operating-system#2121 (comment)
The text was updated successfully, but these errors were encountered: