"License check: There are no assigned licenses found for this product" is seen in SDDC Manager and upgrade does not fix the issue./log/vmware/vcf/operationsmanager/operationsmanager.log
YYYY-MM-DDTHH:MM:SS ERROR [vcf_om,3f929f1ad5984d9e,1dcf] [c.v.v.l.s.u.ResourceLicensingPopulator,om-exec-3] License assignment not found for resource esxi01.example.local
YYYY-MM-DDTHH:MM:SS ERROR [vcf_om,3f929f1ad5984d9e,1dcf] [c.v.v.l.s.u.ResourceLicensingPopulator,om-exec-3] License assignment not found for resource esxi02.example.local
YYYY-MM-DDTHH:MM:SS ERROR [vcf_om,3f929f1ad5984d9e,1dcf] [c.v.v.l.s.u.ResourceLicensingPopulator,om-exec-3] License assignment not found for resource esxi03.example.local
YYYY-MM-DDTHH:MM:SS ERROR [vcf_om,3f929f1ad5984d9e,1dcf] [c.v.v.l.s.u.ResourceLicensingPopulator,om-exec-3] License assignment not found for resource esxi04.example.local
SDDC web page -> Inventory -> Hosts -> ALL HOSTS, the hosts are in lowercase:example.localexample.localexample.localexample.localMain menu -> Administration -> Licensing -> Licenses -> Assets -> Hosts, the hosts are in uppercase:example.localexample.localexample.localexample.localIn VCF, when checking the license status for a resource, the data is retrieved from vCenter using the resource name. During this process, VCF does not differentiate between uppercase and lowercase letters in the name. Consequently, if there is a case difference between the hostnames in VCF and those in vCenter, the license status for the hosts may not be fetched. It can in certain situations block the upgrade workflow.
This can be resolved by renaming the hostname in the SDDC inventory.
Prerequisites:
grep -i "License assignment not found for resource" /var/log/vmware/vcf/operationsmanager/operationsmanager.log | awk '{print $11}' | sort | uniq -c | less -iN1 6 esxi01.example.local2 3 esxi02.example.local3 5 esxi03.example.local4 5 esxi04.example.localResolution:
psql -U postgres -h localhost -d platformSELECT id, hostname from host;update host set hostname='esxi01.example.com' where id='514ccc29-2f8c-4737-8114-db82d0dd39be';\q to exit the postgres instanceFor the holistic health of the environment, lowercase is the recommended case for the environment. If you find that you have mixed case hostname / FQDN in your SDDC environment it is recommended that you take the following additional steps: