Removing Phantom Supervisor Licenses After TKG Migration in vCenter
book
Article ID: 382564
calendar_today
Updated On:
Products
VMware vCenter Server
Issue/Introduction
After migrating from TKGs to TKGm, vCenter may display "There are expired or expiring licenses in your inventory" warnings due to lingering evaluation licenses under "Supervisors" that cannot be removed through the standard licensing interface.
Environment
vSphere vCenter Server
Environment previously using TKGs (Tanzu Kubernetes Grid service) migrated to TKGm
Workload Management previously enabled
Cause
During TKG migration, license entries can remain in vCenter's LDAP structure even after service removal. These phantom entries persist in the LicenseService LDAP tree but are not removable through standard vCenter interfaces.
Resolution
To create a safe roll-back point in case of any mistakes
Find the ESXi host or vCenter Server managing the affected vCenter Server VM
Power off the affected vCenter Server VM
Create a snapshot of the vCenter Server VM
you can now power the vCenter Server VM back on again
Verify the phantom license entry:
Connect to vCenter via SSH
Run the following command:
/opt/likewise/bin/ldapsearch -h localhost "dc=vsphere,dc=local" -s sub -D "cn=Administrator,cn=Users,dc=vsphere,dc=local" -W "cn=AssetEntity_wcp-domain-*"