Symptoms:
TOKEN=$(curl -d '{"username" : "[email protected]", "password" : "<PASSWORD>"}' -H "Content-Type: application/json" -X POST https://<SDDC-MANAGER-FQDN>/v1/tokens -k | jq -r '.accessToken')
curl -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" https://localhost/v1/licensing-info -k -i
This is a known issue that only affects VCF 4.5.0 environments and has been resolved from VCF 4.5.1 release onwards.
Workaround:
To workaround the issue, Reboot the SDDC Manager.
If the issue persists, attempt the following steps:
vi /opt/vmware/vcf/commonsvcs/conf/feature.properties
feature.vcf.plus.subscription=false <<<< set this value to false
feature.vcf.plus.subscription.vxrail=false <<<< set this value to false