Something to remember, because in the end it looks so simple 😉

I tried to import a OVA from a unified access gateway (UAG). But it failed with these error message

In Powershell:
Import-VApp : 2/21/2022 2:35:37 PM Import-VApp An error occurred while sending the request.
At line:1 char:1
Import-VApp -Source $OVAPath -OvfConfiguration $OvaConfig -Name $VMNa …
CategoryInfo : NotSpecified: (:) [Import-VApp], ViError
FullyQualifiedErrorId : Client20_NfcLease_RunNfcTask_Error,VMware.VimAutomation.ViCore.Cmdlets.Commands.ImportVApp

In the vpxd log file of the vCenter I found messages like this:
– Unable to lookup ds for disk
– No datastore for disk -102 in config
– getaddrinfo failed; host: esxXX.domeiname.local, (Name or service not known)

In the first place I thought that the esx host or datastore had some sort of issues.

In the end it was the certificate of the host I tried to deploy on. And Yes, the certificate of my vCenter is valid.
So when you see this kind of error messages, check the certificate of your host or ignore it with some Powershell code :-).


Leave a Reply

Your email address will not be published. Required fields are marked *