"failed assignments" and "Licenses could not be assigned to the selected vCenter"."Licenses could not be assigned to the vCenter System. Please try again or check the error logs. If the issue persists contact support" /storage/log/vcops/log/adapters/ManagementAdapter/ManagementAdapter_*.log file reveals exceptions similar to the following:ERROR ManagementAdapter #### [ops@#### threadId="######" threadName="vcf-licensing-assign-##" instanceId="####"] [(####) com.vmware.adapter.management.components.licensing.vcf.EntitlementMutationManager.lambda$assignEntitlements$1] - Assignment failed for VC <License_Assignment_VC_UUID> at <License_Assignment_VC_FQDN_from_Ops>
java.util.concurrent.CompletionException: java.lang.NullPointerException
ERROR ManagementAdapter #### [ops@##### threadId="######" threadName="vcf-licensing-collection-#####" instanceId="####"] [(####) com.vmware.adapter.management.components.licensing.vcf.collector.VCenterLicenseUsageCollector.collect] - Connection failed for VC null at <Non_License_Assignment_VC_FQDN>
com.vmware.adapter.management.components.licensing.vcf.exceptions.VcConnectionException: Connection failed for VC null at <Non_License_Assignment_VC_FQDN>
Caused by: com.vmware.vim.vmomi.client.exception.ConnectionException: https://<Non_License_Assignment_VC_FQDN>/sdk invocation failed with "java.net.UnknownHostException: <Non_License_Assignment_VC_FQDN>: Name or service not known"VMware Cloud Foundation Operations 9.1
VMware vCenter Server 9.1
VVF 9.1
All VCs added in the Integrations tab are processed by the Management Adapter regardless of whether they are in the Collection or Stopped state. This is because management capabilities are separate from monitoring, which is reflected in the Status column on the Integration page. Each VC is processed to determine its license state, which is necessary to identify the appropriate license for VCF Ops itself, as it is licensed based on VC licenses
NOTE : In VCF 9.1 or VVF 9.1, a dedicated License Server appliance is a prerequisite for assigning core licenses to vCenter instances. If the environment was upgraded from VCF 9.0, this appliance may not be present or registered. In order to license the vCenter 9.1, VCF Ops should be on version 9.1 as well.
To resolve this issue, correct the underlying connection or collection issue for the disconnected vCenter:
Review the /storage/log/vcops/log/adapters/ManagementAdapter/ManagementAdapter_*.log to identify the specific secondary vCenter throwing the UnknownHostException or collection failure.Example: Caused by: com.vmware.vim.vmomi.client.exception.ConnectionException: https://<Non_License_Assignment_VC_FQDN>/sdk invocation failed with "java.net.UnknownHostException: <Non_License_Assignment_VC_FQDN>: Name or service not known"
Resolve the network connectivity, DNS, or collection issue for that specific vCenter.
Allow 5 to 10 minutes for a complete data collection cycle to run and succeed.
Retry the license assignment by following documentation for assigning a primary license to a vCenter instance.