VMware Cloud Builder encounters an error during bringup while creating vMotion vmknics "Failed to create Vmotion vmnics under DVS"
search cancel

VMware Cloud Builder encounters an error during bringup while creating vMotion vmknics "Failed to create Vmotion vmnics under DVS"

book

Article ID: 385104

calendar_today

Updated On:

Products

VMware Cloud Foundation 5.x

Issue/Introduction

  • During Bringup of a VCF environment you encounter the error "Failed to create Vmotion vmnics under DVS"
  • It has been verified that a portgroup for vMotion is specified in the Deployment parameter workbook
  • The following error is observed on the Cloud Builder appliance in the file /var/log/vmware/vcf/bringup/vcf-bringup-debug.log:

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)

 

Environment

VMware Cloud Foundation 5.2.1
VMware Cloud Builder 5.2.1

Cause

This issue is caused by an expired license on the ESXi host.

Resolution

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.

Additional Information

For more information on assigning a license to an ESXi host, see: How to Configure License Settings for Your ESXi Host