VMware Cloud Community
teeraw
Contributor
Contributor

Import OVA by ovftool failed with "Error: Operation was canceled"

I try to import OVA by ovftool  with 14GB size, but it was failed with "Error: Operation was canceled".

 

./ovftool --noSSLVerify --diskMode=thin /vmfs/volumes/datastore1/OVF/my-linux.ova vi://localhost

Opening OVA source: /vmfs/volumes/datastore1/OVF/OpenKM-PorDev7.ova
Enter login information for target vi://127.0.0.1/
Username: root
Password: ********
Opening VI target: vi://root@127.0.0.1:443/
Error: Operation was canceled

Completed with errors

---

Environment:

  • ovftool 4.2.0 (build-5965791)
  • ESX: 6.7.0

---

This command has ever worked fine on my last 5-10 vmware images imported.

How can I resolve this issue? (I choose to do this way to import OVA, because large file than will import success by UI.)

 

Reply
0 Kudos
3 Replies
maksym007
Expert
Expert

Try to upload ova via esxi gui not via vCenter. Might be certificate issue

Reply
0 Kudos
teeraw
Contributor
Contributor

I try to upload via ESX GUI but said unknown error, so I switch to ovftool that's worked before.

But it's shown error as above.

Reply
0 Kudos
maksym007
Expert
Expert

I never did this - but try to upload also with WinSCP tool. 

 

Reply
0 Kudos