VMware Cloud Community
VipalGujrathi
Contributor
Contributor

ovftool OVA deployment directly to ESXi failed

I am trying to deploy OVA directly on ESXi, but it is getting failed with error

completed with errors

Access denied

I am using root account of ESXi and this ESXi is managed / has distributed switch. I have vSphere 6.7 and ESXi 6.7, ovftool 4.3 32 bit.

Please let me know, what am i missing here

Reply
0 Kudos
5 Replies
LucD
Leadership
Leadership

There might be a few reasons.

For example, when you specify a target folder, is that a folder that exists on the ESXi node?

If it is a folder you defined in the vCenter, it will not exist on the ESXi node.

You could add verbose logging to the ovftool command (--X:logFile=ovftool-log.txt --X:logLevel=verbose).

Perhaps that would give more info on the error.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
VipalGujrathi
Contributor
Contributor

Thanks for the Reply

May i know where this logs gets stored? I checked in program location.  

Reply
0 Kudos
VipalGujrathi
Contributor
Contributor

I got new error now

Access to resource setting one the host is restricted to the server that is managing it : "vcenter IP"

i checked.. their is no separate folder under ESXi other than created by virtual center.  Any suggestions?

Reply
0 Kudos
LucD
Leadership
Leadership

In the directory from where you run the ovftool command.

So if your current directory is C:\Scripts, the logfile should be in that folder.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
LucD
Leadership
Leadership

That is probably due to the distributed switch.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos