/var/log/vmware/vpxd/vpxd.log file, similar entries are observed:YYYY-MM-DDTHH:MM:SS.###Z error vpxd[#####] [Originator@1234 sub=vpxLro opID=###] [VpxLRO] Unexpected Exception: N3Vim5Fault14LicenseExpired9ExceptionE(Fault cause: vim.fault.LicenseExpired--> )--> [context]###[/context]YYYY-MM-DDTHH:MM:SS.851Z info vpxd[#####] [Originator@1234 sub=vpxLro opID=###] [VpxLRO] -- FINISH lro--###YYYY-MM-DDTHH:MM:SS.851Z error vpxd[#####] [Originator@1234 sub=Default opID=###] [VpxLRO] -- ERROR lro--###-- -- -- VmprovWorkflow: :vim.fault.LicenseExpired--> Result:--> (vim.fault.LicenseExpired) {--> faultCause = (vmodl.MethodFault) null,--> faultMessage = (vmodl.LocalizableMessage) [--> (vmodl.LocalizableMessage) {--> key = "com.vmware.vim.license.error.LicenseExpired",--> arg = (vmodl.KeyAnyValue) [--> (vmodl.KeyAnyValue) {--> key = "info",--> value = "expired"--> }--> ],--> message = "License Expired, Check system date or install a new license."--> }--> ],--> licenseKey = "#####-#####-#####-#####-#####"--> msg = "License key has expired."--> }--> Args:-->YYYY-MM-DDTHH:MM:SS.###Z warning vpxd[#####] [Originator@1234 sub=drsExec opID=###] Caught MethodFault Fault cause: vim.fault.LicenseExpired--> . Failing powerOn
/var/run/log/hostd.log file, similar entries are observed:YYYY-MM-DDTHH:MM:SS.674Z In(166) Hostd[#######]: [Originator@1234 sub=Vimsvc.TaskManager opID=### sid=### user=vpxuser] Task Completed : haTask--vim.dvs.HostDistributedVirtualSwitchManager.retrieveDVPortgroupConfigSpec-########## Status successYYYY-MM-DDTHH:MM:SS.673Z In(166) Hostd[#######]: [Originator@1234 sub=AdapterServer opID=CdrsLoadBalancer-### sid=### user=vpxuser:<no user>] AdapterServer caught exception; <<<UUID>, <TCP '127.0.0.1 : 8307'>, <TCP '127.0.0.1 : 36101'>>, ha-vmotionmgr, vim.host.VMotionManager.initiateDestination, <vim.version.v8_0_2_0, internal, 8.0.2.0>, [N11HostdCommon18VmomiAdapterServer19ActivationResponderE:0x##############]>, N3Vim5Fault14LicenseExpired9ExceptionE(Fault cause: vim.fault.LicenseExpiredYYYY-MM-DDTHH:MM:SSZ Db(##) Hostd[#######]: [Originator@1234 sub=Solo.Vmomi opID=CdrsLoadBalancer-### sid=###user=vpxuser:<no user>] Arg migrationId:YYYY-MM-DDTHH:MM:SSZ Db(##) Hostd[#######]: --> #################YYYY-MM-DDTHH:MM:SSZ Db(##) Hostd[#######]: --> "/vmfs/volumes/<Datastorename>/VM_name/VM_name.vmx"YYYY-MM-DDTHH:MM:SSZ In(##) Hostd[#######]: [Originator@1234 sub=Solo.Vmomi opID=CdrsLoadBalancer-### sid=### user=vpxuser:<no user>] Throw vim.fault.LicenseExpiredYYYY-MM-DDTHH:MM:SSZ In(##) Hostd[#######]: [Originator@1234 sub=Solo.Vmomi opID=CdrsLoadBalancer-### sid=### user=vpxuser:<no user>] Result:YYYY-MM-DDTHH:MM:SSZ In(##) Hostd[#######]: --> (vim.fault.LicenseExpired) {YYYY-MM-DDTHH:MM:SSZ In(##) Hostd[#######]: --> faultMessage = (vmodl.LocalizableMessage) [YYYY-MM-DDTHH:MM:SSZ In(##) Hostd[#######]: --> (vmodl.LocalizableMessage) {YYYY-MM-DDTHH:MM:SSZ In(##) Hostd[#######]: --> key = "com.vmware.vim.license.error.LicenseExpired",YYYY-MM-DDTHH:MM:SSZ In(##) Hostd[#######]: --> arg = (vmodl.KeyAnyValue) [YYYY-MM-DDTHH:MM:SSZ In(##) Hostd[#######]: --> (vmodl.KeyAnyValue) {YYYY-MM-DDTHH:MM:SSZ In(##) Hostd[#######]: --> key = "info",YYYY-MM-DDTHH:MM:SSZ In(##) Hostd[#######]: --> value = "expired"YYYY-MM-DDTHH:MM:SSZ In(##) Hostd[#######]: --> }YYYY-MM-DDTHH:MM:SSZ In(##) Hostd[#######]: --> ],YYYY-MM-DDTHH:MM:SSZ In(##) Hostd[#######]: --> }YYYY-MM-DDTHH:MM:SSZ In(##) Hostd[#######]: --> ],YYYY-MM-DDTHH:MM:SSZ In(##) Hostd[#######]: --> licenseKey = "#####-#####-#####-#####-#####",YYYY-MM-DDTHH:MM:SSZ In(##) Hostd[#######]: --> msg = ""YYYY-MM-DDTHH:MM:SSZ In(##) Hostd[#######]: --> }YYYY-MM-DDTHH:MM:SSZ Er(##) Hostd[#######]: [Originator@1234 sub=Vmsvc.vm:/vmfs/volumes/######-#####-####-########/VM_name/VM_name.vmx opID=CdrsLoadBalancer-### sid=### user=vpxuser:<no user>] CheckLicenses: ha-license-manager failed power check
The hostd service of the ESXi host does not have the correct information regarding the License assigned to the ESXi host.
This issue has been fixed in ESXi 8.0 U3h (build 25067014) Refer: VMware ESXi 8.0 Update 3h Release Notes
Method 1: Force a local host configuration refresh via SSH
touch /etc/vmware/license.cfgvim-cmd vimsvc/license --show/etc/init.d/hostd restartMethod 2: Force a vCenter database refresh via cluster movement If the issue impacts all hosts in a cluster simultaneously, the stale license bindings can be flushed by cycling the host's cluster membership.
In the vSphere Client, right-click the affected ESXi host and select Maintenance Mode > Enter Maintenance Mode.
Drag and drop the host out of the cluster (e.g., to the standalone Datacenter level or a temporary non-vSAN cluster). Wait for the relocation task to finish.
Drag and drop the ESXi host back into the original production cluster.
Right-click the host and select Maintenance Mode > Exit Maintenance Mode.
Power on a virtual machine to verify the license block is cleared. Repeat these steps for any other affected hosts in the cluster.