ova file "is invalid and cannot be deployed"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-images |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Trying to deploy a OVA file (20181015)
bionic-
on vmware via vsphere client results in an error:
The OVF package is invalid and cannot be deployed.
https:/
The simple fix is to use sha1 as the hashing algorithm.
$ cat ubuntu-
SHA256(
SHA256(
thats the original, the one that works looks like:
$ cat ubuntu-
SHA1(ubuntu-
SHA1(ubuntu-
Related branches
- Ubuntu Core Development Team: Pending requested
-
Diff: 33 lines (+6/-6)1 file modifiedlive-build/ubuntu-cpc/hooks/041-vmdk-ova-image.binary (+6/-6)
Changed in cloud-images: | |
status: | New → Confirmed |
Ugh.
Digging a little, I've found that in Version 2.0.0 (dated 2012-12-13) [1]:
OVF packages authored according to this version of the specification shall
use SHA256 digests; older OVF packages are allowed to use SHA1.
The 2.1.1 specification [2] dated 2015-08-27 has dropped the
'older OVF packages..' text. So it definitely seems like we should be
writing OVA files with the SHA256 digest.
For reference, the specific version of vSphere Client that I was using was:
vSphere Client
Version 6.0.0
Build 5112508
and
VmWare vCenter Server
Version 6.0.0
Build 2776510
-- /www.dmtf. org/sites/ default/ files/standards /documents/ DSP0243_ 2.1.1.pdf /www.dmtf. org/sites/ default/ files/standards /documents/ DSP0243_ 2.0.0.pdf
[1] https:/
[2] https:/