DEBUG [c.v.e.s.c.c.v.vsphere.VcManagerBase,pool-2-thread-17] Assigning netstack instance key as vmotion
DEBUG [c.v.e.s.c.c.v.vsphere.VcManagerBase,pool-2-thread-17] Assigning default gateway x.x.x.x for nicType vmotion
INFO [c.v.e.s.c.c.v.vsphere.VcManagerBase,pool-2-thread-17] Creating vmotion vmknic on DvSwitch UUID with IP address x.x.x.x
ERROR [c.v.e.s.c.c.v.vsphere.VcManagerBase,pool-2-thread-17] Failed to create the nic -- retrying
com.vmware.vim.binding.vim.fault.LicenseExpired: License key has expired.
at jdk.internal.reflect.GeneratedConstructorAccessor587.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
VMware Cloud Foundation 5.2.1
VMware Cloud Builder 5.2.1
This issue is caused by an expired license on the ESXi host.
1.) Log in to the vCenter vSphere client.
2.) Click Menu > Administration.
3.) Expand Licensing and click Licenses.
4.) Locate the ESXi hosts in the licensing inventory and verify that none of them are assigned expired licenses.
In the event that an ESXi host has an expired license and it needs to be replaced, you can manually add the key from within vCenter and assign it to the hosts, then retry the task from Cloud Builder.
For more information on assigning a license to an ESXi host, see: How to Configure License Settings for Your ESXi Host