Error getting VMkernel NIC for portgroup <Portgroup Name> Error was:Unable to find vmknic for portgroup: <Portgroup Name> netstackInstance: defaultTcpipStack at config location /net/vmkernelnic/child
VMware vSphere ESXi
This happens if you previously attempted to add an VMkernel adapter with the same name as an existing one using "esxcli network ip interface add" command. In other words, this occurs after "esxcli network ip interface add" command fails with an "Already exists" error. The issue is believed to be due to an inadequate error handling in esxcli command.
Restart ESXi, and if the VMkernel adapter is missing, recreate the new one with the same settings.