Licenses could not be assigned to vCenter.ERROR CISLicense [vc@4413 threadName="http-nio-0.0.0.0-12080-exec-1"] Caught exception:
com.vmware.cis.license.entitlement.management.exception.LicenseServerManagementException: Failed to get Entitlements [...] from License Server [...] with URL [<wrong_FQDN>] with response [License Server connection error: java.net.SocketTimeoutException: Read timed out]
Failed to get Entitlements from License Server with URL [<wrong_FQDN>] with response [License Server connection error: java.net.SocketTimeoutException: Read timed out]
}],
data = UpdateErrorInfo (com.vmware.cis.license.subscription.entitlement.entitlements.update_error_info) => {
reason = LICENSE_SERVER_FAILURE
},
errorType = ERROR
}ERROR ManagementAdapter 6529 [ops@4413 threadId="65526" threadName="vcf-licensing-assign-19" instanceId="61"] [(61) com.vmware.adapter.management.components.licensing.vcf.EntitlementMutationManager.updateEntitlement]
- Task ########-####-####-####-############:com.vmware.cis.license.subscription.entitlement.entitlements failed to assigning entitlement ########-####-####-####-############, task details: Info (com.vmware.cis.task.info) => {
progress = Progress (com.vmware.cis.task.progress) => {
total = 100,
completed = 100,
message = LocalizableMessage (com.vmware.vapi.std.localizable_message) => {
id = unused.id,
defaultMessage = Task failed.,
args = [],
params = <null>,
localized = Task failed.
}
},
result = <null>,
description = LocalizableMessage (com.vmware.vapi.std.localizable_message) => {
id = unused.id,
defaultMessage = Entitlement task,
args = [],
params = <null>,
localized = Entitlement task
},
service = com.vmware.cis.license.subscription.entitlement.entitlements,
operation = update,
parent = <null>,
target = <null>,
status = FAILED,
cancelable = false,
error = Error (com.vmware.vapi.std.errors.error) => {
messages = [LocalizableMessage (com.vmware.vapi.std.localizable_message) => {
id = unused.id,
defaultMessage = Failed to get Entitlements [########-####-####-####-############] from License Server [########-####-####-####-############] with URL [<wrong_licenseserver_fqdn>] with response [License Server connection error: java.net.SocketTimeoutException: Read timed out],
args = [],
params = <null>,
localized = Failed to get Entitlements [########-####-####-####-############] from License Server [########-####-####-####-############] with URL [<wrong_licenseserver_fqdn>] with response [License Server connection error: java.net.SocketTimeoutException: Read timed out]
}],
data = com.vmware.cis.license.subscription.entitlement.entitlements.update_error_info => {reason=LICENSE_SERVER_FAILURE},
errorType = ERRORThis issue occurs because the license server was deployed with an incorrect domain name or FQDN during the initial installation. As a result, the vCenter attempts to reach the entitlement service using a malformed or unreachable URL, leading to a network timeout despite basic connectivity (nslookup) working correctly for the individual components.
Note: ICMP traffic is disabled in the current released version, but will be enabled in upcoming releases of the license server.
Unregister the misconfigured license server from the environment and redeploy it utilizing the Fully Qualified Domain Name (FQDN) of the license server.
nslookup <Target_License_Server_FQDN>
nslookup <Target_License_Server_IP>licenseserver.example.local) in the naming parameters rather than entering a standalone short hostname syntax.The issue can also be caused due to vCenter Instance UUID case mismatch between vCenter and VCF Operations and the same can be confirmed by reviewing the VCF Operations and vCenter logs. See kb: Licenses could not be assigned to vCenters, license assignment failure on VCF 9.1 due to vCenter UUID case mismatch