When I tried to use OVFTool 4.3 to import the OVA with an ISO attached that is on an HTTP server, it always failed with message:
Error: File (Ubuntu-file1.iso) could not be found.
This is my command:
ovftool \
--X:logFile=/tmp/ovftool_503.log --X:logLevel=verbose --datastore="datastore1" \
--noSSLVerify --acceptAllEulas --name="UbuntuWithCd" --diskMode=thin \
"http://192.168.1.1:8000/vm/Ubuntu_with_cd.ova" \
"vi://root:Compaq123@192.168.1.2"
Since the OVA is just a tar file, so I use `tar -tf` to check the file and it shows that the ISO file is ordered before the VMDK:
$ tar -tf Ubuntu_with_cd.ova
Ubuntu.ovf
Ubuntu.mf
Ubuntu-file1.iso
Ubuntu-disk1.vmdk
Also, based on the log, OVFTool seems to shows that it tries to download the VMDK first. So, I untar the original OVA and tar it again, with VMDK before ISO:
$ tar -tf Ubuntu_with_cd_vmdk_before_iso.ova
Ubuntu.ovf
Ubuntu.mfUbuntu-disk1.vmdk
Ubuntu-file1.iso
and then the import command succeeded. I think this is a bug?
JL55
It seems the fixed version is already out.
Below is the release note:-
Hi @JL55
We at VMware are aware of this issue and a fix has already been identified.
We will be releasing a fixed version soon.
Also, OVF works fine, so you can use OVF instead of OVA.
Thanks for reporting this.
JL55
It seems the fixed version is already out.
Below is the release note:-
ashishsingh1508
Thanks, I just tested with 4.3.0U1 and 4.3.0P1, both version can import the OVA without any issues.
Tnx