In VxRail environments, the relicensing of SDDC Manager resources fails due to this error:
"Unable to fetch asset with asset VMware vCenter Server Appliance"
VMware Cloud foundation 5.x
The asset name expected during the relicensing workflow is not the same as the one in the application.properties file
Workaround:
Follow the below workaround:
1. Take a snapshof ot the SDDC Manager
2. SSH into the SDDC Manager Appliance as the vcf user and elevate to the root user with su -.
3. Navigate to /etc/vmware/vcf/operationsmanager
4. Edit the application.properties file as follows:
Add the line:
relicensing.vxrail.management.vc.asset.name:<vCenter_Fqdn>
Replace vCenter_FQDN with the vCenter FQDN.
5. Restart the operationsmanagaer service:
systemctl restart operationsmanager